test_deta = open("1.txt", "r") lines = test_deta.readlines() first_split = lines[0].split() A = int(first_split[0]) B = int(first_split[1]) S = lines[1] print(A + B, S) test_deta.close