Task: Program Execution
Input (English): p b Z 2673 4711 p 7607 B 4737 5023 3087 A h 4255 8771 v M 4677 F a 6063 b 1793 2631 6649 9841 O V r 6361 2617 9095 9493 633 1197 I 1537 G 3239
Output (English): 4, 5, 7, 9, 10, 11, 14, 15, 18, 21, 23, 24, 25, 26, 30, 31, 32, 33, 34, 35, 37, 39