{"trustable":false,"sections":[{"title":"","value":{"format":"HTML","content":"\u003cp\u003e\u003cimg border\u003d\"0\" src\u003d\"http://www.lydsy.com/JudgeOnline/images/1997_1.jpg\" alt\u003d\"\"\u003e\u003c/p\u003e"}},{"title":"Input","value":{"format":"HTML","content":"\u003cp\u003e\u003cimg border\u003d\"0\" src\u003d\"http://www.lydsy.com/JudgeOnline/images/1997_2.jpg\" alt\u003d\"\"\u003e\u003c/p\u003e"}},{"title":"Output","value":{"format":"HTML","content":"\u003cp\u003e\u003cimg border\u003d\"0\" src\u003d\"http://www.lydsy.com/JudgeOnline/images/1997_3.jpg\" alt\u003d\"\"\u003e\u003c/p\u003e"}},{"title":"Sample Input","value":{"format":"HTML","content":"\u003cspan class\u003dsampledata\u003e2 \n6 9 \n1 4 \n1 5 \n1 6 \n2 4 \n2 5 \n2 6 \n3 4 \n3 5 \n3 6 \n1 4 2 5 3 6 \n5 5 \n1 2 \n2 3 \n3 4 \n4 5 \n5 1 \n1 2 3 4 5\n\u003c/span\u003e\u003c/div\u003e"}},{"title":"Sample Output","value":{"format":"HTML","content":"\u003cspan class\u003dsampledata\u003eNO\nYES\u003c/span\u003e\u003c/div\u003e"}},{"title":"Hint","value":{"format":"HTML","content":"\u003cp\u003e\u003c/p\u003e"}}]}