Run ID:95186
提交时间:2024-10-27 09:42:49
n=int(input()) s=1 for x in range(2,n+1): if x%2==0: s=s+x else: s=s-x print(s)