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: ['6167', 'q', 'c', '2027', 'c', '1907', 'J', '467', 'a']

SOLUTION: 6167, 2027, 1907, 467

PROBLEM: ['m', 'g', '4377', '7021', 'q', '7087', '5033', '7205', '4623', '1461', 'p', '6985', 'B', '8985']

SOLUTION: 4377, 7021, 7087, 5033, 7205, 4623, 1461, 6985, 8985

PROBLEM: ['5917', '87', '2407', 'T', 'B', 'i', 'x']

SOLUTION:
5917, 87, 2407