the mauin function in python can be written as :


if __name__ == '__main__': 

    n = int(input().strip())