Task: Program Execution
Input (English): 6, 9, ['m', '1441', 'P', 'P', '9171', '5157', '7475', 'r', 'X']
Output (English): Xr57477515