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