A long integer is written just like an ordinary integer but with an L at the end. print 1000000000000000000L print 123123123123123123123L * 123123123123123123123L + 23