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.
Q: ['7717', 'f', 'g', '401', 'm', '4655', 'h', '7489', 'X', 'L', '675', '231', '2811', '8587', 'u', '5897', '8643', 'j', '3977', 'p', '6885']
A:
7717, 401, 4655, 7489, 675, 231, 2811, 8587, 5897, 8643, 3977, 6885