import sys

n = int(input())
total_memory = n * 1024 * 1024

print(total_memory//4)