At a pond, there were 24 ducks swimming. The ratio of ducklings to adult ducks is 5:1. How many ducklings were swimming at the pond?