#include<bits/stdc++.h> using namespace std; #define int long long #define endl '\n' void solve(){ double f,c; cin>>f; c= 5.0/9.0*(f-32);//因为整数除以整数还是整数,而5/9的整数是0,所以0乘以后面还是0,因此要小数,就不是0了。 cout<<fixed<<setprecision(3)<<c<<endl; } signed main(){ std::ios::sync_with_stdio(false); cin.tie(0); cout.tie(0); solve(); return 0; }