#include <cstdio> #include <iostream> using namespace std; int main() { double f,c; cin>>f; c=5*(f-32)/5; printf("%.2f\n",c); return 0; }