Complex sentence: He realized that he did not have enough gum for all of them but gave it to the kids anyway; the kids broke it into little pieces and shared it, for the ones who didn't get any they sniffed the wrappers.
Split into simpler sentences: He realized that he did not have enough gum for all of them but gave it to the kids anyway; the kids broke it into little pieces and shared it. The ones who didn't get any they sniffed the wrappers.