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: ['a', '1651', '7423', '6133', 'g', '595', '9271', '1003', '5091', '4799', '3859', '5675', '5841', '6215', 'm', '4785', 'X', '4359', '9313', 'c', 'J', '2443', 'j', 'b', 'I', 'P', 'j']
Output:
1651, 7423, 6133, 595, 9271, 1003, 5091, 4799, 3859, 5675, 5841, 6215, 4785, 4359, 9313, 2443