Have you ever heard the phrase “Cosmic Twins”? The people who are born on the same day of the year, are called cosmic twins. he problem-setter thinks that the probability of existence of cosmic twins in group of people is relatively high, based on the number of cosmic twins found in SBU. Your task is to calculate this probability and verify his conjecture.
The input contains two space separated integers – the number of people and the number of days in a year respectively.
Print a number in a line indicating the probability of existence of at least one pair of cosmic twins in the group.
The result should be printed with exactly 6 digits after decimal point.