#B4062. Temperature Conversion

    ID: 11719 Type: Default 1000ms 256MiB

Temperature Conversion

Temperature Conversion

Given a temperature in Kelvin, compute the corresponding Celsius and Fahrenheit temperatures. The conversion formulas are provided as follows:

\(C = K - 273.15\)

\(F = C \times 1.8 + 32\)

You need to calculate and output the Celsius and Fahrenheit values for a given Kelvin input.

inputFormat

A single floating point number representing the temperature in Kelvin.

outputFormat

Print the Celsius and Fahrenheit temperatures separated by a space. Both values should be formatted to two decimal places.

sample

273.15
0.00 32.00