Little John has one standard die with numbers one to six on its sides. Each time he throws the die, he gets as many candies from his mom as the number on the top of the die. John?s goal is to collect at least candies candies. Then he will eat them all and became a little fat boy.
Return the expected number of throws needed for John to achieve his goal.
|-||The returned value must be accurate to within a relative or absolute value of 1E-9.|
|-||candies will be between 1 and 1000000, inclusive.|