Task: Program Execution
Input (English): M, 6125, 4897, H, 6683, 6855, 1355, V, 8663, y, H, H, W, 2405, M, e, 4785, 4329, Q, 9377, 4883, V, 5543, 7329
Output (English): 2, 3, 5, 6, 7, 9, 14, 17, 18, 20, 21, 23, 24