| CodeRams Practice Problem Archive |
|---|
| Finished |
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.
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 a single decimal number: the gravitational constant of the planet that you are testing the vehicle on.
EARTH
9.807
MARS
3.711
| Name |
|---|


