#include<iostream> using namespace std; int main() { double C; cin >> C; printf("%.2lf\n",(C-32)*(5.0/9)); return 0; }