Task: Program Execution
Input (English): 3, 4, ['5681', '2093', 'N', '7107', 'X', 'F', '1993']
Output (English): 7107, N