407045: GYM102697 016 Gravity Vehicle Testing

Memory Limit:256 MB Time Limit:1 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

016. Gravity Vehicle Testingtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard 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.

ExamplesInput
EARTH
Output
9.807
Input
MARS
Output
3.711

加入题单

上一题 下一题 算法标签: