Teacher: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.
Teacher: Now, understand the problem? Solve this instance: ['9879', 'E', 'x', 'k', '8265', '6977', '7285', 'n', 'L', '6617', '8941', 'D', 'L', 'x', '1261', '3673']
Student:
9879, 8265, 6977, 7285, 6617, 8941, 1261, 3673