Task: Program Execution
Input (English): 2, 9, ['l', '4361', '9701', '5529', '8343', '1853', '8907', 'U', '4047', 'F', '1779', '2015', '301', 'h', '8305', '2667', '2791', 'N', '5687']
Output (English): 4361, 1779