import math L = int(input()) c = (L-1)//4 ans = (L-1) * c print(ans)