Task: Program Execution
Input (English): w, 31, 9389, 3689, E, 101, 2241, 7265, 8195, 4515, B, F, 8501
Output (English): 2, 3, 4, 6, 7, 8, 9, 10, 13