A robot packed 304 shipping crates in 8 hours. It packed them at a constant rate. What was the rate per hour at which the robot packed the shipping crates?