Task: Program Execution
Input (English): y, 449, g, 345, 167, q, k
Output (English): 1, 3, 4, 5, 6, 7, 9