#include<bits/stdc++.h> using namespace std; int main(){ double a; cin>>a; cout<<"C="<<fixed<<setprecision(2)<<5*(a-32)/9<<endl; return 0; }