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.

['1097', '6977', 'M', 'd', 'U', '2765', '6343', 'n', '3571', 'O', 'L', 'Y', '9339', '7005', '5343', '677', 'x', 'P', 'B', '8931', 'L', 'f', 'p']
1097, 6977, 2765, 6343, 3571, 9339, 7005, 5343, 677, 8931