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