#round函数会四舍五入的把0吞掉
#a = input()
#b = round(float(a),3)
#print(b)

a = input()
print(format(float(a), '.3f'))