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