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: ['8087', '1757', 'm', '8695', 'x', '2619', 'g', '9419', 'U', '7583', 'T', 'a', 'K', '3019', 'G', '5989', 'S', '6639', 'W']

SOLUTION: 8087, 1757, 8695, 2619, 9419, 7583, 3019, 5989, 6639

PROBLEM: ['I', '4917', 'J', '5161', 'r', '8279', 'p', 'a', '9291', 'P', '9945', '6259', 'N', '7847', 'H', '6773']

SOLUTION: 4917, 5161, 8279, 9291, 9945, 6259, 7847, 6773

PROBLEM: ['u', 'W', '2559', '9227', 'J', '8991', 'x', '3035', 'T', 'S', 'X', 'Q', '3365', '6415', '8277', 'v', 'y', 'x', 'W', '5345']

SOLUTION:
2559, 9227, 8991, 3035, 3365, 6415, 8277, 5345