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