Task: Program Execution
Input (English): c, 129, 319, e, g, w, 241, 51, 359, b, 267, 471
Output (English): 1, 2, 3, 4, 5, 6, 7, 9