#54324: Python


fengme0110@gmail.com (鼠標)


r = float(input())
R = r * 9 / 5 + 32

# 輸出 6 個有效數字(等同 C 的 %g)
print(format(R, '.6g'))