Task: Program Execution
Input (English): 2, 3, ['4423', 'X', 'M', 'N', 'A', 'I', 'z', 'n', 'q', '7875', 'Y', 'd', '9589', '7003', '2041', '683']
Output (English): M, X