Run ID:95180

提交时间:2024-10-27 09:39:28

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