Task: Program Execution
Input (English): W, 8919, P, 1651, 3441, 4833, z, P, 4911, p, 5289, V, 373
Output (English): 2, 4, 5, 6, 9, 11, 13