#include<bits/stdc++.h> using namespace std; int main() { int m,n; cin>>m; n=5*(m-32)/9; cout<<"C="<<n; return 0; }