Python long integer input

input, python, python-2.7

Solution

n = int(raw_input())

This will convert the input to an integer. Since Python employs arbitrary precision arithmetic, we don't have to worry about how big the number is.

>>> n = int(raw_input())
100000000000000
>>> n
100000000000000L

Problem

How can one take a "long int" input in Python 2.7? P.S. I tried various variations of `n=(*(raw_input()))` but to no avail.

Original source