Task: Program Execution
Input (English): 2, 3, ['f', 'O', '6059', '4817']
Output (English): 6059O