solve water-jars