Task: Program Execution
Input (English): 2, 5, ['y', 'O', 'D', '9751', 'w']
Output (English): w1579DO