The first line contains an integer.
The followinglines describe the given
circles. The
-th line contains four integers
,
and
, describing the i-th circle whose center is
, the radius is
and the probability of appearance is
.
Output one number - the answer. Your answer will be considered correct if its relative or absolute error doesn’t exceed.