Task: Program Execution
Input (English): 4, 8, ['X', '985', '9195', 'l', '945', 'p', '5979', '2187', '8687', '3399', '4141', 'x', 'M']
Output (English): l945p59792187