Instructions: 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: ['199', '5365', '4657', '1585', 'h', 'Z', '599', 'J', 'D', '7951', 'Z', 'z', 'l', 'U', '2847']
Output:
199, 5365, 4657, 1585, 599, 7951, 2847