Task: Program Execution
Input (English): H 4801 b k j 5939 V 7689 q g V y 9895 b Z 4675 4789 D 9653 7829 8955 31 W Z 1203 V 7727 G b 3111 S 4019
Output (English): 1, 3, 4, 5, 7, 9, 10, 11, 12, 14, 15, 18, 23, 24, 26, 28, 29, 31