number = float(input())
number,cemal = divmod(number,1)
if cemal<0.5:
    print(int(number))
else:
    print(int(number)+1)