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: ['W', '8593', 'g', 'M', '9307', 'd', 'W', '9717', '8595', '8345', 'n', '5783', '1377', 'O', '8339', 'e', '3885', '4059', '8821', '1501', '5881', 'A', '1609', '5321', 'n', '5673', 'P', 'y']

SOLUTION: 8593, 9307, 9717, 8595, 8345, 5783, 1377, 8339, 3885, 4059, 8821, 1501, 5881, 1609, 5321, 5673

PROBLEM: ['5689', 'd', 'd']

SOLUTION: 5689

PROBLEM: ['5325', 'A', '3623', '2077', '1187', '2443', '403', 's', '1031', 'w', '5169']

SOLUTION:
5325, 3623, 2077, 1187, 2443, 403, 1031, 5169