import sys sys.setrecursionlimit(12345)