Task: Program Execution
Input (English): 4, 5, ['N', 'q', '7353', '3299', 'B', '7077', '1311', 'a', '5095']
Output (English): B3299