Task: Program Execution
Input (English): 583, O, 21, Q, 2973, 5205, e, r, W, c, 6401, w, Q, 5647, 4681
Output (English): 1, 3, 5, 6, 11, 14, 15