#include <iostream> #include <cstdio> using namespace std; int main() { int f,c; cin>>f; c=5*(f-32)/9; cout.precision(2); cout<<c; }