#include<bits/stdc++.h> using namespace std; int main() { int n; cin>>n; cout<<fixed<<setprecition(9)<<5.0*(n-32)/9; return 0; }