Task: Program Execution
Input (English): 2, 3, ['2647', '2221', 'y', '7899', '1671', 'Z', 'N', 'f', 'w', 'c', '7977', 'B', 'J', '1323', '2991', '103', 'k']
Output (English): 2221, 1671, f, 7977, 1323, k