#ABC089B. Hina Arare
Hina Arare
题目描述
In Japan, people make offerings called hina arare, colorful crackers, on March .
We have a bag that contains hina arare. (From here, we call them arare.)
It is known that the bag either contains arare in three colors: pink, white and green, or contains arare in four colors: pink, white, green and yellow.
We have taken out the arare in the bag one by one, and the color of the -th arare was , where colors are represented as follows - pink: P
, white: W
, green: G
, yellow: Y
.
If the number of colors of the arare in the bag was three, print Three
; if the number of colors was four, print Four
.
在日本,人们会在三月 这一天制作名为
hina arare
的祭品,即五颜六色的饼干。我们有一个袋子,里面装着 个
hina arare
(后面我们都称之为阿拉蕾)。众所周知,袋子里的阿拉蕾要么有三种颜色:粉色、白色和绿色,要么有四种颜色:粉色、白色、绿色和黄色。
我们将袋子里的阿拉蕾逐一取出, 第 个阿拉蕾的颜色是 ,其中颜色的表示方法如下--粉色:
P
,白色:W
,绿色:G
,黄色:Y
.如果袋子里的阿拉蕾的颜色数是三种,则打印
Three
;如果颜色数是四种,则打印Four
。
输入格式
输入内容按以下格式标准输入:
输出格式
如果袋子中的阿拉蕾颜色数为 3,则打印 Three
;如果颜色数为 4,则打印 Four
。
样例 #1
样例输入 #1
6
G W Y P Y W
样例输出 #1
Four
样例 #2
样例输入 #2
9
G W W G P W P G G
样例输出 #2
Three
样例 #3
样例输入 #3
8
P Y W G Y W Y Y
样例输出 #3
Four
说明
数据规模与约定
- 是
P
、W
、G
或Y
。 - 总是存在 、 和 使得
P
、W
和G
。
样例 解释
袋子里有四种颜色的稀有金属,因此应打印 "四"。
样例 解释
袋子里有三种颜色的稀有金属,所以应该打印 "三"。