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: ['2931', '7973', 'z', '4759', 'S', '7525', '2107', '7237']

SOLUTION: 2931, 7973, 4759, 7525, 2107, 7237

PROBLEM: ['l', '5181', 'J', 'X', '579', '2213', '4103']

SOLUTION: 5181, 579, 2213, 4103

PROBLEM: ['R', 'G', 'g', '3031', '2747', 'C', 'W', '6921', '5601', '5677', '6387', '5171', 'P', '6013', 'a', '8429', 'z', '6641', 'B', 'Q', 'O', 'L', '2267', 'F']

SOLUTION:
3031, 2747, 6921, 5601, 5677, 6387, 5171, 6013, 8429, 6641, 2267