#include<iostream> using namespace std; int main() { float c,f; scanf("f&",&f); cin>>c>>f; cout<<c=5*(f-32)/9<<endl; }