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: ['8297', 'l', '2633', '1875', '3507', '1957', 'D', '4771', 'r']

SOLUTION: 8297, 2633, 1875, 3507, 1957, 4771

PROBLEM: ['r', '83', 'T', '8395', 'J', '7165', '4533', 'd', '399', 'J']

SOLUTION: 83, 8395, 7165, 4533, 399

PROBLEM: ['j', 'E', '2611', 'I', '727', '7405', '3161', '4215', '3347', 'C', '3469', 'a', '9785', '2799', '4181', '8205', '2017', 'Y', '4651', '7297', 'k']

SOLUTION:
2611, 727, 7405, 3161, 4215, 3347, 3469, 9785, 2799, 4181, 8205, 2017, 4651, 7297