Task: Program Execution
Input (English): 3, 12, ['5041', 'P', 'h', 'm', '9551', '1395', '2059', '675', 'Q', '5463', 'j', '7617', '6165', 'O', 'R', '3809', '3045']
Output (English): 7167j3645Q576950259311559mh