Task: Program Execution
Input (English): 7, 10, ['W', 'f', 'G', 'T', 'O', 'F', 'U', 'X', 'f', '197']
Output (English): 791fXU