Task: Program Execution
Input (English): a, 305, 315, 495, 189, 35, w
Output (English): 0, 1, 3, 4, 5, 8, 9