CodeLab Academy 📞 9936 6696
← List Python · Level 7: Lists Code · 70 points ← #622 #624 →

#623. Position of the largest element

Find the position (starting from 1) of the largest element. If there are several, give the first one. ### Input The first line has n, the second line has n integers separated by spaces. ### Output A number.

Examples

Input
7
7 -17 -3 -10 11 13 18
Output
7
Input
8
11 0 -18 -15 -9 2 12 2
Output
7

💡 You can solve it with Python, JavaScript or blocks. Read the input line by line with input(). Don't print a question (like input("Number: ")). Print exactly what the output asks for, nothing more.

🔒 You can solve the first 3 problems without an account. Sign up for free to solve this one!