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', 'N', '1517', 'L', '9695', 'g', '9999', '7485', 'w', '3165', '395', 'S', 'F', '3339', 'X', 's', '817', 'w', 'C', 'R', 'I', '8735', 'W']

SOLUTION: 1517, 9695, 9999, 7485, 3165, 395, 3339, 817, 8735

PROBLEM: ['x', '7795', 'r', 'U', 'S', 'J']

SOLUTION: 7795

PROBLEM: ['8517', 'e', '7105', 'l', '8083', '7397', '8541', 'X', '5301', 'p', 'r', 'w', 'h', '2415', 'O', '2881', 'q', 'K', '3909', '2037', 'X', 'M', '3431', '4225']

SOLUTION:
8517, 7105, 8083, 7397, 8541, 5301, 2415, 2881, 3909, 2037, 3431, 4225