Task: Program Execution
Input (English): p, 8341, p, 4707, 6273, 3709, u, e, 9467, d, P, j, 7127, 1507, N, 1383, 765, E, 6849, 6291, 3253, 9767
Output (English): 2, 4, 5, 6, 9, 13, 14, 16, 17, 19, 20, 21, 22