#include<bits/stdc++.h> using namespace std; int main() { double a; cin>>a; cout<<fixed<<setprecision(5)<<5*(a-32)/9; return 0; }