Task: Program Execution
Input (English): 2, 8, ['4083', '2475', 'P', 'Z', 'v', 'J', '7421', '9577', '4435', '1399', '6187', '2247', 'G', '9817', '8965', '9371', '9543', '1763', 'M', '3189', 'H', 'h', '6855', '5109', '7069']
Output (English): 2475, 1399, 1763