Part 1. 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.
Part 2. Example
['238', 'h', '92', 'U', '2799']
Answer: 238, 92, 2799
Explanation: Here, the numbers in the input list in order are '238', '92' and '2799'.
Part 3. Exercise
['8789', '2849', 'O', 't', 'E', 'g', '3311', '1197', '5257', 'm', '8601', '8071', '8481', 'K', '4863', '6119']
Answer:
8789, 2849, 3311, 1197, 5257, 8601, 8071, 8481, 4863, 6119