# 20240910
f = float(input())
if f - int(f) >= 0.5:
    print(int(f)+1)
else:
    print(int(f))