Remove One Element

medium
https://www.codechef.com/START10B/problems/REMONE

Input Format

Check Link

Output Format

Check Link

Constraints

Check Link

Example

Input
3
4
1 4 3 8
15 8 11
2
4 8
10
2
2 4
3
Output
7
2
1
Previous
Chef And Closure
Next
Pythagorean Triples

Related Questions