Task: Program Execution
Input (English): 3, 5, ['w', 'm', 'R', 'k', '7669', '627']
Output (English): 7669kR