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