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