Reading in integer from stdin in Python,n = int(input())