Comparison of Numbers
Vasya has a younger brother named Petya who is in first grade, and a sister named Tanya who is in kindergarten. Tanya has just started learning about numbers and asked Petya to play a numbers game with her. Petya, who has learned a bit about computers from Vasya, requested Vasya to create a special program for their number game.
Vasya decided to take on the challenge and wrote a program to compare non-negative numbers in numeral systems beyond just the decimal system.
Input
The first line contains a single positive integer — the base of the numeral system, which does not exceed 16.
The second line contains the first number to be compared, with a maximum length of 50 characters.
The third line contains the second number to be compared, also with a maximum length of 50 characters.
In numeral systems with a base greater than 10, digits beyond 9 are represented by uppercase Latin letters from A(10) to F(15). The numbers are correctly formatted, with no leading zeros (i.e., a zero value is represented by a single character "0").
Output
The output should be the larger of the two numbers provided, displayed in the same numeral system as given.