Task: Program Execution
Input (English): r, 6597, 1583, n, a, 6385, 7367, 7713, m, o, 1305, N, 9757, 5855, 8391, 2451, A, S, X, 6025, 3489, y, s, 217
Output (English): 2, 3, 6, 7, 8, 11, 13, 14, 15, 16, 20, 21, 24