Task: Program Execution
Input (English): 3, 10, ['1645', '239', '4045', 'W', 's', 'P', '1761', 'C', '245', '8159', 'Y', 'P', 'H']
Output (English): 9518542C1671PsW5404