Task: Program Execution
Input (English): 367, j, p, 177, w, 367, 495, g, 253, 211, 385
Output (English): 1, 2, 3, 4, 5, 6, 7, 8, 9