Task: Program Execution
Input (English): H, c, 5989, D, K, E, 5239, 2229, 2711, 1627, Z, 8287, 4697, K, 449, t, w, 4167, R, S, 5979, a
Output (English): 1, 2, 4, 5, 6, 11, 14, 16, 17, 19, 20, 22