Task: Program Execution
Input (English): 2, 2, ['l', '9711', 'G']
Output (English): 1179