Task: Program Execution
Input (English): a, w, 215, 71, 283, w
Output (English): 1, 2, 3, 5, 7, 8