Task: Program Execution
Input (English): 3, 10, ['7961', '6547', '3113', '9623', '7873', 'N', '5837', 'e', '6657', 'c', '7189', '8415', '3003', 'd', 'T', 'L', 'L', 'c', 'j', 'z', '7879', 'u', '8035', 'w', '1975', 'p', 'd']
Output (English): 3113, 3003, 8035