import math 
n=int(input())
result=n*1024*1024/4
print(int(result))					# python中的除法是自动取浮点数的