eolymp
bolt
Try our new interface for solving problems
Problems

Integer point

Integer point

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.

Input

Contains three lines with two integers in each line: xi, yi (-106xi, yi106) - the coordinates of triangle vertices. It is guaranteed that the triangle is non-degenerate.

Output

If there is no required point, print "No". Otherwise print two integers - the coordinates of any point strictly inside the triangle.

Time limit 1 second
Memory limit 128 MiB
Input example #1
0 0
3 0
1 2
Output example #1
1 1
Input example #2
0 0
0 1
1 0
Output example #2
No
Author Aleksandr Milanin
Source 2013 Sevastopol Summer School, Wave 2, Day 3