#include<iostream> #include<cstdio> using namespace std; int main() { int F,C; cin>>F; C=5*(F-32)/9; cout<<fixed<<("%.2C",C); return 0; }