#include<stdio.h> int main() { float c,f; while(scanf("%f",&f)!=EOF) { c=(f-32)*5.0/9; printf("%.3f\n",c); } return 0; }