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

#699. Elements in [5, 50]

Print the elements with 5 ≤ x ≤ 50 in their original order. If there are none, print `None`. ### Input The first line has n, the second line has n integers separated by spaces. ### Output One line.

Examples

Input
7
-8 56 3 -13 -17 -15 45
Output
45
Input
9
60 -5 -12 39 -7 -1 23 -21 -17
Output
39 23

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