#include<iostream> using namespace std; /** * OJ-1304 温度转换 */ int main(){ double f,c; cin>>f; c=(f-32)*(5.0/9.0); printf("%.4lf",c); return 0; }