Task: Program Execution
Input (English): w, n, 121, 459, v, d, 253, 151, q
Output (English): 1, 2, 3, 4, 5, 9