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.
InputThe 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.
OutputOutput a single decimal number: the gravitational constant of the planet that you are testing the vehicle on.
ExamplesInputEARTHOutput
9.807Input
MARSOutput
3.711