n=int(input());print(((n-1)//2*n+1)//2)
8
12
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!