Task: Program Execution
Input (English): 3, 3, ['7859', '7219', 'Q', 'W', '3303', 'j', '3337', '1117', '8239', '1995', 'i', 'R']
Output (English): Q