Hard
Name the Dice Hand
Read five dice values (1–6). Print the best name for the hand:
five of a kind, four of a kind, full house (three + two), straight (1-2-3-4-5 or 2-3-4-5-6), three of a kind, two pairs, one pair or nothing.Input
Five integers on one line.
Output
One line.
Sample 1
Input
6 6 6 6 6
Output
five of a kind
Sample 2
Input
2 3 2 3 2
Output
full house
Output appears here