Canadian Computing Competition: 2011 Stage 1, Junior #1
Canada Cosmos Control has received a report of another incident. They believe that an alien has illegally entered our space. A person who witnessed the appearance of the alien has come forward to describe the alien's appearance. It is your role within the CCC to determine which alien has arrived. There are only 3 alien species that we are aware of, described below:
- TroyMartian, who has at least 3 antennae and at most 4 eyes;
- VladSaturnian, who has at most 6 antennae and at least 2 eyes;
- GraemeMercurian, who has at most 2 antennae and at most 3 eyes.
The user will be prompted to enter two numbers. First, the user will be prompted to enter the number of antennae that the witness claimed to have seen on the alien. Second, the user will be prompted to enter the number of eyes seen on the alien.
The output will be the list of aliens who match the possible description given by the witness. If no aliens match the description, there is no output.
Sample Input 1
Output for Sample Input 1
Sample Input 2
Output for Sample Input 2
Sample Input 3