#include<iostream> // cin\cout\endl using namespace std; int main() {float c; float f; cin>>c; f = c * 9 / 5 + 32; cout << f; return 0; }