#include<iostream> #include<cmath> using namespace std; int main(){ double c,f; cin>>f; c=(f-32)*5/9; printf("%.4lf",c); return 0; }