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: ['O', 'S', '5315', 'B', '4855', '6681', 'W', '2009', '4121', '7703', 'E', '7271', '1583', 'Y', '4073', 'N', '3179', '4415', '429', 'g', 'U', 'V', '7971']

SOLUTION: 5315, 4855, 6681, 2009, 4121, 7703, 7271, 1583, 4073, 3179, 4415, 429, 7971

PROBLEM: ['2419', '3415']

SOLUTION: 2419, 3415

PROBLEM: ['9371', '9453', '1489', 'K', 'I', 'd', 'c', '5761', '4273', 'F', 'x', 'B', 'n', '4937', 'X', '3041', 'X', '7065', '4303', 'X', '5807', '3405', 's', 'g', 'Y']

SOLUTION:
9371, 9453, 1489, 5761, 4273, 4937, 3041, 7065, 4303, 5807, 3405