from decimal import Decimal

def main():
    a = input()
    b = Decimal(a).quantize(Decimal("1"), rounding="ROUND_HALF_UP")
    print(b)


main()