n = int(input()) p = n - 1 p = p//2 print((p + 1)*(p + 2)//2)