Question
Quiz Champion Decider
As the judge of an intense science quiz, Neha was in charge of overseeing a contest between two teams over N rounds. In each round, one of the two teams secured a win. The team that won the most rounds would be declared the quiz champion. Now, Neha needs to determine which team came out on top. Can you help her find the winning team?
Input
The first line of the input contains a single integer N - the number of rounds.
The next N lines of the input contain exactly one string each - the name of the winner of the ith round.
Constraints:
1 ≤ N ≤ 105
It is guaranteed that there would not be a tie at the end of all rounds.
The next N lines of the input contain exactly one string each - the name of the winner of the ith round.
Constraints:
1 ≤ N ≤ 105
It is guaranteed that there would not be a tie at the end of all rounds.
Output
Print the name of the winning team.
Example
Sample Input
4
ABC
AA
ABC
ABC
Sample Output
ABC
4
ABC
AA
ABC
ABC
Sample Output
ABC