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