TASK DEFINITION: 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.
PROBLEM: ['s', '4955', 'U', '4259', '5829', 'b', 'J', 'S', '5759', 'j', '8119', 'B', '2225', 'D', '3881', 'n', 'R', '5117', '2233', 'S', 'E', '3281', 'u']

SOLUTION: 4955, 4259, 5829, 5759, 8119, 2225, 3881, 5117, 2233, 3281

PROBLEM: ['5979', '3935', '5435', 'S', 'h', '8869', '5325', '6493', '5439', '3453', 'c', '8115', 'T', 'h', '8129', '197', 'l', '2709', '1099', '6025', '3255', 'x', '2431']

SOLUTION: 5979, 3935, 5435, 8869, 5325, 6493, 5439, 3453, 8115, 8129, 197, 2709, 1099, 6025, 3255, 2431

PROBLEM: ['1171', 'I', '361', 'V', 'D', 'p', 'C', '5943', '3115', 'W', '783', 'x', 'k']

SOLUTION:
1171, 361, 5943, 3115, 783