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: ['3005', 'l', '3873', '2381', '8779', 'c', '1727', 'S', '6169', '4269', 'a', '1853', '6075', 'p', '565', '2597', '5057', 'a', '1391', '4289', '1775', '3353', '6631', '8417', '6031', '2567', '5293']
Student:
3005, 3873, 2381, 8779, 1727, 6169, 4269, 1853, 6075, 565, 2597, 5057, 1391, 4289, 1775, 3353, 6631, 8417, 6031, 2567, 5293