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

#676. The k-th element

You are given a list and k. Print the k-th element (counting from 1). ### Input The first line has n, the second line has n integers separated by spaces. The third line has k (1 ≤ k ≤ n). ### Output A number.

Examples

Input
8
92 14 91 42 76 22 97 80
3
Output
91
Input
10
49 31 34 95 52 14 60 40 32 74
6
Output
14

💡 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!