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: ['H', 'M', '5573', '6791', 'T', 'E', 'g', '2687', 'W', 'f', 'S', 'N', '4901', '9979', '3245', '2957', 'T', 'W', '7793', 'S', 'D', '8181', '3111', 'l', 'q', '85', '571']
Student:
5573, 6791, 2687, 4901, 9979, 3245, 2957, 7793, 8181, 3111, 85, 571