Task: Program Execution
Input (English): 6, 18, ['1427', 'a', 'X', 'j', '9827', '709', '6503', 'H', 'A', 'L', 'Q', '7689', '5431', 'd', 'V', 'd', '2801', '2491', 'B', 'e']
Output (English): 709, 6503, H, A, L, Q, 7689, 5431, d, V, d, 2801, 2491