Task: Program Execution
Input (English): p 9391 8959 4525 2709 X R 5997 6997 8325 X V 745 2539 X T 7851 6817 8253 R Z i 1867 2901 E R 9311 3439 h u 3985 2953 5697
Output (English): 2, 3, 4, 5, 8, 9, 10, 13, 14, 17, 18, 19, 23, 24, 27, 28, 31, 32, 33