Run ID:77477
提交时间:2024-06-09 15:56:47
n=int(input()) ji=0 ou=0 for i in range(1,n+1): if i%2==0: ou+=i else: ji+=i print(ji,ou)