Task: Program Execution
Input (English): T, 5727, H, 4113, E, 9841, 4059, a, P, h, p, B, h, j, m, 7601, F, t
Output (English): 1, 3, 5, 8, 9, 10, 11, 12, 13, 14, 15, 17, 18