#include<stdio.h> using namespace std; int main(){ float F,C; scanf("%f",&F); C=5*(F-32)/9; printf("%0.5lf",C); }