Task: Program Execution
Input (English): y, v, 79, 181, 331, u, q, 117
Output (English): 1, 3, 7, 8, 9