Task: Program Execution
Input (English): w, 111, y, 351, w
Output (English): 1, 3, 5