N = int(input()) tot = 0 if N % 2 == 0: for i in range(1, N, 2): tot += i else: for i in range(1, N + 1, 2): tot += i