Task: Program Execution
Input (English): 3, 21, ['n', '1321', 'M', '2609', '9737', '7905', 'j', '5139', 'b', 'K', 'z', 'M', 's', '5627', '333', 'k', 'H', 'w', 'J', '195', '5673', '4347', 'N', 'y']
Output (English): 5673, 195, J, w, H, k, 333, 5627, s, M, z, K, b, 5139, j, 7905, 9737, 2609, M