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: ['x', '7795', 'r', 'U', 'S', 'J']

SOLUTION: 7795

PROBLEM: ['A', 'z', 'S', '1179', 'b', 'g', '9979', 'n', '7481', 'B', '531', '3821', 'O', '4509', '5211', '2913', 'D', '5107']

SOLUTION: 1179, 9979, 7481, 531, 3821, 4509, 5211, 2913, 5107

PROBLEM: ['1347', '7881', '6747', 'q', '1701', 'B', 'g', 'J']

SOLUTION:
1347, 7881, 6747, 1701