Task: Program Execution
Input (English): p, g, l, 2619, 3823, N, J, 2767, r, 1533, 4697
Output (English): 4, 5, 8, 10, 11