# 백준 #30030 (스위트콘 가격 구하기) # B - 10% ==> A user_input = int(input()) result = (user_input // 11) * 10 print(result)