Majority Element#940

Majority Element

1 second
128 megabytes
Very easy

Given an array of size , find its majority element. The majority element is the element that appears more than times.

If there is no such element, output .

Input

The first line contains the integer (1 \leq n \leq 100).

The second line contains positive integers.

Output

If a majority element exists in the array, output it. Otherwise, output .

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading