Task: Program Execution
Input (English): 3, 4, ['965', 'n', '6791', '153', 'L', 'V']
Output (English): 6944