Task: Program Execution
Input (English): H 3841 P 8027 4165 b H 9641 u 2819 D S M A 2487 8809 t E 8203 4287 y 4975 8783 6213 c u 9961 i o 255 V 9523 8613 G 5735 t 7067 7063 H 5731
Output (English): 2, 4, 5, 8, 10, 15, 16, 19, 20, 22, 23, 24, 27, 30, 32, 33, 35, 37, 38, 40