Task: Program Execution
Input (English): w, 5749, Y, u, p, F, f, P, 8823, 3713, 5131, W, J, h
Output (English): 1, 3, 4, 5, 6, 7, 8, 12, 13, 14