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', '8227', '5371', '2871', 'y', '7761', '3525', '7871', 'r', '2245', '55']

SOLUTION: 8227, 5371, 2871, 7761, 3525, 7871, 2245, 55

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

SOLUTION: 407

PROBLEM: ['X', '5325', '3679', 'V', '1109']

SOLUTION:
5325, 3679, 1109