Run ID:112443

提交时间:2025-03-09 14:27:50

n=int(input()) a=0 b=0 for x in range(1,n+1): if x%2==1: a=a+x else: b=b+x print(a,b)