Task: Program Execution
Input (English): 1941 3137 649 1887 8265 R 5151 5091 z R 4513 K 1021 3573 7275 539 v d D 8519 R 4785 2445 1177 577 U 575 3671 Q 9599 1003 4207 4627 5307 7285
Output (English): 6, 9, 10, 12, 17, 18, 19, 21, 26, 29