Task: Program Execution
Input (English): 3, 4, ['9883', 'r', '1563', 'O', '8847', '9847']
Output (English): 1563, O