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