Task: Program Execution
Input (English): 4, 2, ['331', 'X', 'r', '9303', 'P', '3731', 'c', 'w', '571', 'N', '4251', '1835', '4621', 'j', '5155', '8597', 'k', '5675', '5561', 'D']
Output (English): 9303, 3731, w, N, 1835, j, 8597, 5675, D