Task: Program Execution
Input (English): m, 1143, t, I, M, H, 1375, g, 8941, P, a, 9149, S, 737, B, 955, 9557, 7335, T
Output (English): 1, 3, 4, 5, 6, 8, 10, 11, 13, 15, 19