Task: Program Execution
Input (English): e, x, d, A, 8159, 5255, t, h, 777, W, 807, k
Output (English): 1, 2, 3, 4, 7, 8, 10, 12