Task: Program Execution
Input (English): 8733 1365 u A 7589 8607 V 4451 X 6999 4795 1621 Y 4481 d 4019 u 6177 5217 5539 A 2869 9771 8407 m Y Y 675 6199 u Z d C 2077 9905
Output (English): 3, 4, 7, 9, 13, 15, 17, 21, 25, 26, 27, 30, 31, 32, 33