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: ['7147', '2629', '1045', '2805', '9797', 'c', 'A', 'W', 'r', '6631', 'O', 'a', '5215', 'A', '8685', 'k', 'Z', 'I', '9353', '8231', 'J', '8971', 'N', '2039', '5809', '7041']
Student:
7147, 2629, 1045, 2805, 9797, 6631, 5215, 8685, 9353, 8231, 8971, 2039, 5809, 7041