Task: Program Execution
Input (English): 3, 10, ['6489', '7327', 'A', '6171', 'E', 'W', '2631', '8691', '1725', 'H', '5993', 'F', '2085']
Output (English): H, 1725, 8691, 2631, W, E, 6171, A