Task: Program Execution
Input (English): 2, 3, ['G', 'R', 'Q', 'y', 'z']
Output (English): QR