Beads

USACO problem