Task: Program Execution
Input (English): 3, 7, ['q', 'L', '9301', 'p', '8329', 'X', '7689', '6457', 'y', '5137', '2965', '7229', 'o', '8469', '2545', 'L', 'a', 'y']
Output (English): 9301, 5137, a