Task: Program Execution
Input (English): 1, 3, ['O', 'f', '9741', '2531']
Output (English): 9741fO