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: ['R', 'Q', 'L', 'O', '4165', 'G', 'U', '8187', '6727', 'z', '2551', '3005', 'S', 'w', 'E', '2179', '2011', 'P', '3727', '2119', '229', '5461', '4565', '3933', '2735', '2621', 'P', 'x']
A:
4165, 8187, 6727, 2551, 3005, 2179, 2011, 3727, 2119, 229, 5461, 4565, 3933, 2735, 2621