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: ['P', 'P', '407', 'e', 'p']

SOLUTION: 407

PROBLEM: ['8709', 'T', 'V', '5135']

SOLUTION: 8709, 5135

PROBLEM: ['G', '2393', '4181', '7807', 'Q', '6277', 'F', 'i', 'M', 't', 'N', 'J', 'm', '4481', '1', '6119', 'y', '8077', 'i', '9871', 'z', 'h', 'c', 'x', '7849', 'Y']

SOLUTION:
2393, 4181, 7807, 6277, 4481, 1, 6119, 8077, 9871, 7849