JER-Yahtzee solution