Task: Program Execution
Input (English): 2, 5, ['599', '9513', '6839', 'W', 'q', 'y', 'Q']
Output (English): q, W, 6839, 9513