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: ['4983', 'a', 'o', 'r', '9277', 'a', '6233', '5545', 'M', '619', '1225', 'I', 'o', 'r', '4161', 'x', 'U', 'F', '1273', 'Q', 'O', '6351', '1669', '2875', 'B', 'o', '8503', '4121', '8167']
Output:
4983, 9277, 6233, 5545, 619, 1225, 4161, 1273, 6351, 1669, 2875, 8503, 4121, 8167