The first line contains an integer(
).
The followinglines contains the
points of polygon
. The
-th point is described by two integers
and
where
.
The-th line contains an integer
(
).
The followinglines contains the
points of polygon
. The
-th point is described by two integers
and
where
.
The points of the two convex polygons will be given in counter-clockwise order.
Output one real number, the answer.
Your answer will be considered correct if its absolute or relative error does not exceed. Formally let your answer be
, jury answer be
. Your answer will be considered correct if
.