Task: Program Execution
Input (English): 2, 7, ['f', 'i', 'o', 'R', 'U', 'B', 'F', 'Y']
Output (English): ioRUBF