Task: Program Execution
Input (English): P, 7651, Q, 7623, 4229, X, T, 9543, w, 9501, 3135, 7623, z, U, 5537, Y
Output (English): 1, 3, 6, 7, 9, 13, 14, 16