Task: Program Execution
Input (English): 12, 17, ['X', '9905', '3989', 'c', 'g', 'Z', 'P', 'C', 'k', 'r', '5787', 'r', '7741', 'W', 'e', 'o', '7687']
Output (English): 7867oeW1477r