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.
Input: ['S', 'Y', 'H', '9771', '7433', 'V', '6633', '9663', '8451', '1047', 'U', '37', '3921', 'B', '3403', '4673', 'k', '525', '563', 'q', 'd', '2501', '6763', '545', 'p', '8285', '1067', '4407', '5947', 'O']
Output:
9771, 7433, 6633, 9663, 8451, 1047, 37, 3921, 3403, 4673, 525, 563, 2501, 6763, 545, 8285, 1067, 4407, 5947