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: ['u', '6797', '2301', '6011', 'I', 'U', 'Q', 'O', 'h', '5227', '9683', '6467', '2767', '8613', '8117', '2405', 'p', 'K', '9737', 'p', '2171']
Output:
6797, 2301, 6011, 5227, 9683, 6467, 2767, 8613, 8117, 2405, 9737, 2171