#include <iostream> #include <cstdio> #include <cstring> using namespace std; int main() { double a; cin >> a; printf("%.5lf", 5 * (a - 32) / 9); return 0; }