Task: Program Execution
Input (English): y, 5709, R, p, L, w, 6759, 313, 4063, 4867, N, E, 815, T, 391, 7909, D, Z, a, 4479, x
Output (English): 1, 3, 4, 5, 6, 11, 12, 14, 17, 18, 19, 21