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