Task: Program Execution
Input (English): 3, 4, ['4001', '6857', 'I', 'Q', 'B']
Output (English): Q, I