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', '3685', '8501']

SOLUTION: 3685, 8501

PROBLEM: ['8741', 'g', 'Z', '5945', 's', '7267', '915', '8573', '8213', '7763', '8351', '3869', 'y', '5983']

SOLUTION: 8741, 5945, 7267, 915, 8573, 8213, 7763, 8351, 3869, 5983

PROBLEM: ['o', 'f', '5247', '1197', '5489', '4341', '7393', '5905', '6075', '5243', 'n', 'r', 'H', 'k', '9855', '7103', 'Y', 'z', '5129', '389']

SOLUTION:
5247, 1197, 5489, 4341, 7393, 5905, 6075, 5243, 9855, 7103, 5129, 389