Task: Program Execution
Input (English): 9, 15, ['J', '5581', '1009', '6539', 'D', '9525', '4179', 'B', '553', '3477', '5249', 'M', '9527', '7433', '3761', '2331', '1917', 'y']
Output (English): 3761, 7433, 9527, M, 5249, 3477, 553