Infinity Gauntlet

题意翻译

# 题目大意 你偷看了Thanos的无尽手套,手套上有6颗无限宝石: - the **Power** Gem of **purple** color, 紫色的力量宝石 - the **Time** Gem of **green** color, 绿色的时间宝石 - the **Space** Gem of **blue** color, 蓝色的空间宝石 - the **Soul** Gem of **orange** color, 橙色的灵魂宝石 - the **Reality** Gem of **red** color, 红色的现实宝石 - the **Mind** Gem of **yellow** color. 黄色的心灵宝石 现在给出你偷看到的宝石的**颜色**,请你确定缺少了哪些宝石(**名称**) # 输入输出格式 ## 输入格式 第一行一个整数 $n(0≤n≤6)$ ,表示你看到的宝石数量 下面 $n$ 行,每行一个字符串,表示你看到宝石的颜色,所有字符串都是小写的。 ## 输出格式 第一行一个整数 $m(0≤m≤6)$ ,表示缺少的宝石的个数 下面 $m$ 行,每行一个宝石的**名字**,顺序随意,**名字首字母要记得大写,其他小写**。 感谢@二元长天笑 提供的翻译

题目描述

You took a peek on Thanos wearing Infinity Gauntlet. In the Gauntlet there is a place for six Infinity Gems: - the Power Gem of purple color, - the Time Gem of green color, - the Space Gem of blue color, - the Soul Gem of orange color, - the Reality Gem of red color, - the Mind Gem of yellow color. Using colors of Gems you saw in the Gauntlet determine the names of absent Gems.

输入输出格式

输入格式


In the first line of input there is one integer $ n $ ( $ 0 \le n \le 6 $ ) — the number of Gems in Infinity Gauntlet. In next $ n $ lines there are colors of Gems you saw. Words used for colors are: purple, green, blue, orange, red, yellow. It is guaranteed that all the colors are distinct. All colors are given in lowercase English letters.

输出格式


In the first line output one integer $ m $ ( $ 0 \le m \le 6 $ ) — the number of absent Gems. Then in $ m $ lines print the names of absent Gems, each on its own line. Words used for names are: Power, Time, Space, Soul, Reality, Mind. Names can be printed in any order. Keep the first letter uppercase, others lowercase.

输入输出样例

输入样例 #1

4
red
purple
yellow
orange

输出样例 #1

2
Space
Time

输入样例 #2

0

输出样例 #2

6
Time
Space
Power
Reality
Mind
Soul

说明

In the first sample Thanos already has Reality, Power, Mind and Soul Gems, so he needs two more: Time and Space. In the second sample Thanos doesn't have any Gems, so he needs all six.