Woburn Challenge 2017-18 Round 4 - Junior Division

The Infinity Stones… A set of six ancient gems with unrivaled power, scattered across the galaxy. Possessing all six would surely grant one the power to rule over all life with no opposition. Which is exactly what Thanos intends to do!
The six Infinity Stones are referred to by the following names in alphabetical order:
Mind Power Reality Soul Space Time
Thanos is already in possession of
Thanos intends to wage a war against the Avengers and anyone else
foolish enough to try to stop him, while finishing his search for the
remaining Infinity Stones. Determine the names of the
Subtasks
In test cases worth
Input Specification
The first line of input consists of a single integer,
Output Specification
Output
Sample Input
1
Soul
Sample Output
Mind
Power
Reality
Space
Time
Sample Explanation
Thanos already has the Soul Stone, so he still needs the other five.
Comments