URI Online Judge | 1796 | [PJ]

Brazilian Economy

By Carlos Andrade, UFMS BR Brazil

Timelimit: 2

Lately Brazilian economy has become the subject of all the newspapers. Brazilian people have different opinions about the current economic scenario. Your task is to take a look at a survey and find out if the majority of Brazilians are ok or not ok with the current economic scenario.

Input

The first line contains an integer Q (4 ≤ Q ≤ 233000) representing how many citizens joined this survey. The second line contains Q integers Vi (0 ≤ Vi ≤ 1, 1 ≤ iQ) representing the opinion of the i-th Brazilian citizen surveyed about the current economic scenario. Where "0" represents the ones who answered that are ok with the current economic scenario and "1" the ones who are not ok.

Output

Your program should print "Y" if the majority answered that are ok with the economic scenario. Otherwise print "N".

Input Sample Output Sample

5

1 1 1 1 1

N

4

1 1 0 0

N