|시간 제한||메모리 제한||제출||정답||맞힌 사람||정답 비율|
|1 초||512 MB||156||49||46||43.396%|
Inspired by a Mondrian painting you saw, you want to make a three-pane window out of three colored rectangles of glass. You are given the sizes of the three panes of glass. Can you arrange them into a square? You may rotate the panes, but the panes may not overlap.
The input consists of three lines. Each of the three lines gives the length and height of a pane of glass.
It is guaranteed that the lengths and heights are integers between 1 and 100, inclusive.
Print, on a single line, YES if the panes of glass can be combined to form a square; otherwise, print NO.
8 2 1 6 7 6