some naive solutions
nother classic