14974 - Temperature Madness   

Description

Dr. Fajardo has invented a new unit for measuring temperature. To prevent any confusion between Celsius and Kelvin, he decides to invent a metric called Timble. He believes that all countries should adopt this unit and plans to propose it at the next UN conference.

 

Timble is calculated is as follows:

Given a temperature Celsius:

  • Convert it to kelvin.
  • Discard the decimal part of the resulting Kelvin temperature.
  • Append the letter ‘A’ to the resulting integer.

 

Below is an example of the how Timble is calculated:

  1. Temperature in Celsius = 23

  2. Temperature in Kelvin = 23 + 273.15 = 296.15

  3. Discard the decimal part = 296

  4. Append A = 296A

  5. Therefore, the temperature in Timble is 296A

 

Before presenting his proposal to the UN, he wants to write a program to automatically convert a temperature from Celsius to Timble.

Please help Dr. Fajardo!

Input

A float C, representing the temperature in degrees Celsius, where:

-100 ≤ C ≤ 100

Output

The corresponding temperature in Timble

Sample Input  Download

Sample Output  Download




Discuss