Task: Program Execution
Input (English): r, 9171, N, 7377, 9941, 1727, 97, 2597, D, B, Q, 271, 2419, n, y, Z, k, 7341, 4405, D, 4575, j
Output (English): 2, 4, 5, 6, 7, 8, 12, 13, 18, 19, 21