s=float(input())
if s-int(s)>=0.5:
    s1=1+int(s)
    print(s1)
else:
    print(int(s))