# Kingdom of Kittens

In a country far far away, there are so many cats. The cats quickly dominate the whole area, they can even overwhelm humans! Mature cats plan to establish their own kingdom for their own kittens! The first thing to do is setting the border of their kingdom.

One day, they looked around and found $n$ beautiful bushes. They decided to use these bushes to mark the border of their kingdom.

Unfortunately, cats are not so good at geometry, they do not know any shapes except triangles. Hence, they would like to know if they can make a triangle border containing all of these bushes. The triangle border must have positive area. Please help them!

More formally, given $n$ points on a Cartesian coordinate plane, you should determine if there exists a triangle where all these points are on its sides. Points are allowed to coincide with any of the triangle’s vertices. Although all $n$ points have integer coordinates, the triangle’s vertices do not need to have integer coordinates.

## Input

The input contains multiple test cases. Each test case is described as below:

• The first line contains an integer $n$ — the number of points. $(1 \le n \le 10^5)$.

• In the next $n$ lines, the $i$-th line contains two integers $x_ i$ and $y_ i$ — the coordinates of the $i$-th point. $(-10^9 \le x_ i, y_ i \le 10^9)$.

The input is terminated with a line containing a single $0$.

Sum of $N$ over all test cases in one input file is at most $5 \cdot 10^5$.

## Output

For each test case, print ‘YES’ if there is a triangle satisfying the above constraints. Otherwise, print ‘NO’.

## Explanation for the first example Sample Input 1 Sample Output 1
4
0 0
0 2
2 0
2 2
5
0 0
0 2
2 0
2 2
1 1
0

YES
NO
{"ft_lang_label":"__label__en","ft_lang_prob":0.8855247,"math_prob":0.9865397,"size":1701,"snap":"2019-35-2019-39","text_gpt3_token_len":445,"char_repetition_ratio":0.10901591,"word_repetition_ratio":0.031847134,"special_character_ratio":0.26631394,"punctuation_ratio":0.101123594,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.98782,"pos_list":[0,1,2],"im_url_duplicate_count":[null,3,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-09-21T19:55:10Z\",\"WARC-Record-ID\":\"<urn:uuid:22bbf715-42b7-4da2-b719-36b5b494e3ef>\",\"Content-Length\":\"18088\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:f2b97664-b030-495e-a9db-acabe4a0567c>\",\"WARC-Concurrent-To\":\"<urn:uuid:ee716690-a111-43c0-9ad9-0ba5f774571e>\",\"WARC-IP-Address\":\"104.25.14.103\",\"WARC-Target-URI\":\"https://open.kattis.com/problems/kingdomofkittens\",\"WARC-Payload-Digest\":\"sha1:XPS3HBPV4OD3QS7PHMDOR6RLDBOY3BKV\",\"WARC-Block-Digest\":\"sha1:MZ5GF5ODHB5XTTWP3FG52RIAV225OTJS\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2019/CC-MAIN-2019-39/CC-MAIN-2019-39_segments_1568514574662.80_warc_CC-MAIN-20190921190812-20190921212812-00461.warc.gz\"}"}