#include <iostream> #include <bits/stdc++.h> using namespace std; int main() { double k,c,f; cin >> k; c = 1.0*k - 273.15; f = c * 1.8 + 32.0; printf("%.5f",f); } // 64 位输出请用 printf("%lld")