import sys def input(): return sys.stdin.readline().rstrip() def main(): L = int(input()) print(((L-1)//2)**2) if __name__ == '__main__': main()