from decimal import Decimal, getcontext
getcontext().rounding = 'ROUND_HALF_UP'
x = Decimal(input())
print(f"{x:.0f}")