Problem A
Elo
Languages
en
is

Players in League of Legends play against just anyone, they
can only play against others with a similar Elo score. Arnar
has made a list of
Arnar can play against the same player as often as he likes as long as his Elo stays in the corresponding interval.
Given the information on these
Input
The first line contains two integers
Output
Print a single integer, the highest Elo Arnar can achieve.
Scoring
Group |
Points |
Constraints |
1 |
50 |
|
2 |
50 |
No further constraints |
Sample Input 1 | Sample Output 1 |
---|---|
3 10 10 15 3 10 13 2 10 11 1 |
18 |
Sample Input 2 | Sample Output 2 |
---|---|
4 10 10 11 5 15 16 5 20 21 30 49 49 100 |
50 |