14737 - Temperature Conversions II   

Description

Write a program that converts a given temperature from Fahrenheit to Celsius.

The conversion formula is:

  • $C = (F - 32) \div 1.8$

Where:

  • $F$ is the input Fahrenheit temperature.
  • $C$ is the resulting Celsius temperature.

You should convert the result into an integer using int().

Input

A single integer $F$ representing the temperature in Fahrenheit.

Constraints

  • $-100 \leq F \leq 100$

Output

A single integer $C$ representing the equivalent Celsius temperature.

Sample Input  Download

Sample Output  Download

Tags




Discuss