Task: Program Execution
Input (English): P, d, 997, j, Z, 677, E, 6001, 3323, 7957, 3701, 1265, 4777
Output (English): 3, 6, 8, 9, 10, 11, 12, 13