Task: Program Execution
Input (English): W 2959 4211 6311 P 5135 F 109 1565 4949 1289 m 3375 6987 P 2423 1529 D X n 5907 U 1323 1989 9389 2411 1673 5679 R q 1579 309 2539 F 8975 K 5095 1197
Output (English): 2, 3, 4, 6, 8, 9, 10, 11, 13, 14, 16, 17, 21, 23, 24, 25, 26, 27, 28, 31, 32, 33, 35, 37, 38