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.

Q: ['J', 'N', 'z', '9137', 'c', 'D', 'r', 'A', 'n', 'J', 'q', '5729', 'I', '9057', '5037', 'S', 'g']

A: 9137, 5729, 9057, 5037
****
Q: ['5101', 'M', 'h', 'K', 'I']

A: 5101
****
Q: ['6477', 'Y']

A:
6477
****