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

#677. Every 2th element

Starting from the first element, print every 2th element. ### Input The first line has n, the second line has n integers separated by spaces. ### Output One line.

Examples

Input
5
50 6 55 44 3
Output
50 55 3
Input
7
6 13 8 63 75 12 75
Output
6 8 75 75

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