Task: Program Execution
Input (English): 3, 1, ['P', '3527', 'i', '8469', '4977', 'E', '5809', 'H', 'A', 'w', 'g', '1515', 'c', '6423', '729', 'Z', '5343', '6809', '7491', '6441', '5515', '5759', 'X']
Output (English): i, 8469, 4977, E, 5809, H, A, w, g, 1515, c, 6423, 729, Z, 5343, 6809, 7491, 6441, 5515, 5759, X