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: ['P', '4875', '1853', 'K', 'h', 'y', 'N', 'w', 'V', 'Q', '4231', 'I', 'w', '25', '6517', '4179', '3547', 's', 'V', 'g', 'a', '3817', 'f', 'h', 'm', 'H', '5907', '5497', 's', 'T']
Student:
4875, 1853, 4231, 25, 6517, 4179, 3547, 3817, 5907, 5497