Task: Program Execution
Input (English): y, 421, 467, 243, d, 353, n
Output (English): 1, 2, 3, 4, 5, 6, 7