Task: Program Execution
Input (English): 6, 8, ['N', 'X', '917', '1281', 'l', 'x', '3671', 'N', '3707']
Output (English): N3671x