def main(): n = int(input()) l = 3 ans = 1 while l < n: ans += l l += 2 print(ans) if __name__ == '__main__': main()