#include <iostream> using namespace std; int main() { double r; while ( cin >> r ) { cout << r * 9 / 5 + 32 << endl; } }