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