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