Task: Program Execution
Input (English): 3, 5, ['7387', '689', 'D', '4707', 'n', '5787', 'F', '5007']
Output (English): n, 4707, D