public class D051{ public static void main(String[] args){ java.util.Scanner sc = new java.util.Scanner(System.in); System.out.printf("%.3f",calcu(sc.nextInt())); }
public static double calcu(int a){ return (double)(a - 32) * 5 / 9; }}