#include <iostream> //designed by hu 2025-10 using namespace std; int main(){ float c; float f; cin>>c; f = c*9.0/5 + 32; cout<<f; return 0; }