First find the number of candles produced per hive: 12 candles / 3 hives = <<12/3=4>>4 candles/hive
Then divide the total number of candles by the number of candles per hive to find the number of hives: 96 candles / 4 candles/hive = <<96/4=24>>24 hives
#### 24