Task: Program Execution
Input (English): t, n, 541, 7891, c, I, 8927, 525, 5343, S, 8385, 6247, x, 1641, h
Output (English): 1, 2, 5, 6, 10, 13, 15