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: ['665', 'g', 'M', 'u', '6799', '7173', '6575', '5967', '4167', '109', '5675', 'g', '7619', 'P', 'L', '5589', 'g', 'x', 'O', 'C', '2225', '2031', '9005', '1385', 'Q', 'j', 'M', 'X']

SOLUTION: 665, 6799, 7173, 6575, 5967, 4167, 109, 5675, 7619, 5589, 2225, 2031, 9005, 1385

PROBLEM: ['5221', '9561', '3007', 'M', '7891', '8559', 'Y']

SOLUTION: 5221, 9561, 3007, 7891, 8559

PROBLEM: ['E', 'D', '1231', '1001', '7935', 'o', 'q', '9199', '2075', 'y', '2113', '3203', 'J', 'd', '1501', 'I', 'Y', 'P', 'R', 'W', 'e', 'R', '7881']

SOLUTION:
1231, 1001, 7935, 9199, 2075, 2113, 3203, 1501, 7881