Task: Program Execution
Input (English): w, 167, r, 485, g, m, x, n, 127, 359, 243, v, 3
Output (English): 1, 2, 3, 4, 5, 6, 7, 8, 9