The first line contains an integer![]()
.
Then followlines in the following way: "
![]()
![]()
", where t is the query type (1 or 2), and
are the coordinates of the point (
,
and
are integers).
There is at least one query of type 2.
It is guaranteed that the three queries of the first type follow first and the points given in the queries form a non-degenerative triangle. Also all the points added inare distinct.
For each query of the second type print one string containing "YES", if the point lies inside the convex hull or on its border. Otherwise, print "NO".