Task: Program Execution
Input (English): 5, 5, ['3703', '9667', '3065', 'n', '6897', 'e', 'r', '9695', 'g', 'X', 'U', '7305', '4417', '2751', 'L', '6249', '8681', '269', '869']
Output (English): 6897