Task: Program Execution
Input (English): W, 305, 1659, 293, O, 1373, n, d, 8775, 4161, a, M, X, w, 7619
Output (English): 2, 3, 4, 6, 9, 10, 15