Task: Program Execution
Input (English): 1, 3, ['B', 'Q', '5437', 'O']
Output (English): 5437