{"raw_statement":[{"iden":"problem statement","content":"There are four towns, numbered $1,2,3$ and $4$. Also, there are three roads. The $i$\\-th road connects different towns $a_i$ and $b_i$ bidirectionally. No two roads connect the same pair of towns. Other than these roads, there is no way to travel between these towns, but any town can be reached from any other town using these roads.\nDetermine if we can visit all the towns by traversing each of the roads exactly once."},{"iden":"constraints","content":"*   $1 \\leq a_i,b_i \\leq 4(1\\leq i\\leq 3)$\n*   $a_i$ and $b_i$ are different. $(1\\leq i\\leq 3)$\n*   No two roads connect the same pair of towns.\n*   Any town can be reached from any other town using the roads."},{"iden":"input","content":"Input is given from Standard Input in the following format:\n\n$a_1$ $b_1$\n$a_2$ $b_2$\n$a_3$ $b_3$"},{"iden":"sample input 1","content":"4 2\n1 3\n2 3"},{"iden":"sample output 1","content":"YES\n\nWe can visit all the towns in the order $1,3,2,4$."},{"iden":"sample input 2","content":"3 2\n2 4\n1 2"},{"iden":"sample output 2","content":"NO"},{"iden":"sample input 3","content":"2 1\n3 2\n4 3"},{"iden":"sample output 3","content":"YES"}],"translated_statement":null,"sample_group":[],"show_order":["default"],"formal_statement":null,"simple_statement":null,"has_page_source":true}