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: ['A', 'z', 'S', '1179', 'b', 'g', '9979', 'n', '7481', 'B', '531', '3821', 'O', '4509', '5211', '2913', 'D', '5107']

SOLUTION: 1179, 9979, 7481, 531, 3821, 4509, 5211, 2913, 5107

PROBLEM: ['P', 'P', '407', 'e', 'p']

SOLUTION: 407

PROBLEM: ['X', 'A', 'H', '57', 'j', 'A', '6235', 'P', 'Z', '7907', 'e', 'b', 'L', '9563', 'Y', 'J', '9361', 'K', 'w', 'd', 'd', '1253', 'Y', 'Y', 'u', '7081', '4753']

SOLUTION:
57, 6235, 7907, 9563, 9361, 1253, 7081, 4753