Problem b: CCC15J2 Happy or Sad

Problem b: CCC15J2 Happy or Sad

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 100  Solved: 39
[Submit] [Status] [Web Board] [Creator:]

Description

10points
English:
We often include emoticons in our text messages to indicate how we are feeling. 
The three consecutive characters :-) indicate a happy face and the three consecutive 
characters :-( indicate a sad face. Write a program to determine the overall mood of a message. 


Chinese:

我们经常在短信中包含表情符号,以表明我们的感受。三个连续的字符 :-) 表示笑脸,三个连续的字符 :-( 表示悲伤。

Input

There will be one line of input that contains between 1 and 255 characters.



输入的内容可以为1到255个字符。


Output

The output is determined by the following rules: 
• If the input line does not contain any happy or sad emoticons, output none
• Otherwise, if the input line contains an equal number of happy and sad emoticons, output unsure
• Otherwise, if the input line contains more happy than sad emoticons, output happy
• Otherwise, if the input line contains more sad than happy emoticons, output sad.


输出由以下规则确定:

•如果输入行不包含任何高兴或悲伤的表情,输出none。

•否则,如果输入行包含相等数量的:-)和:-(表情符号,输出unsure。

•否则,如果输入行包含:-) 的数量 > :-( 的数量,则输出happy。
•否则,如果输入行包含:-) 的数量 < :-( 的数量,则输出sad。

Sample Input Copy

How are you :-) doing :-( today :-)?

Sample Output Copy

happy