TASK DEFINITION: In this task, you are given an input list A. You need to find all the elements of the list that are numbers in the same order as they appear in the list A.
PROBLEM: ['Z', 'Y', 'E', '9791', 'L', '3205', 'E', '5259', 's']

SOLUTION: 9791, 3205, 5259

PROBLEM: ['2733', 't', '4125', 'O', '9071', 'a', 'r', '9529', 'a', '6561', '8927', '5315', '651', 'S', '4529', '9843', 'd']

SOLUTION: 2733, 4125, 9071, 9529, 6561, 8927, 5315, 651, 4529, 9843

PROBLEM: ['3661', 'L', '8523']

SOLUTION:
3661, 8523