Task: Program Execution
Input (English): 10, 12, ['i', 'd', '3357', '9391', 'X', 'E', '9109', 'J', 'W', 'K', 'r', '3419', 'Z', '7951']
Output (English): 3419rK