Task: Program Execution
Input (English): 5, 8, ['6305', 'r', 'q', 'O', 'x', '7387', 'n', 'N', '3557', 'r', '4407', '6703', '5095', 'L', 'Q']
Output (English): Nn7387x