Celsius to Fahrenheit
Convert a Celsius temperature to Fahrenheit with integer math.
Input format
A single line with a non-negative integer C, a temperature in Celsius.
Output format
Print the temperature in Fahrenheit using integer arithmetic: C * 9 / 5 + 32 (the division drops any fraction).
Constraints
- Values fit in a 64-bit signed integer
- Trailing whitespace and a trailing newline are ignored by the judge
Read from stdin, write to stdout. Sample cases below show the exact format.
Sample cases
Example 1
Input
0Expected output
32Example 2
Input
100Expected output
212