#34997: python 一行解


1554101-0@g.puiching.edu.mo (CCC)


print(f"{(float(input()) - 32) * 5 / 9:.3f}")