Integer values are constrained by the number of bits they have to store numbers.
Your computer's int is a 32-bit type, which, subtracting one bit for the sign of the number, lets your integers have a maximum value of 2**31-1, or 2,147,483,647, which is less than 16,000,000,000.
You can try a long long int, which should give you a 63-bit (+1 bit for the sign) value.