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: ['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: ['3459', '3923', '9849', '5325', '7691', '4715', 'E', 'K', 'g', 'c', 'K', '8849']

SOLUTION: 3459, 3923, 9849, 5325, 7691, 4715, 8849

PROBLEM: ['6859', '4699', 's', 'y', '1831', '6169', 'J', '7239', 'v', '2327', '5165', 'a', '8759', '6235']

SOLUTION:
6859, 4699, 1831, 6169, 7239, 2327, 5165, 8759, 6235