Task: Program Execution
Input (English): W, 8847, 7039, A, K, 4957, r, n, 3567, h, 4379, 9667, A
Output (English): 1, 4, 5, 7, 8, 10, 13