Task: Program Execution
Input (English): 3, 5, ['9103', 'U', 'G', 'Q', 'Q', 'X']
Output (English): 0