Task: Program Execution
Input (English): 5, 5, ['7173', 'b', '9573', 'O', '8047', 'f']
Output (English): 8047