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