Task: Program Execution
Input (English): 2, ['1055', 'Q', '3391', 'B', 'N', '2603']
Output (English): 1055, Q