import sys def fun(x): x=float(x) return int(x)+1 if x%1>=0.5 else int(x) if __name__ == "__main__": x=float(input("")) number=fun(x) print(number)