Task: Program Execution
Input (English): 1661, E, 2237, 511, 103, 7725, 5949, y, S, A, D, w
Output (English): 2, 8, 9, 10, 11, 12