Task: Program Execution
Input (English): 4, 4, ['N', 'F', '3581', '2283', 'O', '7473', '5847', 'u', '7599', 'K', '929', 'x', '2919', '5353', '2981', 'E', '2735']
Output (English): 2283