Task: Program Execution
Input (English): N, 977, N, j, 2341, 3553, 6503, j, 1479, 5097, k, S, 2553, 9503, s, q, 6207, 5531, d, 2727, 6683, N, E, 5901
Output (English): 1, 3, 4, 8, 11, 12, 15, 16, 19, 22, 23