Task: Program Execution
Input (English): 2, 8, ['s', 'S', '3207', 'k', '5997', 'G', 'D', '4107', 'K', '9347', 'Q', 'L', 'a', '1571', 'I', '4435', '3479', '835', 'p']
Output (English): 4107, D, G, 5997, k, 3207, S