val = float(input())
ans = int(val + 0.5)
print(ans)