#include<bits/stdc++.h> using namespace std; int main() { double x; cin >>x; double f= x * 9 / 5 + 32; cout <<f; return 0; }