Task: Program Execution
Input (English): 499, 57, 171, w, 205, 51
Output (English): 0, 1, 2, 4, 5, 7, 9