def round_number(x):
    return int(x + 0.5)

# 从键盘输入
x = float(input())
result = round_number(x)
print(result)