Task: Program Execution
Input (English): P 8031 981 a Q 9671 1205 k 4343 q 1939 1191 2537 E k B a L 4559 Y X 1519 6989 4097 453 N 4317 3509 u w 4377 6947 893 h w S 7801 6401 7439
Output (English): 1, 4, 5, 8, 10, 14, 15, 16, 17, 18, 20, 21, 26, 29, 30, 34, 35, 36