# -*- coding: utf-8 -*-
"""
Created on Fri Jun 18 14:13:04 2021

@author: Sim
"""

F = input('화씨온도: ')
C = (float(F)-32)*5/9 
print(C)