Task: Program Execution
Input (English): E 8987 543 w k k v T 7183 2953 B x s 4393 1811 1441 3289 4157 3129 m 3459 z 3213 8471 9173 T 3289 393 Q 1089
Output (English): 2, 3, 9, 10, 14, 15, 16, 17, 18, 19, 21, 23, 24, 25, 27, 28, 30