Mason enjoys bird-watching and observed two types of birds traveling this season: ducks and seagulls. While the ducks traveled in flocks of 8, the seagulls traveled in flocks of 4. If Mason observed the same total number of ducks and seagulls, what is the smallest number of ducks that he could have observed?