A sand puzzle