f = float(input()) #input()输入的是字符串,注意此处float()函数的应用; if (f - int(f)) >= 0.5: print(int(f)+1) else: print(int(f))