#include<stdio.h> int main() { double c; double f; scanf("%lf",&f); c =(double)5/9*(f-32); printf("%.2f",c); return 0; }