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: ['c', 'J', 'r', '115', 'u', 'Y', '6851', '9799']

SOLUTION: 115, 6851, 9799

PROBLEM: ['z', '4351', 'e', '8005', '9707', 'n', 'n', 'L', 'H', 'U', '8053', '2731', 'B', '27', 'U', '1399', '5027', 'F', '9577', 'v', 'M', 'Y', '2335', 'A', '7983', 'Z', '3969', 'A', '4715']

SOLUTION:
4351, 8005, 9707, 8053, 2731, 27, 1399, 5027, 9577, 2335, 7983, 3969, 4715