Task: Program Execution
Input (English): 4, 5, ['Z', 'Z', '6145', 'w', 'V']
Output (English): 0