making a random distribution algorithm

Hi guys,

I am developing a mancala game where at the start of the game a player distributes some 16 seeds into their pit 1-7.

  7	  6	  5

1 2 3 4

can anyone tell me how i can distribute the seeds randomly such that pit 5-7 are never empty.

Thanks,
ngash2