To see which hand fills up with, of course!
Did anybody else ever think it was rather strange that the professor could practically build a nuclear reactor with what was on the island, but could not figure out how to patch a few holes in a wooden hulled boat?