0 = not cute / 1 = cute
Time limit1sMemory limit2 MB
Count the 0 and 1 votes and print whether Junhee is cute based on the majority.
- Level
Easy1 of 10
- Topics
- Implementation, Array
- Solved
- No attempts yet
Problem
Junhee thinks he is the one in charge of being cute on the team. To Yeonsu that claim looks wrong, so she runs a poll among the team members to settle whether Junhee is cute.
Each person who answers picks one of two options: Junhee is cute, or Junhee is not cute. The side with more answers is the result.
Input
The first line contains , the number of people who answered the poll. (, is odd)
Each of the next lines contains one integer, the answer of one person. 0 means that person said Junhee is not cute, and 1 means that person said Junhee is cute.
Output
If more answers say cute, print Junhee is cute!. If more answers say not cute, print Junhee is not cute!.
Hint
is odd, so the two counts are never equal.