Task: Program Execution
Input (English): y, 399, 41, p, 465, 383, v, 487, 161, 357, 111
Output (English): 1, 3, 4, 5, 6, 7, 8, 9