Task: Program Execution
Input (English): 9, 11, ['s', '6333', '8543', '1667', 'M', '9657', '1527', '2383', '2603', '3175', '4009', '5707', 'd', '4883']
Output (English): 4009, 3175, 2603