Run ID:96080

提交时间:2024-11-03 08:38:54

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