Task: Program Execution
Input (English): h, S, e, t, P, R, B, 9573, 8497, S, W, z, W, r, 1599, 9987, 5881, K
Output (English): 1, 2, 3, 4, 5, 6, 7, 10, 11, 12, 13, 14, 18