016. Gravity Vehicle Testing
time limit per test
1 second
memory limit per test
256 megabytes
input
standard input
output
standard output

While testing your gravity vehicle for Science Olympiad, you have decided to test the vehicle both on Earth, and on Mars. You want to know the gravitational constant of the planet that you are currently testing the vehicle on. You are given that the gravitational constant on Earth is 9.807 m/s^2 and the gravitational constant on Mars is 3.711 m/s^2.

Input

The only line of input contains a single string s: either "EARTH" or "MARS", which indicates the planet that you are currently testing the gravity vehicle on.

Output

Output a single decimal number: the gravitational constant of the planet that you are testing the vehicle on.

Examples
Input
EARTH
Output
9.807
Input
MARS
Output
3.711