Graderpractice for programmers

Back to 254275 OOP - Labs 1-5 Review

B. Planet names

Problem

Write a program that takes a planet name and outputs information about that planet. The program should accept input in any case (e.g. “Mars” == “mars” == “MARS”).

Examples

Input

Mars

Output

Mars is the 4th planet from the Sun.

Input

venus

Output

Venus is the 2nd planet from the Sun.

Submit your solution

java