Task: Program Execution
Input (English): h, C, 4125, 1081, 6177, E, j, 2269, M, l, 6693, 1279, 4237, G, g, 7769, 7667, 5603, C, S, Q, Q
Output (English): 3, 4, 5, 8, 11, 12, 13, 16, 17, 18