Task: Program Execution
Input (English): 3, 5, ['1033', '8751', '3107', '7779', 'Q', 'H', '9695', 'G', 'h']
Output (English): Q, 7779, 3107