# 读取输入
n = float(input())

# 输出保留三位小数的小数,四舍五入
print(f"{n:.3f}")