n = int(input())

b = n * 1024 * 1024

zhengshu = b // 4

print(zhengshu)