Task: Program Execution
Input (English): 2, 8, ['P', '9305', 'v', '7711', 'Q', '6727', '3769', 'C', '1841', '7653', '13', 'j', 'C', '2335', '251', '1053', '5979', '1551']
Output (English): 9305, 7653, 1551