Task: Program Execution
Input (English): 3, 7, ['235', 'a', 'Y', 'g', '4583', 'b', 'P', '8287', '6217']
Output (English): Pb3854gY