Hack
Now
EN
Login
Register
HackNow
Muvozanat indekslari | HackNow
Go back
Reading Mode
Problem
Submissions
Muvozanat indekslari
lock
UZ only
O'rta
20 points
1 s
256 MB
Input format
Output format
Constraints
Examples
2
1
Example #1
Input
7 -7 1 5 2 -4 3 0
Output
4 7
2
Example #2
Input
3 1 2 3
Output
-1
Solution editor
Python 3
Clear
Language
PYTHON
UTF-8
Tab
4 spaces
Ctrl
+
Enter
Submit
Submit