Problem Statement
This problem is worth 1 token.
Input Format
Your first line will contain
Sample Cases
Input 1
Copy
5
3 4 5 1 2
Output 1
Copy
1 5
Input 2
Copy
10
4 2 10 4 9 32 69 2 3 4
Output 2
Copy
2 69
This problem is worth 1 token.
Your first line will contain
5
3 4 5 1 2
1 5
10
4 2 10 4 9 32 69 2 3 4
2 69
Comments