N = input() print(max((i+1)*(N-i)+i for i in range(1, N+1)))