Task: Program Execution
Input (English): r, 309, w, 317, d, m, t, 197, m, 215, 123, d, f, y
Output (English): 0, 1, 2, 3, 5, 7, 9