Task: Program Execution
Input (English): 3, 3, ['l', '3103', '7709', 't']
Output (English): 9077