#include<bits/stdc++> using namespace std; int main() { int n; cin>>n; cout<<fixed<<setprecision(2)<<5*(n-32)/9.0; }