Instructions: 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.
Input: ['5979', '3935', '5435', 'S', 'h', '8869', '5325', '6493', '5439', '3453', 'c', '8115', 'T', 'h', '8129', '197', 'l', '2709', '1099', '6025', '3255', 'x', '2431']
Output:
5979, 3935, 5435, 8869, 5325, 6493, 5439, 3453, 8115, 8129, 197, 2709, 1099, 6025, 3255, 2431