Task: Program Execution
Input (English): F 5377 i 7949 A H S 2433 R j 4125 m u G 5389 7147 W Z 5619 387 3835 4099 2999 J 541 3541
Output (English): 1, 3, 5, 6, 7, 9, 10, 12, 13, 14, 17, 18, 24