import sys from kserver import query input = open(sys.argv[2], 'r') output = open(sys.argv[1], 'w') n = int(input.readline()) print(query(n),file=output)