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.

['5715', 'x', 'N', '8707', 'U']
5715, 8707

['5689', 'd', 'd']
5689

['2741', '4265', 'R', '1275', '8981']

2741, 4265, 1275, 8981