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: ['G', '4649', '5425', '6761', '6579', '8571', 'f', 'A']

SOLUTION: 4649, 5425, 6761, 6579, 8571

PROBLEM: ['s', 'E', 'a', '165', 'G', '4543', 'D', 'T', 'M', '2085', 'L', '1921', 'H']

SOLUTION: 165, 4543, 2085, 1921

PROBLEM: ['4731', '1867', '9563', '3711', 'N', 'x', 'o', '1999', '4235', 'L', 'p', '781']

SOLUTION:
4731, 1867, 9563, 3711, 1999, 4235, 781