import sys import math for line in sys.stdin: a = int(line.split()[0]) print(f"{a * 1024 ** 2 / 4 :.0f}")