Task: Program Execution
Input (English): 2, 5, ['g', 'v', '1411', 'c', 'r', 'Q']
Output (English): rc1141v