Task: Program Execution
Input (English): 1, 2, ['Q', 'y']
Output (English): 0