Task: Program Execution
Input (English): 3, 14, ['7043', '6587', '7919', 'P', '8819', '5999', '7365', 'P', '499', 'E', 'U', 'F', '8945', '465', '9561', 'X', 'O', '5841']
Output (English): 7919P881959997365P499EUF8945465