import sys sys.setrecursionlimit(1000000000) # # Solution Template for Addition # # This file is provided to assist with reading and writing of the input # files for the problem. You may modify this file however you wish, or # you may choose not to use this file at all. # # Open the input and output files. input_file = open("addin.txt", "r") output_file = open("addout.txt", "w") a = None b = None # Read the values of a and b from the input file. input_line = input_file.readline().strip() a, b = map(int, input_line.split()) # TODO: This is where you should add the numbers. Store the sum into the # variable answer. answer = None # Write the answer to the output file. output_file.write("%d\n" % (answer)) # Finally, close the input/output files. input_file.close() output_file.close()