Task: Program Execution
Input (English): g, 217, w, g, c, x, w, 129, c, f, 405, k
Output (English): 0, 1, 2, 4, 5, 7, 9