#include<iostream> using namespace std; int main() { int a; double b; cin>>a; b=5*(a-32)/9; cout<<fixed<<setprecision(2)<<b<<endl; return 0; }