x1 = eval(input()) x2 = float(x1) x3 = int(x1) #x4为小数部分 x4 = x2 - x3 if x4 >= 0.5: print(x3+1) else: print(x3)