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: ['a', '897', '3581', '1717', '99', 'W', '8705', '2321', '8049', 'Y']

SOLUTION: 897, 3581, 1717, 99, 8705, 2321, 8049

PROBLEM: ['A', 'g', '2731', '5075', 'b', 'q', 'W', '3889', 'Y', '9715', '5643', '5651', 'd', 'c', 's', 'W', '2983', 'D', 'B', '3243', '4143', '6715', '2707', '4535', 'r', '3877', 'h', 's', '8749', 'G']

SOLUTION: 2731, 5075, 3889, 9715, 5643, 5651, 2983, 3243, 4143, 6715, 2707, 4535, 3877, 8749

PROBLEM: ['9219', 'q', '4509']

SOLUTION:
9219, 4509