Task: Program Execution
Input (English): 2, ['897', 'r', 'A', 'B']
Output (English): 897, r