once upon a time,there was a king who had a wise