# https://open.kattis.com/problems/romans
# 1s
# 1.6 Easy

# 43 chars: Top 10 is 24..38 chars
print(round(float(input())*1000*5280/4854))
