Task: Program Execution
Input (English): Y, y, 2499, P, a, 7533, S, 3769, 5579, m, S, 1131, 6339, g, 9829, 3357, 4819, 6697, R, 9519, z
Output (English): 1, 2, 4, 5, 7, 10, 11, 14, 19, 21