Task: Program Execution
Input (English): 7983 U 5647 i 7841 G Z 3981 p 1419 A 1907 X 3951 h r 5999 7173 1637 7277 M A i n 6523 7967 5909 5833 O 2629 9217
Output (English): 1, 3, 5, 8, 10, 12, 14, 17, 18, 19, 20, 25, 26, 27, 28, 30, 31