Task: Program Execution
Input (English): 8, 10, ['6591', '3703', '1851', 'G', 'n', 'J', 'D', '3315', '3351', '9641', 'd', 'I', 'C']
Output (English): 3315, 3351, 9641