Task: Program Execution
Input (English): 1, 3, ['587', 'O', '7181']
Output (English): 7181O587