PROGRAMMING:Geometry teacher
Bear_ I went to Qingqing grassland as a guest star. When I ate roast whole sheep at night, I looked at the stars every day and thought, if only I could connect all the stars with two lines.
So he drew all the $$n $$stars into a coordinate system, and the coordinates of the $$I $$star Mark were $$(I, y)_ i) Now he asked if you could connect all the stars with two parallel and non overlapping lines.
###Input format:
**Multiple groups of input * *, the first line input a positive integer $$n (1 < = n < = 1000)$$
On the next line, enter $$n $$integers $$y_ i(-10^9<=y_ i<=10^9)$$
###Output format:
For each group of data, output "yes" in one line, when you can find two lines; Otherwise, output "no" (without double quotes)
###Input example:
Here is a set of inputs. For example:
```in
five
7 5 8 6 9
five
-1 -2 0 0 -5
```
###Output example:
The corresponding output is given here. For example:
```out
Yes
No
```
answer:If there is no answer, please comment
So he drew all the $$n $$stars into a coordinate system, and the coordinates of the $$I $$star Mark were $$(I, y)_ i) Now he asked if you could connect all the stars with two parallel and non overlapping lines.
###Input format:
**Multiple groups of input * *, the first line input a positive integer $$n (1 < = n < = 1000)$$
On the next line, enter $$n $$integers $$y_ i(-10^9<=y_ i<=10^9)$$
###Output format:
For each group of data, output "yes" in one line, when you can find two lines; Otherwise, output "no" (without double quotes)
###Input example:
Here is a set of inputs. For example:
```in
five
7 5 8 6 9
five
-1 -2 0 0 -5
```
###Output example:
The corresponding output is given here. For example:
```out
Yes
No
```
answer:If there is no answer, please comment