Run ID:104540
提交时间:2025-01-05 12:17:43
N = int(input()) o = 0 e = 0 for i in range(1, N + 1): if i % 2 != 0: o += i else: e += i print(o, e)