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: ['I', 'z', 'N', '4089', 'n', '3169', '1791', 'L', 'z', 'j', '1815', '305', 'o', 'q', 'P', 'Q', '27', '5079', '8537']

SOLUTION: 4089, 3169, 1791, 1815, 305, 27, 5079, 8537

PROBLEM: ['7873', '3399', '5747', '5137', 'a', '1687', 'p', 'L', 'w', '1567', 'P', '8647', '641', '5145', '6261', 'P', '9833', '169', '495', '4641', 't', '1765', 'u', 'i']

SOLUTION: 7873, 3399, 5747, 5137, 1687, 1567, 8647, 641, 5145, 6261, 9833, 169, 495, 4641, 1765

PROBLEM: ['C', '9603', '7511', 'X', 'o', 'Z', '8947']

SOLUTION:
9603, 7511, 8947