呜呜呜
eps=1e-6
temp=input()
if temp[-1] in ['F','f']:
c=(float(temp[0:-1])-32)/1.8
if abs(c-round(c))<eps:
print("%dc"%round(c))
else:
print("%.2fc"%c)
elif temp[-1] in "Cc":
f=1.8*eval(temp[0:-1])+32
if abs(f-round(f))<eps:
print("%dF"%round (f))
else:
print("%.2fF"%f)
10-27
9万+
09-05