Task: Program Execution
Input (English): 1, 4, ['G', '8359', 'O', '789', '637']
Output (English): 987O9538G