#给定一个n,计算1-n之间偶数数字的和(不包括n) n=int(input()) sum1=0 i=0
while i<n: if i%2==0:#取模取余 sum1+=i i+=1
print(sum1)