f =float(input())

if f-int(f) >= 0.5:
    print(int(f)+1)
else:
    print(int(f))

ps:

int()如果内部是float型,会截取整数部分,舍弃小数部分;如果内部是str型,则该字符串必须是数字串且不能有小数