The vertices of triangle have integer coordinates. Find any point with integer coordinates strictly inside the triangle. A point must not belong to the boundary of a triangle.
Contains three lines with two integers in each line: x[i]
, y[i]
(-10^6
≤ x[i]
, y[i]
≤ 10^6
) - the coordinates of triangle vertices. It is guaranteed that the triangle is non-degenerate.
If there is no required point, print "No". Otherwise print two integers - the coordinates of any point strictly inside the triangle.