#include <iostream> #include <stdio.h> using namespace std; int main() { float f; cin>>f; printf("%.2f",(f-32)*5.0/9); return 0; }