On the Line?

Time Limit: 0.5 sec

**The Problem**

Develop a program that, given as input three points **P _{1}**,

**P**, and

_{2}**P**on the cartesian coordinate plane, reports whether

_{3}**P**lies on the line containing

_{2}**P**and

_{1}**P3**.

If **P _{2}** lies on the line containing

**P**and

_{1}**P**then print "

_{3}**Yes**" otherwise print "

**No**".

**The Input**

The input file contains several lines of input. Each line contains six integers numbers. First pair of numbers denote the **(x1, y1)** coordinates of **P _{1}**. Second pair of numbers denote the

**(x2, y2)**coordinates of

**P**. Final pair of denote the

_{2}**(x3, y3)**coordinates of the

**P**. Input is terminated by end of file (

_{3}**EOF**). All coordinates are between

**-10000**and

**+10000.**

**The Output**

Your output should print a single line for each line of input. For each line, If **P _{2}** lies on the line containing

**P**and

_{1}**P**the output line should print “

_{3}**Yes**”. Otherwise the output line should print “

**No**”.

**Sample Input**

2 2 1 1 4 5

-1 -1 0 0 2 2

**Sample Output**

No

Yes

Problem Setter: Shahin ShamS