Task: Program Execution
Input (English): i, N, 1639, 705, Z, E, 6307, 1265, 8145, 6591, 7213, 9163, z, 3011, 9197, d, 1421, j, 887, 8457, q, 785
Output (English): 1, 2, 5, 6, 13, 16, 18, 21