Is point A on the segment BC?
The input contains the coordinates of points A, B, and C. Each coordinate is an integer with absolute value at most 100.
Output 1 if point A lies on the segment BC, and 0 otherwise.
Example 1