Task: Program Execution
Input (English): w, 315, 165, i, o
Output (English): 1, 3, 5, 6