#include <iostream> #include <cstdio> using namespace std; int main(){ float c,F; scanf("%f",&F); c=(F-32)*5/9; printf("%.4f",c); return 0; }