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: ['5187', '4887', '8631', '7943', 'J', '3559', 'U', '2251', '6703', 'x', '7485', 'g', 'V', '4921', '6877', '3719', 'O', '8735', '8689', 'z', '8753', 'j', '6217']
Output:
5187, 4887, 8631, 7943, 3559, 2251, 6703, 7485, 4921, 6877, 3719, 8735, 8689, 8753, 6217