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: ['5757', '4473', 'L', 't', '9947', 'b', '1735', '4055', 'D', '2507', '3489', '5581', '5647', 't', '2833', 't', '1391', 'b', '4619', '4253', '3261', 'I', 'B', 'i', '5305']
Student:
5757, 4473, 9947, 1735, 4055, 2507, 3489, 5581, 5647, 2833, 1391, 4619, 4253, 3261, 5305