Task: Program Execution
Input (English): P, j, z, 5097, U, p, 4629, X, 3127, 7085, X, g, 1483, Y, 651, 4591, 6951
Output (English): 4, 7, 9, 10, 13, 15, 16, 17