import java.text.DecimalFormat;
import java.util.Scanner;
public class ACM_1005 {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int F = scan.nextInt();
float c = (float) 5 * (F - 32) / 9;
System.out.println(String.format("c=%.2f", c));
}
}



