In a small but very proud high school it was decided to win ACM ICPC. This goal requires to compose as many teams of three as possible, but since there were only 6 students who wished to participate, the decision was to build exactly two teams.

After practice competition, participant number *i* got a score of *a*<sub class="lower-index">*i*</sub>. Team score is defined as sum of scores of its participants. High school management is interested if it's possible to build two teams with equal scores. Your task is to answer that question.
The single line contains six integers *a*<sub class="lower-index">1</sub>, ..., *a*<sub class="lower-index">6</sub> (0 ≤ *a*<sub class="lower-index">*i*</sub> ≤ 1000) — scores of the participants
In the first sample, first team can be composed of 1st, 2nd and 6th participant, second — of 3rd, 4th and 5th: team scores are 1 + 3 + 1 = 2 + 1 + 2 = 5.

In the second sample, score of participant number 6 is too high: his team score will be definitely greater.
1 3 2 1 2 1
YES
1 1 1 1 1 99
NO
1000 1000 1000 1000 1000 1000
YES
0 0 0 0 0 0
YES
633 609 369 704 573 416
NO
353 313 327 470 597 31
NO
835 638 673 624 232 266
NO
936 342 19 398 247 874
NO
417 666 978 553 271 488
NO
71 66 124 199 67 147
YES
54 26 0 171 239 12
YES
72 8 186 92 267 69
YES
180 179 188 50 75 214
YES
16 169 110 136 404 277
YES
101 400 9 200 300 10
YES
101 400 200 9 300 10
YES
101 200 400 9 300 10
YES
101 400 200 300 9 10
YES
101 200 400 300 9 10
YES
4 4 4 4 5 4
NO
2 2 2 2 2 1
NO
1000 1000 999 1000 1000 1000
NO
129 1 10 29 8 111
NO
1000 1000 1000 999 999 1000
YES
101 200 300 400 9 10
YES
101 400 200 300 10 9
YES
101 200 400 300 10 9
YES
101 200 300 400 10 9
YES
101 200 300 10 400 9
YES
1 1 1 1 1 5
NO
8 1 1 3 3 0
NO
1 1 2 2 3 3
YES
1 2 2 5 2 5
NO
1 2 3 6 6 6
NO
36 91 7 86 51 89
NO
10 1 1 1 23 24
NO
1 1 1 10 23 24
NO
20 10 1 2 3 44
NO
7 0 14 11 8 6
NO
100 496 1 1 1 1
NO
5 4 2 5 11 3
NO
1 3 7 8 8 9
YES
1 3 4 5 18 19
YES
5 5 1 2 2 15
NO
2 1 0 0 0 5
NO
1 6 6 1 20 2
NO
2 10 0 0 0 0
NO
1 1 3 1 1 11
NO
10 10 1 1 1 37
NO
1 1 0 0 0 4
NO
1 1 10 1 1 28
NO
1 5 5 5 6 8
YES
0 2 3 4 4 5
YES
class CodeforcesTask890ASolution:
    def __init__(self):
        self.result = ''
        self.scores = []

    def read_input(self):
        self.scores = [int(x) for x in input().split(" ")]

    def process_task(self):
            result = False
            perms = [([5,2,1],[0,4,3]),
([1,3,0],[5,4,2]),
([4,1,2],[3,0,5]),
([2,3,0],[4,1,5]),
([4,5,3],[1,2,0]),
([3,4,1],[5,0,2]),
([3,5,2],[1,4,0]),
([0,4,2],[5,1,3]),
([3,0,1],[4,2,5]),
([4,3,5],[2,0,1]),
([4,0,3],[1,2,5]),
([1,2,5],[3,0,4]),
([3,5,1],[0,4,2]),
([3,2,4],[0,1,5]),
([2,5,1],[0,3,4]),
([2,3,4],[1,0,5]),
([0,1,5],[3,2,4]),
([5,4,1],[0,2,3]),
([5,2,3],[0,1,4]),
([4,1,0],[3,2,5]),
([4,1,0],[5,2,3]),
([2,3,1],[4,0,5]),
([4,0,1],[2,3,5]),
([2,4,5],[3,1,0]),
([1,5,0],[3,2,4]),
([3,0,1],[4,5,2]),
([2,0,3],[1,4,5]),
([0,3,1],[2,5,4]),
([5,2,3],[1,4,0]),
([1,0,4],[3,2,5]),
([0,2,3],[4,5,1]),
([0,3,1],[2,4,5]),
([4,1,0],[3,5,2]),
([5,1,2],[3,0,4]),
([1,4,2],[0,3,5]),
([5,3,4],[0,2,1]),
([5,3,2],[0,1,4]),
([2,5,3],[1,4,0]),
([5,2,4],[0,3,1]),
([5,1,3],[0,4,2]),
([5,1,4],[3,2,0]),
([4,1,0],[2,3,5]),
([3,4,5],[2,1,0]),
([5,1,0],[4,3,2]),
([1,0,4],[3,2,5]),
([5,3,1],[4,0,2]),
([3,0,4],[5,2,1]),
([0,3,2],[4,1,5]),
([0,4,1],[2,3,5]),
([5,4,0],[2,3,1]),
([1,5,0],[4,3,2]),
([1,2,3],[0,5,4]),
([4,5,0],[3,2,1]),
([0,2,5],[1,3,4]),
([1,0,4],[5,3,2]),
([4,0,3],[2,1,5]),
([2,5,4],[0,1,3]),
([5,0,2],[1,4,3]),
([4,2,5],[0,3,1]),
([2,5,1],[4,3,0]),
([1,3,4],[0,2,5]),
([4,1,2],[0,3,5]),
([5,3,1],[2,0,4]),
([3,4,1],[2,5,0]),
([4,5,2],[3,0,1]),
([4,3,1],[2,5,0]),
([5,2,4],[0,1,3]),
([5,2,3],[0,1,4]),
([2,3,1],[5,0,4]),
([2,4,3],[1,0,5]),
([0,2,3],[1,4,5]),
([1,3,5],[4,0,2]),
([3,2,4],[5,0,1]),
([0,3,2],[4,1,5]),
([3,1,0],[2,4,5]),
([5,4,2],[3,0,1]),
([2,0,1],[5,3,4]),
([5,3,4],[0,2,1]),
([1,3,0],[2,4,5]),
([0,4,3],[5,2,1]),
([5,0,4],[2,1,3]),
([4,2,3],[1,0,5]),
([5,0,2],[1,3,4]),
([0,4,5],[3,1,2]),
([4,3,1],[2,5,0]),
([1,5,3],[4,2,0]),
([3,2,5],[0,4,1]),
([3,2,0],[4,1,5]),
([5,3,0],[2,4,1]),
([4,1,5],[2,3,0]),
([5,2,0],[3,4,1]),
([0,4,1],[3,2,5]),
([1,0,5],[4,2,3]),
([2,1,0],[4,3,5]),
([1,0,5],[3,2,4]),
([2,4,0],[5,3,1]),
([4,2,5],[0,1,3]),
([4,1,5],[0,2,3]),
([5,1,0],[2,4,3]),
([1,3,4],[2,5,0]),
([5,1,4],[0,2,3]),
([4,0,2],[5,3,1]),
([5,1,0],[3,4,2]),
([0,1,5],[2,4,3]),
([1,2,4],[5,3,0]),
([3,2,1],[4,0,5]),
([0,1,4],[3,5,2]),
([2,3,4],[5,0,1]),
([5,4,1],[2,0,3]),
([3,4,1],[2,0,5]),
([1,0,5],[3,4,2]),
([5,3,0],[4,1,2]),
([5,0,4],[2,3,1]),
([0,2,1],[3,4,5]),
([1,2,4],[0,3,5]),
([1,5,4],[2,0,3]),
([1,5,3],[4,2,0]),
([0,3,5],[1,2,4]),
([3,2,0],[5,4,1]),
([0,3,4],[1,5,2]),
([2,1,5],[3,4,0]),
([4,1,5],[0,3,2]),
([1,0,3],[5,2,4]),
([3,1,5],[2,4,0]),
([2,4,0],[3,5,1]),
([2,3,5],[0,1,4]),
([2,0,5],[1,3,4]),
([0,2,1],[3,5,4]),
([4,2,3],[1,5,0]),
([1,2,3],[4,5,0]),
([2,1,5],[0,3,4]),
([3,1,5],[2,0,4]),
([1,5,0],[4,3,2]),
([2,1,3],[0,5,4]),
([3,4,5],[2,1,0]),
([4,3,0],[1,5,2]),
([5,3,1],[0,4,2]),
([4,2,1],[0,5,3]),
([4,1,0],[2,5,3]),
([2,3,4],[1,0,5]),
([4,2,0],[5,1,3]),
([0,4,5],[1,3,2]),
([5,4,0],[3,2,1]),
([0,3,4],[1,2,5]),
([5,4,1],[2,3,0]),
([5,0,4],[3,2,1]),
([4,1,5],[2,0,3]),
([2,1,4],[3,5,0]),
([5,4,3],[2,0,1]),
([0,2,5],[4,1,3]),
([1,5,2],[3,4,0]),
([2,3,1],[4,0,5]),
([5,4,1],[0,2,3]),
([0,2,4],[5,1,3]),
([0,1,2],[5,3,4]),
([5,2,0],[3,4,1]),
([0,3,4],[1,5,2]),
([3,5,1],[4,0,2]),
([3,1,2],[0,5,4]),
([0,5,3],[1,4,2]),
([5,4,2],[0,1,3]),
([5,1,0],[4,3,2]),
([3,1,4],[5,2,0]),
([2,1,5],[3,4,0]),
([2,3,1],[0,4,5]),
([3,2,1],[0,4,5]),
([2,5,4],[0,1,3]),
([2,1,5],[0,4,3]),
([2,3,1],[5,4,0]),
([3,2,4],[5,0,1]),
([4,2,5],[3,1,0]),
([2,0,3],[1,5,4]),
([2,1,0],[4,5,3]),
([2,4,0],[1,3,5]),
([4,5,3],[0,2,1]),
([5,1,2],[4,3,0]),
([1,0,2],[5,3,4]),
([4,3,2],[5,0,1]),
([4,3,5],[1,2,0]),
([1,5,4],[3,0,2]),
([1,4,2],[5,0,3]),
([2,3,5],[4,0,1]),
([4,0,1],[3,2,5]),
([1,4,0],[3,5,2]),
([3,2,1],[4,5,0]),
([1,2,4],[0,5,3]),
([3,2,1],[5,0,4]),
([0,4,5],[1,3,2]),
([1,3,2],[5,0,4]),
([5,4,3],[1,2,0]),
([3,5,4],[2,1,0]),
([4,3,0],[1,5,2]),
([0,1,5],[2,3,4]),
([5,4,2],[1,3,0]),
([4,2,1],[0,3,5]),
([5,3,1],[4,0,2]),
([5,2,3],[1,0,4]),
([2,0,4],[5,3,1]),
([2,3,1],[0,4,5]),
([5,0,2],[4,3,1]),
([0,1,4],[5,2,3]),
([5,3,1],[2,0,4]),
([1,5,3],[4,2,0]),
([3,4,1],[2,0,5]),
([0,3,2],[5,4,1]),
([5,0,1],[2,3,4]),
([1,2,4],[0,3,5]),
([1,5,2],[4,3,0]),
([3,5,0],[4,2,1]),
([4,0,2],[3,5,1]),
([1,4,5],[0,3,2]),
([1,0,2],[4,3,5]),
([5,0,1],[4,3,2]),
([2,0,5],[4,1,3]),
([4,3,5],[0,2,1]),
([4,5,0],[2,1,3]),
([2,5,1],[4,3,0]),
([0,3,5],[1,4,2]),
([0,2,1],[5,3,4]),
([2,5,3],[0,1,4]),
([2,3,4],[0,1,5]),
([3,0,5],[2,4,1]),
([0,1,2],[4,3,5]),
([3,0,2],[1,5,4]),
([1,3,0],[4,2,5]),
([5,3,2],[0,1,4]),
([0,1,5],[2,3,4]),
([0,1,3],[2,4,5]),
([4,5,2],[0,1,3]),
([0,2,5],[4,3,1]),
([3,5,2],[0,4,1]),
([5,0,1],[2,3,4]),
([5,1,0],[3,4,2]),
([0,1,2],[3,5,4]),
([1,5,0],[3,2,4]),
([1,0,4],[3,5,2]),
([3,4,0],[1,5,2]),
([5,0,3],[2,4,1]),
([2,4,0],[1,5,3]),
([3,5,2],[0,1,4]),
([3,0,5],[4,2,1]),
([5,1,0],[4,2,3]),
([5,2,4],[3,0,1]),
([4,2,1],[5,0,3]),
([0,3,5],[4,2,1]),
([2,3,0],[4,5,1]),
([0,4,3],[1,2,5]),
([2,5,1],[4,3,0]),
([5,1,2],[3,0,4]),
([3,2,1],[4,0,5]),
([2,0,4],[5,3,1]),
([0,4,3],[2,5,1]),
([4,0,1],[5,2,3]),
([0,5,2],[4,1,3]),
([3,4,2],[5,1,0]),
([4,1,0],[2,5,3]),
([4,3,0],[2,1,5]),
([5,4,3],[0,1,2]),
([2,0,3],[4,1,5]),
([5,3,4],[2,0,1]),
([5,1,3],[2,0,4]),
([5,0,1],[4,3,2]),
([3,5,4],[0,1,2]),
([5,3,4],[1,2,0]),
([2,5,4],[1,0,3]),
([3,5,4],[0,1,2]),
([5,3,0],[1,4,2]),
([5,2,0],[1,3,4]),
([2,3,4],[0,5,1]),
([0,4,3],[2,5,1]),
([4,5,1],[3,2,0]),
([4,3,2],[1,0,5]),
([4,1,2],[5,0,3]),
([0,4,5],[1,3,2]),
([5,0,3],[4,2,1]),
([1,2,3],[5,4,0]),
([3,4,2],[1,0,5]),
([3,0,5],[4,1,2]),
([0,4,3],[2,5,1]),
([2,3,5],[1,4,0]),
([2,1,0],[5,3,4]),
([5,4,2],[1,3,0]),
([4,2,1],[0,5,3]),
([1,5,2],[4,0,3]),
([0,5,1],[2,3,4]),
([0,1,5],[4,3,2]),
([2,3,5],[4,0,1]),
([3,5,0],[1,2,4]),
([3,1,2],[4,0,5]),
([2,4,0],[5,1,3]),
([1,2,4],[5,0,3]),
([4,0,3],[5,2,1]),
([4,2,5],[0,1,3]),
([3,0,1],[4,5,2]),
([3,0,5],[2,4,1]),
([4,0,1],[3,5,2]),
([2,1,4],[0,3,5]),
([0,4,1],[3,5,2]),
([0,3,4],[2,1,5]),
([5,4,0],[3,1,2]),
([5,4,1],[3,2,0]),
([2,1,0],[4,3,5]),
([2,3,1],[4,5,0]),
([4,3,1],[2,5,0]),
([5,1,4],[2,3,0]),
([4,2,1],[5,0,3]),
([3,5,1],[0,2,4]),
([2,1,4],[3,0,5]),
([0,3,4],[2,5,1]),
([4,5,3],[1,2,0]),
([3,0,5],[2,1,4]),
([3,5,2],[1,0,4]),
([0,5,2],[1,3,4]),
([5,1,3],[4,0,2]),
([4,5,1],[3,0,2]),
([1,0,3],[5,2,4]),
([2,4,5],[1,3,0]),
([3,5,4],[2,0,1]),
([2,1,4],[5,0,3]),
([2,3,4],[1,5,0]),
([1,0,2],[5,3,4]),
([4,3,1],[2,0,5]),
([0,1,2],[5,4,3]),
([3,2,5],[4,0,1]),
([4,5,3],[1,0,2]),
([0,1,2],[3,4,5]),
([4,1,0],[3,2,5]),
([1,4,3],[2,0,5]),
([3,5,0],[2,1,4]),
([3,1,2],[0,5,4]),
([1,2,0],[5,4,3]),
([2,4,0],[1,3,5]),
([1,4,3],[0,2,5]),
([1,4,2],[5,0,3]),
([0,5,1],[4,2,3]),
([1,0,4],[2,5,3]),
([5,1,2],[3,4,0]),
([4,3,5],[0,2,1]),
([2,4,5],[0,1,3]),
([4,0,2],[5,1,3]),
([0,2,1],[4,3,5]),
([2,1,4],[3,0,5]),
([2,3,0],[5,4,1]),
([4,0,2],[1,3,5]),
([2,0,5],[3,1,4]),
([0,3,2],[4,1,5]),
([0,4,3],[2,1,5]),
([3,1,2],[5,0,4]),
([4,1,0],[5,2,3]),
([1,4,2],[5,0,3]),
([3,2,5],[4,1,0]),
([0,3,5],[4,1,2]),
([5,3,2],[1,4,0]),
([5,2,4],[3,0,1]),
([3,0,4],[2,1,5]),
([2,3,1],[5,0,4]),
([0,3,4],[2,1,5]),
([0,2,4],[3,5,1]),
([5,2,1],[0,4,3]),
([5,4,0],[1,2,3]),
([1,2,0],[5,4,3]),
([1,2,4],[3,5,0]),
([1,5,2],[4,3,0]),
([2,3,1],[5,0,4]),
([1,0,5],[3,4,2]),
([5,3,4],[2,0,1]),
([0,5,2],[3,4,1]),
([1,3,4],[5,2,0]),
([4,2,0],[1,5,3]),
([4,2,3],[5,0,1]),
([0,3,1],[2,5,4]),
([0,5,4],[3,1,2]),
([4,2,3],[1,5,0]),
([1,0,5],[3,2,4]),
([3,4,1],[2,0,5]),
([1,2,5],[0,3,4]),
([0,1,3],[2,4,5]),
([1,5,4],[2,3,0]),
([1,3,2],[0,5,4]),
([5,2,3],[0,1,4]),
([5,0,4],[1,3,2]),
([0,2,4],[1,3,5]),
([2,4,3],[1,0,5]),
([3,0,4],[2,1,5]),
([4,0,2],[3,5,1]),
([3,1,2],[5,4,0]),
([5,4,1],[0,3,2]),
([5,0,4],[1,3,2]),
([4,0,2],[1,5,3]),
([5,0,3],[2,1,4]),
([2,3,4],[1,5,0]),
([5,0,2],[4,3,1]),
([4,0,3],[2,5,1]),
([4,2,1],[0,3,5]),
([4,1,0],[5,2,3]),
([2,3,5],[4,1,0]),
([5,0,2],[4,3,1]),
([4,1,0],[3,5,2]),
([4,0,3],[1,5,2]),
([0,2,3],[5,4,1]),
([3,5,2],[0,4,1]),
([1,3,4],[0,5,2]),
([3,2,1],[4,0,5]),
([3,4,5],[0,1,2]),
([1,5,4],[0,3,2]),
([0,4,5],[3,2,1]),
([5,4,2],[0,3,1]),
([2,0,3],[4,1,5]),
([2,5,1],[4,0,3]),
([3,5,0],[4,2,1]),
([0,1,3],[4,5,2]),
([0,2,4],[5,3,1]),
([3,1,5],[4,2,0]),
([3,1,0],[2,5,4]),
([5,4,2],[1,0,3]),
([5,2,0],[3,1,4]),
([0,4,1],[5,3,2]),
([5,3,4],[2,0,1]),
([0,5,2],[4,3,1]),
([2,4,1],[5,0,3]),
([4,2,5],[3,0,1]),
([1,3,0],[4,2,5]),
([1,2,3],[4,0,5]),
([5,1,2],[0,4,3]),
([3,1,0],[2,4,5]),
([1,0,3],[4,2,5]),
([3,1,2],[5,4,0]),
([0,5,1],[3,2,4]),
([4,0,5],[1,2,3]),
([0,2,1],[3,5,4]),
([4,0,2],[3,1,5]),
([0,2,4],[3,1,5]),
([3,4,5],[0,1,2]),
([2,1,4],[0,5,3]),
([5,1,4],[2,3,0]),
([4,2,5],[1,3,0]),
([5,0,2],[1,4,3]),
([1,3,5],[0,4,2]),
([2,5,3],[1,0,4]),
([3,1,2],[5,0,4]),
([3,1,5],[0,4,2]),
([3,1,5],[2,0,4]),
([0,1,4],[5,3,2]),
([4,5,2],[0,1,3]),
([0,4,2],[3,1,5]),
([2,5,0],[4,3,1]),
([2,3,0],[4,5,1]),
([0,5,2],[4,1,3]),
([2,3,4],[0,5,1]),
([0,3,5],[4,1,2]),
([4,5,3],[2,1,0]),
([3,1,4],[0,2,5]),
([0,1,4],[3,2,5]),
([5,3,4],[0,1,2]),
([0,4,5],[2,3,1]),
([0,3,4],[2,1,5]),
([1,4,5],[2,0,3]),
([2,4,0],[3,1,5]),
([0,5,2],[4,3,1]),
([5,0,1],[4,2,3]),
([5,3,4],[1,0,2]),
([0,2,5],[1,4,3]),
([2,1,3],[4,0,5]),
([5,1,3],[2,4,0]),
([4,3,0],[1,2,5]),
([3,0,5],[2,1,4]),
([4,0,3],[5,1,2]),
([4,1,0],[3,2,5]),
([1,4,5],[3,0,2]),
([3,5,1],[0,2,4]),
([3,2,5],[0,1,4]),
([4,2,1],[0,3,5]),
([1,2,4],[5,3,0]),
([2,4,0],[5,3,1]),
([0,3,1],[4,2,5]),
([0,4,2],[5,1,3]),
([3,5,1],[2,4,0]),
([3,1,5],[2,4,0]),
([2,5,3],[1,4,0]),
([2,4,0],[5,3,1]),
([3,2,0],[4,5,1]),
([4,2,3],[1,5,0]),
([5,0,4],[3,1,2]),
([5,4,1],[2,3,0]),
([0,5,4],[2,3,1]),
([3,5,1],[4,0,2]),
([3,5,1],[0,2,4]),
([1,2,0],[3,5,4]),
([3,0,2],[4,5,1]),
([3,4,1],[0,5,2]),
([0,3,4],[2,5,1]),
([5,1,4],[0,3,2]),
([2,4,5],[3,1,0]),
([0,5,4],[3,2,1]),
([4,2,5],[1,0,3]),
([0,2,5],[3,4,1]),
([2,1,0],[3,5,4]),
([4,1,0],[3,5,2]),
([1,0,5],[4,3,2]),
([2,4,3],[1,5,0]),
([5,2,0],[4,1,3]),
([3,5,0],[4,2,1]),
([3,0,2],[4,1,5]),
([3,5,0],[4,2,1]),
([2,4,3],[0,1,5]),
([1,4,2],[3,0,5]),
([3,4,5],[1,0,2]),
([0,5,1],[3,4,2]),
([5,2,1],[0,3,4]),
([0,2,5],[4,3,1]),
([1,2,0],[3,4,5]),
([0,2,4],[1,5,3]),
([4,5,2],[3,1,0]),
([5,3,2],[0,1,4]),
([2,3,0],[4,5,1]),
([4,1,0],[2,5,3]),
([5,4,0],[1,2,3]),
([2,5,3],[1,4,0]),
([3,0,2],[5,1,4]),
([1,2,5],[4,3,0]),
([5,4,1],[3,2,0]),
([2,0,5],[1,4,3]),
([3,2,0],[4,1,5]),
([5,3,2],[4,0,1]),
([0,2,5],[1,3,4]),
([0,3,5],[4,1,2]),
([5,1,0],[4,2,3]),
([2,5,3],[4,0,1]),
([5,2,4],[1,3,0]),
([5,4,0],[3,1,2]),
([0,5,3],[4,1,2]),
([4,5,3],[1,0,2]),
([2,0,3],[5,4,1]),
([1,0,5],[2,3,4]),
([2,3,0],[1,5,4]),
([1,2,4],[5,0,3]),
([4,0,1],[3,5,2]),
([4,2,0],[5,3,1]),
([4,1,3],[2,0,5]),
([1,3,2],[4,5,0]),
([1,5,0],[4,2,3]),
([5,4,2],[0,3,1]),
([2,1,0],[5,4,3]),
([4,0,3],[1,2,5]),
([5,0,4],[2,3,1]),
([4,3,1],[5,2,0]),
([4,3,5],[1,0,2]),
([5,3,0],[4,1,2]),
([2,3,0],[5,1,4]),
([0,5,3],[1,2,4]),
([0,2,1],[5,4,3]),
([4,1,2],[5,0,3]),
([2,4,0],[1,3,5]),
([3,5,1],[2,0,4]),
([5,4,2],[0,1,3]),
([2,5,3],[0,1,4]),
([0,5,2],[1,3,4]),
([4,1,2],[0,3,5]),
([1,5,3],[2,4,0]),
([3,5,1],[4,2,0]),
([5,2,4],[0,1,3]),
([4,1,5],[0,3,2]),
([2,4,0],[1,3,5]),
([3,5,2],[0,4,1]),
([2,3,4],[5,1,0]),
([1,0,4],[3,5,2]),
([3,1,5],[4,2,0]),
([2,4,1],[3,0,5]),
([0,4,1],[3,2,5]),
([0,4,1],[2,3,5]),
([5,0,4],[3,1,2]),
([2,1,3],[4,5,0]),
([4,1,0],[2,3,5]),
([0,2,5],[3,4,1]),
([3,0,4],[1,5,2]),
([5,1,2],[4,0,3]),
([5,0,1],[3,2,4]),
([5,2,4],[3,0,1]),
([1,4,5],[3,0,2]),
([4,3,5],[2,0,1]),
([5,1,4],[3,2,0]),
([2,5,0],[4,3,1]),
([4,5,1],[0,2,3]),
([4,1,0],[2,5,3]),
([2,5,0],[3,1,4]),
([4,5,0],[1,3,2]),
([1,2,5],[4,3,0]),
([2,3,5],[4,1,0]),
([1,4,5],[0,2,3]),
([1,4,2],[3,5,0]),
([5,1,2],[3,0,4]),
([0,5,2],[1,3,4]),
([0,1,5],[2,4,3]),
([4,3,5],[2,1,0]),
([5,4,2],[1,3,0]),
([0,1,4],[2,3,5]),
([3,5,2],[0,1,4]),
([1,3,4],[5,2,0]),
([0,1,2],[3,5,4]),
([3,1,4],[5,2,0]),
([4,5,3],[0,2,1]),
([4,0,1],[5,2,3]),
([0,3,4],[5,2,1]),
([4,3,5],[1,0,2]),
([4,0,1],[2,3,5]),
([0,5,1],[2,3,4]),
([1,2,3],[0,4,5]),
([3,2,1],[5,4,0]),
([5,2,1],[4,3,0]),
([2,0,1],[3,4,5]),
([5,3,0],[1,2,4]),
([2,1,4],[0,3,5]),
([1,5,3],[2,4,0]),
([2,3,0],[4,5,1]),
([4,3,5],[0,1,2]),
([5,3,1],[0,2,4]),
([2,5,0],[3,1,4]),
([5,4,1],[2,3,0]),
([1,4,5],[2,3,0]),
([0,5,3],[1,4,2]),
([3,4,5],[2,1,0]),
([4,5,2],[1,0,3]),
([2,0,1],[4,3,5]),
([2,1,3],[0,5,4]),
([2,5,0],[4,3,1]),
([1,4,2],[0,3,5]),
([0,2,5],[3,4,1]),
([2,5,1],[3,4,0]),
([4,2,5],[1,0,3]),
([0,3,5],[2,4,1]),
([2,0,3],[1,4,5]),
([2,1,0],[4,5,3]),
([5,4,1],[3,0,2]),
([2,3,5],[0,4,1]),
([0,4,5],[1,3,2]),
([0,4,2],[1,5,3]),
([3,4,0],[1,5,2]),
([3,4,0],[5,2,1]),
([3,0,1],[4,5,2]),
([5,1,4],[2,3,0]),
([5,0,1],[4,2,3]),
([1,4,3],[2,5,0]),
([0,5,1],[4,3,2]),
([2,4,0],[5,3,1]),
([2,1,5],[4,0,3]),
([5,1,4],[3,2,0]),
([2,5,0],[4,3,1]),
([5,0,1],[3,4,2]),
([2,5,3],[0,1,4]),
([3,5,0],[2,4,1]),
([1,2,0],[4,3,5]),
([4,1,0],[2,5,3]),
([2,0,3],[5,4,1]),
([0,3,1],[5,2,4]),
([5,3,2],[0,1,4]),
([0,4,1],[3,2,5]),
([5,0,3],[2,4,1]),
([0,1,4],[2,3,5]),
([4,5,2],[3,1,0]),
([3,4,1],[2,5,0]),
([3,5,2],[0,1,4]),
([3,0,4],[5,2,1]),
([1,0,4],[3,5,2]),
([0,3,2],[5,4,1]),
([1,5,2],[3,4,0]),
([1,0,2],[3,4,5]),
([3,0,4],[5,1,2]),
([2,0,3],[5,1,4]),
([4,3,5],[0,1,2]),
([1,5,4],[3,0,2]),
([0,2,4],[3,5,1]),
([0,1,4],[3,5,2]),
([5,3,0],[1,4,2]),
([2,3,5],[1,4,0]),
([3,5,4],[1,0,2]),
([0,1,5],[2,3,4]),
([1,0,4],[3,2,5]),
([0,5,1],[3,4,2]),
([5,2,3],[4,1,0]),
([5,0,2],[1,3,4]),
([0,4,2],[3,5,1]),
([3,1,5],[0,2,4]),
([4,5,3],[2,1,0]),
([3,4,2],[0,1,5]),
([3,1,0],[2,4,5]),
([4,1,2],[3,0,5]),
([5,1,2],[0,4,3]),
([5,1,0],[3,4,2]),
([3,0,4],[1,2,5]),
([0,5,4],[1,2,3]),
([2,1,4],[5,0,3]),
([2,1,5],[3,4,0]),
([5,0,4],[3,2,1]),
([1,3,0],[2,5,4]),
([4,3,0],[1,5,2]),
([0,3,2],[5,4,1]),
([4,0,1],[5,2,3]),
([5,4,3],[0,2,1]),
([5,0,1],[3,4,2]),
([0,5,1],[3,2,4]),
([5,3,1],[2,0,4]),
([1,0,3],[5,2,4]),
([3,5,2],[1,0,4]),
([5,2,0],[1,3,4]),
([2,1,4],[3,5,0]),
([0,2,1],[4,3,5]),
([5,2,1],[3,4,0]),
([4,5,3],[1,0,2]),
([0,1,5],[2,4,3]),
([1,3,4],[2,5,0]),
([2,5,1],[4,0,3]),
([1,0,4],[2,3,5]),
([1,3,0],[5,2,4]),
([3,5,1],[0,2,4]),
([2,1,5],[3,4,0]),
([3,1,4],[2,5,0]),
([2,3,0],[5,1,4]),
([1,4,5],[2,0,3]),
([1,2,3],[5,4,0]),
([5,0,2],[3,4,1]),
([1,0,5],[2,3,4]),
([0,1,5],[4,2,3]),
([1,0,3],[5,2,4]),
([1,4,0],[3,2,5]),
([4,1,5],[2,0,3]),
([1,2,0],[4,3,5]),
([0,2,4],[5,3,1]),
([1,2,0],[5,3,4]),
([1,3,4],[5,0,2]),
([4,0,2],[3,5,1]),
([4,2,0],[3,5,1]),
([2,3,5],[0,4,1]),
([1,0,3],[2,4,5]),
([0,3,5],[1,4,2]),
([0,3,5],[2,4,1]),
([4,1,2],[0,5,3]),
([2,4,5],[0,3,1]),
([0,3,4],[1,5,2]),
([2,3,1],[0,5,4]),
([2,0,1],[5,3,4]),
([2,0,1],[5,3,4]),
([2,4,3],[0,5,1]),
([3,4,1],[0,5,2]),
([1,4,5],[0,3,2]),
([4,0,5],[2,1,3]),
([2,4,5],[3,0,1]),
([1,3,2],[4,0,5]),
([0,1,3],[2,4,5]),
([3,2,5],[4,0,1]),
([4,0,5],[2,3,1]),
([1,2,0],[5,4,3]),
([4,2,0],[1,3,5]),
([0,1,3],[2,4,5]),
([0,5,3],[1,4,2]),
([4,2,0],[3,1,5]),
([0,2,4],[1,3,5]),
([0,2,4],[5,1,3]),
([4,2,1],[0,5,3]),
([4,3,2],[1,5,0]),
([1,0,5],[4,2,3]),
([3,0,5],[4,2,1]),
([2,5,1],[4,3,0]),
([4,0,1],[3,2,5]),
([5,3,0],[1,2,4]),
([5,1,3],[2,0,4]),
([2,5,4],[0,3,1]),
([1,5,0],[2,4,3]),
([2,5,4],[3,1,0]),
([1,0,3],[2,4,5]),
([0,3,4],[2,5,1]),
([2,0,3],[1,4,5]),
([4,3,5],[2,0,1]),
([4,3,2],[1,0,5]),
([0,3,4],[1,5,2]),
([2,5,4],[3,0,1]),
([4,2,0],[3,1,5]),
([4,3,2],[5,0,1]),
([3,2,1],[4,5,0]),
([4,2,3],[5,1,0]),
([1,5,2],[3,0,4]),
([1,3,4],[2,0,5]),
([0,4,3],[2,1,5]),
([2,0,3],[4,5,1]),
([4,5,1],[3,2,0]),
([5,0,4],[3,2,1]),
([3,5,2],[4,1,0]),
([2,0,3],[1,5,4]),
([3,5,0],[4,1,2]),
([4,0,5],[1,3,2]),
([3,2,4],[5,1,0]),
([1,0,4],[3,2,5]),
([3,1,5],[0,4,2]),
([3,1,0],[2,5,4]),
([0,5,4],[3,2,1]),
([5,1,3],[2,0,4]),
([3,4,1],[0,2,5]),
([2,5,1],[0,4,3]),
([3,2,5],[0,4,1]),
([2,4,3],[1,5,0]),
([0,4,5],[3,2,1]),
([4,0,2],[1,3,5]),
([2,1,0],[4,3,5]),
([2,3,4],[0,5,1]),
([0,4,5],[1,3,2]),
([0,4,3],[5,1,2]),
([2,1,3],[0,4,5]),
([0,3,5],[1,2,4]),
([3,5,2],[1,4,0]),
([5,2,3],[0,1,4]),
([2,3,1],[0,4,5]),
([1,3,5],[0,2,4]),
([1,5,2],[3,0,4]),
([0,1,4],[2,5,3]),
([1,3,0],[4,5,2]),
([1,4,5],[3,0,2]),
([2,5,4],[0,1,3]),
([3,4,2],[1,0,5]),
([5,2,1],[4,0,3]),
([4,1,2],[5,3,0]),
([1,4,3],[2,5,0]),
([5,1,0],[3,4,2]),
([3,1,4],[2,0,5]),
([3,4,5],[1,0,2]),
([1,4,5],[2,0,3]),
([5,4,3],[0,1,2]),
([3,0,1],[4,2,5]),
([2,1,3],[4,5,0]),
([4,0,2],[3,1,5]),
([2,0,5],[1,4,3]),
([4,3,0],[5,1,2]),
([3,0,5],[2,1,4]),
([1,0,4],[5,2,3]),
([1,4,0],[3,5,2]),
([2,4,1],[5,0,3]),
([5,3,2],[1,4,0]),
([4,1,3],[2,0,5]),
([2,4,0],[5,3,1]),
([3,4,2],[1,0,5]),
([3,2,0],[4,1,5]),
([0,2,5],[3,1,4]),
([3,0,2],[5,1,4]),
([4,3,0],[5,1,2]),
([5,2,1],[3,4,0]),
([5,2,4],[3,1,0]),
([0,3,5],[1,2,4]),
([3,2,0],[4,1,5]),
([0,2,5],[4,1,3]),
([0,4,3],[5,2,1]),
([5,3,0],[1,4,2]),
([4,3,1],[5,0,2]),
([5,0,4],[1,3,2]),
([2,3,0],[4,1,5]),
([3,2,1],[5,4,0]),
([0,2,5],[3,4,1]),
([5,1,2],[3,4,0]),
([0,1,3],[4,5,2]),
([5,0,2],[3,4,1]),
([2,4,3],[1,5,0]),
([0,5,2],[4,3,1]),
([2,3,1],[5,0,4]),
([5,0,3],[4,1,2]),
([3,1,4],[2,0,5]),
([5,0,4],[3,2,1]),
([5,3,1],[0,2,4]),
([2,0,5],[4,3,1]),
([2,5,0],[4,3,1]),
([1,3,0],[5,2,4]),
([1,0,4],[2,3,5]),
([0,1,2],[5,4,3]),
([1,0,4],[3,5,2]),
([3,2,0],[4,5,1]),
([4,3,2],[1,5,0]),
([5,2,4],[1,0,3]),
([5,1,2],[3,4,0]),
([2,5,0],[3,1,4]),
([4,0,1],[3,2,5]),
([3,0,4],[2,1,5]),
([2,1,0],[3,4,5]),
([3,1,5],[2,0,4]),
([1,3,5],[0,2,4]),
([5,1,3],[4,2,0]),
([0,4,3],[1,5,2]),
([1,3,2],[0,4,5]),
([0,4,5],[1,2,3]),
([2,3,5],[4,1,0]),
([4,3,0],[5,1,2]),
([0,5,2],[1,3,4]),
([0,5,2],[4,3,1]),
([2,4,3],[5,0,1]),
([4,0,1],[5,3,2]),
([4,3,0],[2,5,1]),
([3,4,2],[1,0,5]),
([2,5,4],[3,1,0]),
([0,1,2],[4,3,5]),
([5,2,0],[1,4,3]),
([2,0,3],[5,4,1]),
([1,2,0],[5,3,4]),
([3,0,4],[1,2,5]),
([0,1,5],[2,3,4]),
([4,2,0],[3,1,5]),
([2,3,4],[5,0,1]),
([4,2,1],[5,0,3]),
([2,0,3],[1,5,4]),
([1,3,4],[0,2,5]),
([3,1,2],[0,4,5]),
([5,1,4],[2,3,0]),
([5,2,1],[0,3,4]),
([1,4,5],[3,2,0]),
([0,3,2],[4,5,1]),
([3,5,0],[1,4,2]),
([5,4,2],[3,1,0]),
([5,2,1],[4,0,3]),
([3,0,1],[5,2,4]),
([4,2,3],[0,1,5]),
([3,2,1],[4,0,5]),
([0,2,5],[3,4,1]),
([0,5,1],[2,3,4]),
([3,0,2],[5,4,1]),
([4,0,3],[1,2,5]),
([1,2,5],[4,3,0]),
([3,1,5],[4,2,0]),
([3,0,1],[4,5,2]),
([0,2,1],[4,5,3]),
([4,3,5],[2,0,1]),
([5,4,2],[3,1,0]),
([3,4,0],[5,1,2]),
([3,1,5],[2,0,4]),
([5,1,4],[2,0,3]),
([0,1,2],[4,5,3]),
([3,2,1],[0,4,5]),
([1,3,2],[4,5,0]),
([1,4,2],[5,0,3]),
([5,0,1],[2,3,4]),
([1,4,3],[0,5,2]),
([4,2,3],[0,5,1]),
([1,4,5],[0,3,2]),
([4,2,3],[5,0,1]),
([3,4,2],[0,5,1]),
([1,0,2],[4,3,5]),
([4,1,3],[0,2,5]),
([3,0,2],[5,4,1]),
([1,5,0],[3,4,2]),
([5,0,4],[3,1,2]),
([2,4,0],[3,1,5]),
([4,3,1],[2,5,0]),
([3,5,1],[4,0,2]),
([3,4,5],[1,0,2]),
([3,1,2],[5,0,4]),
([5,4,1],[2,0,3]),
([1,3,0],[5,4,2]),
([2,0,1],[4,5,3]),
([0,5,3],[1,4,2]),
([1,5,4],[2,0,3]),
([0,2,5],[4,3,1]),
([3,5,4],[1,2,0]),
([0,3,4],[2,5,1]),
([5,0,4],[3,1,2]),
([2,0,4],[3,1,5]),
([4,2,3],[0,1,5]),
([3,4,0],[2,1,5]),
([3,4,5],[0,1,2]),
([0,3,4],[5,2,1]),
([5,2,3],[4,0,1]),
([4,1,2],[0,5,3]),
([3,4,2],[5,1,0]),
([3,5,0],[4,2,1]),
([4,5,3],[1,2,0]),
([3,4,2],[0,1,5]),
([1,5,0],[4,3,2]),
([0,5,4],[3,2,1]),
([3,2,4],[5,1,0]),
([2,0,1],[5,4,3]),
([4,5,3],[2,1,0]),
([5,0,3],[1,2,4]),
([2,5,1],[4,3,0]),
([2,3,1],[5,0,4]),
([4,3,5],[2,1,0]),
([0,3,1],[5,2,4]),
([0,4,2],[5,3,1]),
([3,4,1],[0,5,2]),
([2,4,0],[3,5,1]),
([2,3,5],[0,4,1]),
([4,5,2],[3,0,1]),
([1,5,0],[4,3,2]),
([4,2,1],[0,5,3]),
([2,0,4],[1,5,3]),
([4,5,1],[3,0,2]),
([3,5,4],[1,2,0]),
([5,2,3],[4,0,1]),
([3,4,0],[5,1,2]),
([4,3,1],[0,2,5]),
([5,2,3],[1,0,4]),
([4,5,1],[3,2,0]),
([5,0,4],[1,2,3]),
([2,4,0],[1,5,3]),
([2,4,5],[3,0,1]),
([1,5,2],[3,4,0]),
([2,3,0],[4,1,5]),
([4,3,2],[1,0,5]),
([0,1,4],[5,3,2]),
([1,4,3],[2,5,0]),
([0,1,4],[5,2,3]),
([4,2,5],[1,3,0]),
([5,4,0],[1,3,2]),
([0,1,2],[4,3,5]),
([4,3,0],[2,5,1]),
([4,5,2],[1,0,3]),
([0,1,3],[2,5,4]),
([5,1,0],[4,3,2]),
([1,5,0],[3,2,4]),
([2,3,1],[0,4,5]),
([4,5,3],[2,0,1]),
([4,1,3],[2,0,5]),
([0,2,4],[1,5,3]),
([4,0,1],[3,2,5]),
([0,3,2],[1,4,5]),
([3,0,5],[1,2,4]),
([5,1,0],[4,3,2]),
([4,2,5],[1,3,0]),
([5,2,0],[4,3,1]),
([3,5,2],[4,0,1]),
([5,4,2],[1,3,0]),
([1,2,5],[4,3,0]),
([4,0,2],[1,5,3]),
([0,2,3],[5,1,4]),
([1,3,0],[5,4,2]),
([1,3,5],[0,2,4]),
([2,1,0],[4,3,5]),
([3,2,5],[1,4,0]),
([4,2,5],[0,1,3]),
([3,0,2],[4,1,5]),
([1,5,4],[2,0,3]),
([3,0,5],[4,1,2]),
([3,4,0],[2,1,5]),
([2,0,5],[3,1,4]),
([4,1,5],[2,3,0]),
([4,3,1],[0,2,5]),
([2,5,0],[3,4,1]),
([3,4,2],[5,0,1]),
([2,0,5],[1,4,3]),
([0,1,2],[4,3,5]),
([5,1,0],[3,2,4]),
([1,4,0],[5,3,2]),
([2,3,4],[1,0,5]),
([2,0,4],[1,3,5]),
([1,3,5],[4,0,2]),
([3,4,0],[5,1,2]),
([5,3,0],[2,1,4]),
([4,0,5],[3,1,2]),
([4,0,5],[1,3,2]),
([3,5,0],[1,4,2]),
([5,0,4],[1,3,2]),
([5,3,2],[4,1,0]),
([1,5,4],[3,2,0]),
([0,5,2],[4,3,1]),
([1,3,2],[4,5,0]),
([3,4,1],[0,2,5]),
([1,2,4],[3,5,0]),
([0,5,2],[4,3,1]),
([2,0,1],[5,3,4]),
([1,5,2],[3,0,4]),
([1,4,0],[2,3,5]),
([1,5,0],[3,4,2]),
([5,1,0],[2,3,4]),
([5,1,2],[4,0,3]),
([1,2,0],[4,3,5]),
([1,5,0],[2,3,4]),
([1,0,2],[4,5,3]),
([1,3,4],[2,5,0]),
([4,3,5],[1,0,2]),
([3,4,1],[0,2,5]),
([3,2,0],[1,5,4]),
([1,5,3],[4,2,0]),
([1,3,0],[2,5,4]),
([1,0,2],[4,5,3]),
([4,0,5],[3,1,2]),
([5,2,1],[3,4,0]),
([4,0,2],[5,1,3]),
([1,2,3],[0,4,5]),
([1,0,4],[3,2,5]),
([5,1,2],[0,4,3]),
([5,4,1],[3,2,0]),
([0,4,2],[5,3,1]),
([3,2,0],[5,4,1]),
([2,4,1],[3,5,0]),
([0,4,5],[2,3,1]),
([0,5,2],[3,1,4]),
([4,2,3],[5,0,1]),
([1,2,0],[5,4,3]),
([3,1,5],[2,0,4]),
([2,1,4],[3,0,5]),
([4,3,1],[5,0,2]),
([3,5,0],[4,1,2]),
([2,3,4],[0,5,1]),
([4,5,2],[1,3,0]),
([2,0,3],[1,4,5]),
([3,0,4],[5,2,1]),
([1,4,5],[0,2,3]),
([1,0,4],[5,2,3]),
([2,0,3],[4,5,1]),
([4,0,2],[5,1,3]),
([2,3,0],[1,4,5]),
([4,0,3],[2,1,5]),
([4,0,3],[2,5,1]),
([5,4,0],[3,2,1]),
([1,4,5],[3,0,2]),
([2,1,0],[3,5,4]),
([0,2,5],[3,1,4]),
([0,4,5],[1,3,2]),
([3,2,5],[4,0,1]),
([1,4,0],[5,2,3]),
([5,1,4],[0,3,2]),
([4,1,0],[3,2,5]),
([4,1,0],[3,2,5]),
([0,4,3],[2,5,1]),
([4,0,5],[2,3,1]),
([0,5,1],[4,3,2]),
([3,2,5],[0,1,4]),
([0,4,1],[5,2,3]),
([0,2,4],[1,3,5]),
([0,1,2],[4,3,5]),
([0,4,1],[2,5,3]),
([3,0,2],[5,1,4]),
([0,1,5],[4,3,2]),
([2,1,3],[0,5,4]),
([2,1,5],[3,4,0]),
([5,4,0],[2,3,1]),
([5,4,1],[3,2,0]),
([3,4,2],[1,0,5]),
([1,2,4],[5,0,3]),
([0,4,1],[2,3,5]),
([2,3,5],[1,4,0]),
([2,0,5],[3,4,1]),
([0,5,2],[3,4,1]),
([4,5,1],[3,2,0]),
([0,3,4],[2,1,5]),
([5,4,3],[0,2,1]),
([1,0,3],[5,4,2]),
([5,3,1],[2,4,0]),
([5,3,1],[2,4,0]),
([5,0,4],[1,2,3]),
([3,1,0],[5,2,4]),
([0,1,5],[4,2,3]),
([0,5,4],[1,2,3]),
([2,5,1],[3,0,4]),
([5,0,2],[1,4,3]),
([0,4,5],[1,3,2]),
([4,1,0],[2,5,3]),
([2,3,5],[0,4,1]),
([3,2,4],[0,1,5]),
([3,5,2],[4,1,0]),
([0,1,5],[4,2,3]),
([3,1,0],[2,4,5]),
([5,0,3],[4,2,1]),
([2,1,5],[3,0,4]),
([1,2,0],[5,4,3]),
([4,1,2],[0,3,5]),
([3,1,0],[2,5,4]),
([4,0,5],[1,2,3]),
([5,4,0],[3,1,2]),
([1,0,5],[2,3,4]),
([1,3,4],[5,0,2]),
([0,4,3],[2,1,5]),
([0,4,2],[5,1,3]),
([3,5,1],[2,0,4]),
([5,0,2],[1,3,4]),
([1,0,4],[2,3,5]),
([2,4,3],[0,5,1]),
([1,0,5],[4,2,3]),
([4,5,0],[1,2,3]),
([4,1,2],[5,3,0]),
([1,2,3],[5,0,4]),
([5,0,3],[4,1,2]),
([2,5,0],[4,3,1]),
([3,5,2],[1,4,0]),
([3,0,2],[1,4,5]),
([3,4,0],[1,5,2]),
([5,1,2],[3,4,0]),
([0,5,3],[2,4,1]),
([1,0,5],[2,3,4]),
([1,5,4],[0,3,2]),
([5,4,0],[1,3,2]),
([0,2,1],[5,3,4]),
([2,0,1],[4,3,5]),
([2,3,1],[0,5,4]),
([5,4,2],[1,0,3]),
([1,5,2],[0,3,4]),
([0,3,2],[4,1,5]),
([4,3,2],[1,5,0]),
([2,3,5],[1,4,0]),
([1,0,2],[3,5,4]),
([1,0,2],[3,5,4]),
([1,2,5],[3,0,4]),
([1,3,4],[2,5,0]),
([3,0,5],[1,4,2]),
([0,5,2],[1,3,4]),
([0,1,3],[4,5,2]),
([5,3,1],[4,0,2]),
([4,2,3],[5,0,1]),
([1,5,2],[3,0,4]),
([3,1,0],[4,2,5]),
([3,0,4],[2,1,5]),
([0,3,2],[1,5,4]),
([1,5,3],[0,4,2]),
([0,5,1],[3,2,4]),
([5,2,1],[3,0,4]),
([2,3,1],[0,4,5]),
([1,0,5],[3,2,4]),
([1,2,5],[0,4,3]),
([1,3,5],[2,4,0]),
([2,3,5],[0,1,4]),
([5,2,1],[4,3,0]),
([4,2,0],[1,5,3]),
([1,0,2],[3,4,5]),
([5,2,1],[3,4,0]),
([2,5,0],[3,1,4]),
([2,4,5],[3,0,1]),
([3,0,4],[1,5,2]),
([1,4,2],[3,0,5]),
([3,2,1],[0,5,4]),
([5,0,4],[3,2,1]),
([4,2,5],[0,3,1]),
([5,3,4],[1,2,0]),
([4,5,1],[0,3,2]),
([0,1,4],[3,2,5]),
([2,1,5],[3,4,0]),
([2,1,4],[0,3,5]),
([5,0,2],[1,4,3]),
([1,0,5],[3,2,4]),
([5,4,0],[2,3,1]),
([5,3,2],[4,1,0]),
([1,3,5],[2,0,4]),
([3,5,2],[0,1,4]),
([2,4,3],[1,5,0]),
([4,5,0],[3,1,2]),
([0,5,4],[1,2,3]),
([1,3,5],[2,0,4]),
([1,5,3],[0,4,2]),
([1,0,5],[4,3,2]),
([2,5,0],[1,3,4]),
([5,0,3],[2,1,4]),
([5,4,3],[1,2,0]),
([3,2,4],[1,5,0]),
([5,4,1],[0,3,2]),
([1,2,4],[5,0,3]),
([1,5,2],[0,4,3]),
([5,4,1],[3,2,0]),
([0,4,1],[5,2,3]),
([2,5,4],[1,0,3]),
([1,5,3],[2,4,0]),
([4,3,2],[0,1,5]),
([4,5,0],[3,2,1]),
([4,0,5],[1,2,3]),
([0,1,3],[5,2,4]),
([5,0,3],[4,1,2]),
([1,3,4],[2,0,5]),
([5,2,1],[3,4,0]),
([2,5,3],[1,4,0]),
([2,4,3],[5,1,0]),
([3,2,5],[0,4,1]),
([1,2,4],[3,0,5]),
([5,2,0],[1,3,4]),
([4,1,2],[0,3,5]),
([4,3,5],[0,2,1]),
([5,1,2],[0,4,3]),
([4,3,1],[0,2,5]),
([3,0,4],[5,1,2]),
([5,1,3],[0,2,4]),
([0,1,2],[5,4,3]),
([3,5,1],[4,2,0]),
([0,2,3],[4,1,5]),
([4,5,3],[1,0,2]),
([4,1,5],[0,2,3]),
([5,3,0],[2,4,1]),
([2,3,1],[0,5,4]),
([0,2,1],[5,4,3]),
([3,1,4],[5,2,0]),
([0,5,3],[1,2,4]),
([5,2,3],[4,0,1]),
([5,3,2],[0,4,1]),
([3,1,0],[5,2,4]),
([0,1,3],[2,4,5]),
([2,4,0],[1,5,3]),
([5,3,2],[0,4,1]),
([4,2,3],[5,0,1]),
([2,0,5],[3,4,1]),
([1,5,4],[2,0,3]),
([5,4,2],[1,3,0]),
([2,1,5],[3,0,4]),
([3,1,2],[4,5,0]),
([1,0,5],[4,3,2]),
([0,3,2],[1,5,4]),
([5,4,3],[0,2,1]),
([2,1,3],[5,0,4]),
([5,2,3],[4,0,1]),
([1,4,2],[3,5,0]),
([4,5,0],[1,3,2]),
([3,0,1],[2,5,4]),
([0,1,3],[2,4,5]),
([2,5,1],[4,0,3]),
([0,5,2],[3,1,4]),
([1,5,0],[2,4,3]),
([3,5,1],[2,0,4]),
([1,5,4],[3,0,2]),
([1,5,3],[2,0,4]),
([0,2,3],[5,4,1]),
([1,0,3],[5,2,4]),
([2,0,1],[5,4,3]),
([4,3,2],[5,0,1]),
([2,1,0],[3,5,4]),
([1,0,4],[3,2,5]),
([4,0,1],[5,3,2]),
([4,3,5],[1,2,0]),
([3,0,4],[5,2,1]),
([0,4,2],[3,1,5]),
([0,2,5],[3,4,1]),
([3,4,1],[0,5,2]),
([2,0,5],[4,3,1]),
([1,0,3],[2,5,4]),
([2,0,3],[5,1,4]),
([4,5,2],[0,3,1]),
([0,5,4],[2,1,3]),
([0,2,1],[4,5,3]),
([5,1,3],[4,0,2]),
([5,0,4],[1,3,2]),
([3,5,1],[0,4,2]),
([5,4,3],[2,1,0]),
([0,1,4],[3,2,5]),
([0,5,3],[2,4,1]),
([5,2,1],[0,3,4]),
([3,5,2],[0,1,4]),
([1,5,4],[2,0,3]),
([5,2,3],[1,4,0]),
([4,1,2],[5,0,3]),
([5,0,4],[1,2,3]),
([2,5,0],[3,4,1]),
([3,0,1],[2,5,4]),
([3,4,0],[2,5,1]),
([5,2,4],[0,1,3]),
([5,0,2],[1,4,3]),
([5,4,2],[0,3,1]),
([2,5,1],[0,3,4]),
([3,1,5],[4,0,2]),
([2,4,0],[5,3,1]),
([2,3,0],[1,5,4]),
([0,2,3],[5,1,4]),
([0,1,3],[5,4,2]),
([0,3,5],[2,1,4]),
([4,5,0],[1,2,3]),
([1,0,2],[4,3,5]),
([0,3,1],[4,2,5]),
([1,5,3],[0,2,4]),
([4,5,3],[1,0,2]),
([2,4,3],[5,0,1]),
([5,4,0],[2,3,1]),
([4,0,3],[1,2,5]),
([1,3,0],[2,5,4]),
([1,5,4],[3,0,2]),
([5,2,3],[1,0,4]),
([5,4,3],[1,0,2]),
([5,0,2],[3,1,4]),
([5,3,0],[2,4,1]),
([3,4,5],[1,2,0]),
([1,5,3],[4,2,0]),
([0,1,4],[5,3,2]),
([1,5,2],[0,4,3]),
([1,0,2],[3,4,5]),
([3,5,0],[2,4,1]),
([0,2,5],[3,4,1]),
([3,5,1],[2,0,4]),
([0,4,1],[3,5,2]),
([2,3,0],[4,5,1]),
([4,2,1],[5,0,3]),
([5,2,3],[4,0,1]),
([2,5,0],[1,3,4]),
([2,5,3],[0,4,1]),
([5,2,0],[4,3,1]),
([3,2,5],[0,1,4]),
([4,0,1],[5,2,3]),
([5,4,2],[0,3,1]),
([2,5,0],[4,3,1]),
([5,0,2],[4,3,1]),
([5,0,2],[1,3,4]),
([2,1,5],[4,3,0]),
([0,4,1],[3,5,2]),
([2,3,5],[0,1,4]),
([3,4,2],[1,0,5]),
([2,0,5],[3,1,4]),
([2,1,4],[0,5,3]),
([5,2,1],[3,0,4]),
([0,4,1],[5,3,2]),
([1,2,4],[5,0,3]),
([4,5,0],[1,2,3]),
([3,4,2],[5,1,0]),
([5,2,3],[0,4,1]),
([2,3,4],[5,1,0]),
([5,2,4],[3,1,0]),
([3,0,4],[1,5,2]),
([0,2,1],[4,5,3]),
([1,2,0],[4,5,3]),
([3,1,5],[2,0,4]),
([1,5,2],[4,3,0]),
([0,4,2],[3,1,5]),
([0,4,3],[5,1,2]),
([4,3,1],[5,2,0]),
([4,2,1],[5,3,0]),
([4,5,1],[3,0,2]),
([1,3,5],[0,4,2]),
([4,3,5],[0,2,1]),
([0,5,1],[2,4,3]),
([4,3,5],[2,1,0]),
([2,3,1],[0,5,4]),
([4,5,3],[2,1,0]),
([3,1,5],[0,2,4]),
([4,1,2],[5,3,0]),
([4,1,3],[5,2,0]),
([4,3,0],[5,2,1]),
([5,0,4],[3,1,2]),
([4,0,3],[1,2,5]),
([2,1,3],[4,0,5]),
([3,5,4],[2,0,1]),
([2,1,3],[0,4,5]),
([1,4,0],[2,3,5]),
([4,1,3],[0,2,5]),
([2,0,4],[5,1,3]),
([4,1,2],[5,3,0]),
([0,2,3],[4,1,5]),
([3,1,2],[5,4,0]),
([1,0,2],[5,3,4]),
([2,5,4],[1,3,0]),
([1,2,4],[3,0,5]),
([4,2,0],[3,5,1]),
([5,3,1],[4,0,2]),
([2,0,1],[4,3,5]),
([2,0,5],[4,1,3]),
([1,0,3],[5,4,2]),
([1,2,4],[3,0,5]),
([2,1,3],[5,0,4]),
([3,4,0],[1,5,2]),
([3,5,1],[0,4,2]),
([5,3,0],[1,2,4]),
([5,3,2],[1,4,0]),
([3,2,4],[0,5,1]),
([3,4,2],[5,0,1]),
([1,5,3],[2,4,0]),
([3,1,2],[0,5,4]),
([4,3,1],[0,2,5]),
([4,1,3],[2,0,5]),
([1,0,4],[3,5,2]),
([2,3,1],[4,0,5]),
([2,3,0],[5,1,4]),
([0,4,1],[3,5,2]),
([2,0,4],[5,1,3]),
([4,1,0],[3,2,5]),
([0,1,4],[3,2,5]),
([5,1,4],[2,0,3]),
([2,3,5],[4,1,0]),
([2,4,0],[3,5,1]),
([0,2,3],[1,4,5]),
([1,4,3],[5,2,0]),
([1,0,2],[4,3,5]),
([3,0,2],[1,4,5]),
([5,4,1],[3,2,0]),
([5,0,3],[2,1,4]),
([5,2,3],[1,4,0]),
([3,0,4],[5,2,1]),
([3,1,5],[0,4,2]),
([4,3,1],[5,2,0]),
([5,0,3],[2,4,1]),
([5,2,4],[0,1,3]),
([1,0,5],[2,4,3]),
([3,1,4],[0,5,2]),
([0,2,1],[5,4,3]),
([0,5,4],[1,3,2]),
([2,5,4],[3,0,1]),
([4,0,2],[5,3,1]),
([5,0,3],[4,2,1]),
([3,2,1],[5,0,4]),
([0,3,2],[5,4,1]),
([3,5,1],[4,0,2]),
([5,4,0],[1,3,2]),
([5,0,4],[1,2,3]),
([3,4,0],[1,2,5]),
([3,2,4],[5,1,0]),
([2,3,1],[0,4,5]),
([5,0,1],[2,3,4]),
([5,2,4],[0,3,1]),
([5,1,3],[0,2,4]),
([4,0,2],[3,5,1]),
([1,2,0],[4,5,3]),
([1,3,5],[2,4,0]),
([4,2,0],[1,5,3]),
([2,1,5],[0,4,3]),
([3,5,0],[1,4,2]),
([4,0,3],[1,5,2]),
([1,3,0],[4,2,5]),
([2,0,1],[5,4,3]),
([3,1,0],[5,2,4]),
([1,2,4],[3,5,0]),
([1,3,4],[0,5,2]),
([1,3,4],[0,2,5]),
([3,4,2],[1,5,0]),
([4,1,5],[3,0,2]),
([0,1,4],[5,2,3]),
([4,3,0],[2,1,5]),
([5,0,1],[2,3,4]),
([0,1,5],[2,3,4]),
([3,4,1],[0,5,2]),
([4,1,2],[0,5,3]),
([2,5,1],[0,4,3]),
([4,1,0],[2,3,5]),
([5,3,0],[1,2,4]),
([5,3,4],[0,2,1]),
([3,1,4],[0,2,5]),
([2,3,1],[0,4,5]),
([3,2,5],[0,4,1]),
([3,1,0],[4,5,2]),
([4,2,0],[3,5,1]),
([5,4,3],[1,2,0]),
([1,4,5],[0,2,3]),
([4,5,3],[2,1,0]),
([3,1,4],[5,0,2]),
([0,2,3],[5,1,4]),
([2,1,3],[5,0,4]),
([1,5,3],[2,0,4]),
([3,0,5],[2,1,4]),
([5,3,0],[4,1,2]),
([0,5,2],[4,3,1]),
([2,1,4],[3,0,5]),
([2,4,0],[1,3,5]),
([2,5,1],[4,3,0]),
([1,2,0],[4,3,5]),
([3,4,5],[1,2,0]),
([0,3,2],[4,5,1]),
([3,1,0],[4,2,5]),
([0,2,5],[1,3,4]),
([1,5,4],[0,2,3]),
([2,1,5],[4,0,3]),
([0,2,4],[3,5,1]),
([4,5,1],[2,0,3]),
([3,2,1],[0,4,5]),
([5,2,3],[1,4,0]),
([3,4,1],[2,0,5]),
([2,3,1],[5,0,4]),
([1,0,2],[5,3,4]),
([4,0,1],[3,5,2]),
([1,0,4],[3,5,2]),
([3,0,4],[5,2,1]),
([1,0,3],[4,2,5]),
([5,3,2],[4,0,1]),
([3,5,0],[1,2,4]),
([1,5,2],[0,4,3]),
([3,2,5],[4,1,0]),
([5,1,3],[0,4,2]),
([1,4,3],[0,2,5]),
([3,5,1],[2,4,0]),
([0,3,1],[2,4,5]),
([2,4,1],[5,0,3]),
([2,4,3],[5,0,1]),
([1,5,3],[2,4,0]),
([2,3,5],[4,1,0]),
([5,0,1],[4,2,3]),
([5,1,3],[4,0,2]),
([4,5,1],[0,2,3]),
([3,0,5],[2,1,4]),
([0,3,5],[2,4,1]),
([5,0,3],[2,1,4]),
([2,4,0],[5,3,1]),
([3,5,4],[2,1,0]),
([3,4,2],[1,0,5]),
([4,2,0],[5,1,3]),
([3,2,0],[4,1,5]),
([3,2,5],[1,0,4]),
([3,0,2],[1,5,4]),
([2,4,0],[1,3,5]),
([1,4,3],[2,5,0]),
([2,1,3],[0,5,4]),
([4,5,3],[2,1,0]),
([5,4,1],[2,3,0]),
([5,0,2],[1,4,3]),
([2,0,1],[5,3,4]),
([1,3,2],[0,5,4]),
([3,0,2],[4,1,5]),
([0,3,2],[1,4,5]),
([0,1,3],[2,4,5]),
([2,0,3],[4,1,5]),
([5,0,4],[2,1,3]),
([5,2,0],[4,3,1]),
([2,5,4],[0,3,1]),
([0,3,5],[2,1,4]),
([1,0,3],[5,4,2]),
([3,4,2],[1,0,5]),
([0,3,1],[4,5,2]),
([3,0,4],[2,1,5]),
([2,1,0],[3,4,5]),
([5,0,2],[4,1,3]),
([2,4,3],[1,5,0]),
([4,1,0],[3,2,5]),
([5,3,0],[1,2,4]),
([4,3,2],[0,5,1]),
([1,3,2],[4,0,5]),
([1,5,2],[4,0,3]),
([1,0,4],[2,5,3]),
([0,5,1],[4,3,2]),
([3,2,0],[4,1,5]),
([3,4,1],[5,2,0]),
([0,4,3],[2,1,5]),
([3,0,2],[4,1,5]),
([4,1,2],[5,0,3]),
([4,2,5],[1,0,3]),
([4,5,0],[3,1,2]),
([5,3,4],[1,2,0]),
([3,2,4],[1,5,0]),
([5,3,2],[4,1,0]),
([1,3,5],[0,2,4]),
([5,3,4],[1,2,0]),
([2,0,5],[4,1,3]),
([4,5,1],[2,3,0]),
([0,3,4],[5,2,1]),
([1,0,2],[4,5,3]),
([5,0,3],[1,2,4]),
([0,1,5],[4,2,3]),
([3,5,2],[0,4,1]),
([4,1,3],[5,0,2]),
([5,2,0],[1,3,4]),
([2,3,0],[4,5,1]),
([3,1,5],[2,4,0]),
([0,3,4],[1,2,5]),
([0,1,2],[4,3,5]),
([5,0,2],[4,3,1]),
([4,1,3],[5,2,0]),
([4,1,0],[2,3,5]),
([2,0,4],[3,1,5]),
([3,2,5],[4,0,1]),
([0,5,2],[4,3,1]),
([3,5,4],[0,2,1]),
([3,2,1],[4,0,5]),
([5,4,3],[2,1,0]),
([5,4,2],[0,3,1]),
([1,2,5],[4,3,0]),
([3,2,5],[4,1,0]),
([5,0,2],[1,4,3]),
([3,0,5],[2,4,1]),
([5,2,4],[1,3,0]),
([1,2,5],[4,0,3]),
([0,2,3],[5,1,4]),
([2,3,4],[1,0,5]),
([5,3,0],[4,2,1]),
([4,0,3],[2,1,5]),
([5,3,2],[1,4,0]),
([5,0,1],[3,2,4]),
([1,5,2],[3,0,4]),
([3,5,0],[2,1,4]),
([4,5,1],[3,2,0]),
([1,5,3],[2,0,4]),
([2,1,4],[5,3,0]),
([5,0,1],[2,3,4]),
([1,4,2],[3,5,0]),
([0,4,3],[5,2,1]),
([0,2,5],[3,1,4]),
([5,2,4],[1,3,0]),
([0,5,3],[1,4,2]),
([4,0,1],[2,3,5]),
([2,1,4],[5,3,0]),
([1,5,3],[2,4,0]),
([0,1,5],[4,3,2]),
([4,1,3],[0,2,5]),
([1,3,4],[2,0,5]),
([4,3,2],[1,0,5]),
([2,0,5],[3,4,1]),
([0,2,1],[4,5,3]),
([1,0,3],[4,5,2]),
([1,3,0],[2,4,5]),
([5,0,4],[1,2,3]),
([4,5,0],[1,3,2]),
([1,4,5],[3,2,0]),
([4,1,3],[5,2,0]),
([5,1,3],[2,0,4]),
([2,4,0],[1,5,3]),
([0,2,4],[5,1,3]),
([0,3,2],[1,5,4]),
([4,2,5],[0,3,1]),
([2,1,0],[4,3,5]),
([3,2,4],[5,1,0]),
([2,5,1],[3,0,4]),
([0,3,5],[2,1,4]),
([4,5,0],[1,2,3]),
([0,2,5],[1,4,3]),
([1,2,3],[4,5,0]),
([2,3,4],[0,5,1]),
([2,4,5],[3,1,0]),
([3,1,4],[0,5,2]),
([0,4,2],[1,5,3]),
([3,2,5],[0,4,1]),
([4,3,5],[1,2,0]),
([0,4,1],[3,5,2]),
([2,3,4],[5,1,0]),
([0,1,3],[5,4,2]),
([1,4,3],[0,2,5]),
([5,0,4],[1,3,2]),
([3,2,0],[4,5,1]),
([3,5,1],[4,0,2]),
([3,4,5],[0,2,1]),
([3,5,0],[2,1,4]),
([1,5,3],[4,2,0]),
([5,2,1],[4,0,3]),
([2,3,1],[4,5,0]),
([1,3,2],[0,5,4]),
([0,2,3],[1,5,4]),
([3,2,4],[5,1,0]),
([4,2,0],[5,1,3]),
([2,1,3],[0,5,4]),
([2,4,0],[5,3,1]),
([5,0,4],[3,1,2]),
([0,5,1],[4,3,2]),
([4,3,5],[1,0,2]),
([3,1,2],[0,5,4]),
([2,3,0],[5,4,1]),
([5,4,1],[2,3,0]),
([5,2,4],[3,0,1]),
([5,1,0],[3,4,2]),
([5,3,2],[4,0,1]),
([2,1,5],[3,0,4]),
([4,3,0],[1,5,2]),
([3,0,4],[1,2,5]),
([5,2,0],[1,3,4]),
([0,2,3],[1,4,5]),
([2,5,4],[3,0,1]),
([3,4,0],[2,1,5]),
([0,5,3],[2,4,1]),
([3,0,2],[5,4,1]),
([3,5,4],[0,1,2]),
([5,4,1],[2,0,3]),
([3,5,2],[4,0,1]),
([4,0,2],[1,3,5]),
([4,3,2],[1,0,5]),
([5,4,3],[2,1,0]),
([4,2,3],[5,0,1]),
([2,0,3],[1,5,4]),
([4,1,0],[3,5,2]),
([2,0,4],[3,1,5]),
([4,1,2],[3,5,0]),
([3,0,4],[5,1,2]),
([1,2,4],[5,3,0]),
([2,5,4],[3,0,1]),
([0,2,1],[4,3,5]),
([3,4,5],[1,0,2]),
([4,0,2],[1,5,3]),
([5,2,1],[4,3,0]),
([5,0,1],[4,2,3]),
([4,1,2],[5,0,3]),
([1,0,2],[3,4,5]),
([2,5,4],[0,1,3]),
([1,0,4],[2,5,3]),
([3,0,4],[5,1,2]),
([3,0,5],[1,4,2]),
([2,5,1],[4,3,0]),
([0,3,4],[2,5,1]),
([3,0,1],[2,4,5]),
([3,1,5],[0,4,2]),
([4,0,5],[3,2,1]),
([0,1,4],[3,2,5]),
([5,3,2],[4,0,1]),
([1,0,3],[2,5,4]),
([4,0,2],[3,5,1]),
([0,2,1],[5,3,4]),
([4,0,3],[1,5,2]),
([0,1,3],[2,4,5]),
([2,0,1],[3,5,4]),
([0,4,2],[3,1,5]),
([4,2,3],[0,5,1]),
([3,1,5],[2,0,4]),
([1,5,0],[3,2,4]),
([2,5,1],[3,0,4]),
([5,0,1],[4,2,3]),
([1,5,0],[2,3,4]),
([3,4,2],[5,0,1]),
([3,4,0],[1,5,2]),
([0,5,2],[1,4,3]),
([5,4,2],[0,3,1]),
([2,0,3],[1,5,4]),
([4,2,1],[3,0,5]),
([1,5,3],[0,2,4]),
([3,4,0],[2,5,1]),
([4,1,0],[5,2,3]),
([4,2,5],[3,1,0]),
([4,1,0],[3,5,2]),
([2,1,0],[4,3,5]),
([0,3,2],[1,4,5]),
([5,4,3],[1,2,0]),
([5,3,4],[1,2,0]),
([0,4,3],[5,2,1]),
([1,0,5],[4,2,3]),
([4,3,5],[2,0,1]),
([2,4,0],[1,3,5]),
([0,1,3],[4,2,5]),
([0,4,2],[3,5,1]),
([2,1,5],[3,0,4]),
([3,0,2],[5,4,1]),
([4,5,1],[3,2,0]),
([1,0,4],[3,2,5]),
([0,2,1],[4,5,3]),
([1,0,4],[3,2,5]),
([1,5,4],[2,3,0]),
([3,0,1],[4,5,2]),
([5,4,1],[3,0,2]),
([2,0,5],[4,3,1]),
([1,3,2],[5,0,4]),
([4,1,0],[5,3,2]),
([0,4,1],[5,3,2]),
([0,3,4],[5,1,2]),
([0,5,1],[2,4,3]),
([0,3,5],[2,1,4]),
([2,0,5],[1,3,4]),
([1,0,3],[2,4,5]),
([4,0,2],[5,1,3]),
([3,5,4],[2,1,0]),
([5,1,2],[4,3,0]),
([4,5,1],[3,0,2]),
([5,4,1],[0,2,3]),
([1,3,4],[0,2,5]),
([0,5,1],[2,3,4]),
([0,3,5],[2,4,1]),
([1,5,0],[4,3,2]),
([3,0,2],[1,5,4]),
([5,4,3],[1,2,0]),
([5,3,2],[1,4,0]),
([1,4,5],[0,2,3]),
([5,4,0],[1,2,3]),
([1,4,3],[0,5,2]),
([0,2,1],[5,3,4]),
([5,0,3],[2,1,4]),
([1,0,3],[2,5,4]),
([5,1,3],[4,2,0]),
([1,2,5],[4,3,0]),
([2,4,3],[5,1,0]),
([5,4,0],[3,1,2]),
([4,2,5],[0,3,1]),
([1,2,3],[5,0,4]),
([2,4,3],[5,0,1]),
([3,5,2],[0,4,1]),
([4,1,3],[2,5,0]),
([3,0,2],[4,5,1]),
([0,4,2],[5,3,1]),
([3,1,0],[4,2,5]),
([3,4,0],[1,5,2]),
([2,3,5],[4,0,1]),
([4,0,5],[2,1,3]),
([2,4,3],[0,5,1]),
([0,3,4],[5,1,2]),
([5,0,3],[2,1,4]),
([2,1,0],[4,5,3]),
([4,3,5],[0,1,2]),
([2,5,0],[3,4,1]),
([4,5,0],[1,2,3]),
([0,5,2],[1,4,3]),
([3,4,2],[1,5,0]),
([5,0,3],[2,1,4]),
([1,5,0],[2,4,3]),
([4,3,0],[5,2,1]),
([4,1,2],[0,3,5]),
([3,2,4],[5,0,1]),
([2,3,5],[1,4,0]),
([1,3,4],[2,0,5]),
([2,1,5],[3,0,4]),
([5,1,4],[0,3,2]),
([2,1,0],[4,5,3]),
([4,5,0],[3,2,1]),
([3,5,2],[0,4,1]),
([1,2,4],[5,0,3]),
([5,3,2],[1,0,4]),
([5,2,1],[4,3,0]),
([1,3,4],[2,5,0]),
([4,3,2],[1,5,0]),
([3,0,5],[4,1,2]),
([4,0,5],[3,2,1]),
([5,3,1],[4,0,2]),
([4,0,2],[1,5,3]),
([3,0,2],[5,4,1]),
([1,0,5],[3,4,2]),
([0,3,2],[5,1,4]),
([4,1,3],[2,0,5]),
([0,1,4],[3,5,2]),
([5,4,1],[3,2,0]),
([3,0,2],[1,5,4]),
([0,4,3],[1,2,5]),
([5,2,0],[4,1,3]),
([5,3,0],[4,1,2]),
([3,1,2],[0,5,4]),
([3,1,2],[4,0,5]),
([5,1,4],[0,3,2]),
([2,1,0],[4,3,5]),
([0,3,4],[1,5,2]),
([4,3,1],[2,0,5]),
([4,5,1],[3,0,2]),
([0,1,3],[2,4,5]),
([3,0,4],[5,2,1]),
([1,0,3],[2,4,5]),
([1,2,0],[4,3,5]),
([2,1,4],[3,0,5]),
([2,1,0],[4,3,5]),
([3,2,1],[0,5,4]),
([5,4,2],[1,3,0]),
([3,1,2],[4,5,0]),
([2,4,0],[1,3,5]),
([1,0,4],[2,5,3]),
([5,3,4],[2,1,0]),
([0,1,3],[4,2,5]),
([3,5,4],[1,2,0]),
([4,5,3],[1,2,0]),
([3,4,1],[2,0,5]),
([2,0,1],[4,3,5]),
([1,2,4],[5,0,3]),
([0,2,1],[3,4,5]),
([4,3,5],[2,0,1]),
([5,2,4],[0,3,1]),
([2,5,0],[1,4,3]),
([4,5,1],[3,2,0]),
([2,1,0],[5,3,4]),
([0,1,2],[5,4,3]),
([4,0,5],[3,1,2]),
([4,0,1],[2,3,5]),
([5,1,2],[0,3,4]),
([5,0,4],[2,1,3]),
([0,2,1],[4,5,3]),
([3,4,1],[0,5,2]),
([0,5,4],[3,1,2]),
([2,3,5],[0,1,4]),
([2,5,3],[1,0,4]),
([3,0,5],[1,2,4]),
([3,4,0],[2,5,1]),
([5,0,1],[3,4,2]),
([1,4,3],[0,5,2]),
([2,0,5],[4,3,1]),
([4,3,2],[1,5,0]),
([1,3,4],[2,0,5]),
([0,3,1],[5,4,2]),
([4,0,5],[2,1,3]),
([3,5,0],[1,2,4]),
([1,4,2],[0,5,3]),
([4,0,5],[1,2,3]),
([1,2,5],[0,4,3]),
([2,4,0],[1,5,3]),
([2,3,4],[5,1,0]),
([0,1,4],[5,3,2]),
([0,2,5],[3,4,1]),
([1,2,5],[4,0,3]),
([4,2,0],[1,5,3]),
([3,2,4],[0,5,1]),
([4,2,5],[0,3,1]),
([0,1,5],[4,2,3]),
([2,4,5],[0,3,1]),
([1,2,3],[4,5,0]),
([5,3,1],[0,4,2]),
([3,4,1],[5,0,2]),
([0,1,3],[2,5,4]),
([0,3,5],[1,4,2]),
([1,2,5],[3,0,4]),
([1,5,3],[4,2,0]),
([1,3,0],[4,2,5]),
([5,2,1],[0,4,3]),
([5,4,2],[3,0,1]),
([3,0,2],[4,5,1]),
([3,0,2],[4,5,1]),
([3,2,5],[0,1,4]),
([0,2,5],[3,1,4]),
([4,1,5],[2,0,3]),
([0,3,1],[5,4,2]),
([5,0,1],[4,2,3]),
([1,3,5],[0,4,2]),
([5,4,3],[0,1,2]),
([0,3,1],[5,4,2]),
([0,4,5],[1,3,2]),
([1,4,2],[3,0,5]),
([5,1,2],[0,4,3]),
([3,5,0],[1,4,2]),
([2,0,3],[4,5,1]),
([5,0,4],[3,1,2]),
([3,2,1],[4,5,0]),
([2,3,1],[4,0,5]),
([0,1,5],[4,2,3]),
([1,2,3],[0,4,5]),
([1,5,3],[2,0,4]),
([3,5,0],[2,4,1]),
([5,3,4],[2,0,1]),
([4,0,1],[3,2,5]),
([3,4,2],[5,0,1]),
([3,1,2],[0,5,4]),
([5,1,2],[0,3,4]),
([5,2,1],[3,4,0]),
([0,2,1],[4,5,3]),
([3,2,5],[4,0,1]),
([4,0,3],[5,1,2]),
([4,3,5],[0,2,1]),
([3,4,0],[1,2,5]),
([2,0,5],[3,4,1]),
([2,1,3],[0,5,4]),
([2,4,5],[3,1,0]),
([0,1,5],[4,2,3]),
([4,0,1],[2,5,3]),
([3,5,4],[1,0,2]),
([0,2,3],[4,1,5]),
([5,3,4],[1,2,0]),
([4,1,5],[0,2,3]),
([2,1,5],[0,3,4]),
([0,5,4],[3,2,1]),
([1,4,0],[3,2,5]),
([2,0,4],[5,1,3]),
([4,3,0],[5,2,1]),
([4,5,3],[1,0,2]),
([1,2,0],[3,4,5]),
([4,2,3],[5,0,1]),
([2,3,0],[5,1,4]),
([5,0,4],[2,3,1]),
([5,0,2],[1,4,3]),
([0,3,4],[1,5,2]),
([5,3,2],[4,1,0]),
([1,5,2],[4,0,3]),
([1,0,4],[3,2,5]),
([0,2,1],[5,3,4]),
([2,0,3],[1,4,5]),
([0,1,3],[5,4,2]),
([0,5,3],[2,4,1]),
([5,0,1],[4,3,2]),
([4,2,0],[1,3,5]),
([0,5,3],[1,2,4]),
([3,5,0],[2,1,4]),
([2,4,1],[5,3,0]),
([3,2,5],[4,0,1]),
([0,5,1],[3,4,2]),
([5,0,1],[2,3,4]),
([0,3,2],[5,1,4]),
([4,2,3],[0,1,5]),
([3,2,5],[4,0,1]),
([3,5,0],[1,4,2]),
([5,2,3],[1,0,4]),
([0,1,3],[5,2,4]),
([5,2,3],[1,0,4]),
([0,4,2],[5,3,1]),
([1,3,4],[5,0,2]),
([3,1,5],[0,2,4]),
([3,2,4],[1,5,0]),
([4,5,3],[1,0,2]),
([2,3,1],[5,4,0]),
([4,0,3],[5,1,2]),
([0,2,3],[5,1,4]),
([5,4,2],[3,1,0]),
([4,3,5],[0,2,1]),
([4,5,2],[3,1,0]),
([1,3,4],[0,5,2]),
([2,3,0],[1,4,5]),
([3,2,1],[0,4,5]),
([2,0,4],[5,1,3]),
([0,1,2],[5,4,3]),
([1,0,3],[4,5,2]),
([4,0,5],[3,1,2]),
([5,2,3],[0,4,1]),
([3,1,4],[0,5,2]),
([3,1,5],[0,4,2]),
([5,2,0],[3,4,1]),
([2,0,5],[3,1,4]),
([1,3,2],[4,0,5]),
([5,0,4],[2,3,1]),
([1,3,0],[2,4,5]),
([4,1,2],[5,3,0]),
([2,0,4],[5,1,3]),
([5,0,3],[4,2,1]),
([0,4,3],[2,5,1]),
([1,2,5],[0,3,4]),
([0,2,1],[4,3,5]),
([0,5,2],[1,3,4]),
([2,3,5],[1,4,0]),
([4,3,5],[0,1,2]),
([2,3,0],[1,4,5]),
([4,2,0],[5,3,1]),
([0,1,5],[3,2,4]),
([5,4,1],[3,0,2]),
([5,2,4],[1,0,3]),
([1,5,2],[4,0,3]),
([5,3,0],[2,1,4]),
([1,4,5],[2,3,0]),
([2,0,4],[3,1,5]),
([5,3,0],[2,1,4]),
([4,5,1],[0,3,2]),
([2,5,3],[1,4,0]),
([2,3,1],[4,0,5]),
([5,0,1],[2,4,3]),
([3,5,0],[1,4,2]),
([4,2,5],[0,3,1]),
([3,1,0],[2,5,4]),
([1,2,3],[5,0,4]),
([3,1,5],[2,4,0]),
([4,2,1],[3,0,5]),
([2,5,1],[4,3,0]),
([1,3,5],[2,0,4]),
([4,1,3],[5,2,0]),
([3,0,5],[4,2,1]),
([1,4,2],[0,5,3]),
([4,5,3],[2,0,1]),
([4,5,1],[3,2,0]),
([2,3,4],[1,5,0]),
([4,5,0],[3,2,1]),
([3,2,4],[5,0,1]),
([1,2,5],[4,0,3]),
([4,0,1],[3,5,2]),
([0,2,5],[4,3,1]),
([1,4,3],[2,5,0]),
([0,2,3],[5,1,4]),
([1,2,0],[4,5,3]),
([4,3,1],[0,5,2]),
([2,0,1],[5,4,3]),
([0,2,3],[4,1,5]),
([3,0,2],[1,5,4]),
([0,5,1],[3,2,4]),
([1,3,2],[0,4,5]),
([3,4,2],[1,0,5]),
([2,1,0],[3,4,5]),
([3,0,4],[5,1,2]),
([5,0,2],[1,4,3]),
([5,1,0],[4,2,3]),
([1,4,5],[2,3,0]),
([4,3,5],[2,1,0]),
([4,1,5],[0,2,3]),
([3,5,4],[1,2,0]),
([1,0,2],[4,5,3]),
([0,4,3],[1,5,2]),
([4,2,5],[3,0,1]),
([4,2,1],[0,5,3]),
([2,5,3],[0,4,1]),
([3,5,2],[1,0,4]),
([3,2,5],[0,4,1]),
([4,0,2],[3,5,1]),
([5,3,1],[4,2,0]),
([0,1,4],[5,2,3]),
([4,1,3],[0,2,5]),
([5,0,3],[1,4,2]),
([2,5,3],[1,4,0]),
([4,3,1],[0,5,2]),
([2,5,1],[3,4,0]),
([0,5,4],[1,2,3]),
([5,3,2],[0,4,1]),
([3,0,5],[2,1,4]),
([4,5,2],[0,3,1]),
([1,0,3],[2,4,5]),
([0,1,2],[3,4,5]),
([5,2,3],[0,1,4]),
([1,2,3],[5,0,4]),
([5,1,2],[4,0,3]),
([1,5,2],[3,0,4]),
([3,2,4],[0,1,5]),
([1,3,4],[2,0,5]),
([4,2,5],[1,3,0]),
([1,4,0],[3,2,5]),
([3,4,5],[2,0,1]),
([3,4,5],[0,1,2]),
([3,4,2],[1,5,0]),
([5,2,0],[4,1,3]),
([5,1,2],[3,4,0]),
([2,4,3],[0,5,1]),
([0,5,2],[3,1,4]),
([2,0,3],[1,4,5]),
([5,2,4],[3,1,0]),
([2,5,3],[4,1,0]),
([3,5,0],[2,4,1]),
([0,1,3],[2,5,4]),
([4,1,0],[5,2,3]),
([5,2,4],[1,3,0]),
([0,1,2],[3,4,5]),
([2,1,3],[0,4,5]),
([4,5,3],[2,0,1]),
([1,3,4],[5,2,0]),
([4,2,3],[0,5,1]),
([0,3,5],[1,4,2]),
([2,5,4],[3,0,1]),
([1,3,4],[2,5,0]),
([3,4,2],[1,0,5]),
([4,5,0],[3,1,2]),
([4,0,3],[2,1,5]),
([2,0,3],[1,4,5]),
([2,5,0],[4,1,3]),
([4,1,3],[0,2,5]),
([0,4,1],[3,5,2]),
([4,1,5],[0,3,2]),
([0,1,5],[4,2,3]),
([5,4,1],[3,2,0]),
([1,0,5],[3,2,4]),
([0,5,4],[2,1,3]),
([3,5,1],[0,4,2]),
([5,4,0],[1,3,2]),
([1,0,4],[5,3,2]),
([4,1,3],[5,2,0]),
([4,0,2],[3,5,1]),
([3,5,2],[0,1,4]),
([0,5,3],[4,1,2]),
([5,0,2],[1,4,3]),
([4,0,1],[5,2,3]),
([5,0,4],[2,1,3]),
([1,2,5],[4,0,3]),
([0,5,2],[4,1,3]),
([0,2,3],[1,4,5]),
([3,4,5],[1,0,2]),
([2,0,1],[3,4,5]),
([3,4,0],[1,2,5]),
([1,0,4],[5,2,3]),
([4,2,5],[3,0,1]),
([3,1,2],[0,4,5]),
([0,3,5],[1,4,2]),
([2,0,4],[1,5,3]),
([0,1,2],[3,4,5]),
([3,5,1],[2,4,0]),
([3,4,1],[5,2,0]),
([5,3,2],[0,1,4]),
([0,1,4],[2,3,5]),
([1,2,4],[5,0,3]),
([4,3,1],[2,5,0]),
([0,4,3],[5,2,1]),
([4,1,5],[0,2,3]),
([1,5,4],[2,0,3]),
([3,5,2],[0,1,4]),
([3,2,5],[0,1,4]),
([4,0,2],[5,1,3]),
([0,3,2],[4,1,5]),
([5,0,1],[3,2,4]),
([1,2,4],[0,5,3]),
([5,4,3],[0,1,2]),
([1,2,5],[3,4,0]),
([0,3,4],[2,1,5]),
([3,5,2],[1,0,4]),
([4,0,1],[5,3,2]),
([2,0,1],[5,4,3]),
([3,4,1],[0,2,5]),
([2,5,4],[0,3,1]),
([3,1,4],[5,0,2]),
([5,3,0],[2,1,4]),
([2,4,3],[0,1,5]),
([3,0,4],[2,5,1]),
([2,1,5],[3,4,0]),
([0,2,3],[5,4,1]),
([0,2,4],[3,1,5]),
([1,3,0],[5,2,4]),
([1,0,5],[2,3,4]),
([1,0,3],[5,4,2]),
([3,1,0],[4,2,5]),
([2,0,1],[4,5,3]),
([0,1,4],[5,3,2]),
([3,2,0],[1,5,4]),
([2,0,1],[5,4,3]),
([2,0,3],[1,5,4]),
([4,1,2],[0,5,3]),
([4,3,1],[5,0,2]),
([2,5,1],[3,0,4]),
([2,4,0],[1,5,3]),
([0,3,1],[4,5,2]),
([4,5,2],[1,3,0]),
([1,5,2],[0,4,3]),
([0,3,2],[1,5,4]),
([3,0,4],[1,2,5]),
([5,1,4],[2,3,0]),
([1,5,2],[3,0,4]),
([0,5,1],[2,3,4]),
([1,2,0],[5,4,3]),
([3,4,5],[2,1,0]),
([2,1,4],[3,0,5]),
([3,4,5],[1,0,2]),
([4,0,1],[3,5,2]),
([2,4,3],[0,5,1]),
([5,4,3],[2,0,1]),
([4,5,0],[3,2,1]),
([2,0,1],[4,3,5]),
([4,2,3],[1,0,5]),
([4,3,5],[1,2,0]),
([4,5,1],[2,0,3]),
([2,4,1],[5,3,0]),
([4,3,5],[0,2,1]),
([3,5,1],[4,0,2]),
([3,5,1],[4,0,2]),
([2,1,5],[0,4,3]),
([0,3,1],[4,2,5]),
([5,3,1],[4,0,2]),
([1,2,4],[3,5,0]),
([5,1,3],[0,2,4]),
([2,4,5],[0,1,3]),
([0,1,5],[3,2,4]),
([2,3,4],[5,1,0]),
([4,2,5],[0,3,1]),
([0,1,3],[4,5,2]),
([5,4,1],[3,0,2]),
([2,3,1],[5,4,0]),
([1,0,3],[2,5,4]),
([1,2,4],[5,0,3]),
([0,4,2],[5,1,3]),
([1,3,5],[0,4,2]),
([2,0,1],[5,3,4]),
([0,3,4],[1,2,5]),
([0,1,5],[4,3,2]),
([1,3,2],[5,4,0]),
([0,3,1],[4,5,2]),
([3,4,5],[0,2,1]),
([3,5,4],[0,1,2]),
([3,2,4],[1,0,5]),
([3,0,1],[4,5,2]),
([2,1,0],[3,5,4]),
([3,2,0],[1,5,4]),
([3,1,5],[0,4,2]),
([3,1,5],[4,2,0]),
([1,0,4],[3,5,2]),
([1,5,4],[2,3,0]),
([3,4,0],[1,2,5]),
([1,5,3],[4,2,0]),
([3,2,5],[1,4,0]),
([0,1,5],[3,4,2]),
([3,2,0],[1,4,5]),
([4,2,3],[5,1,0]),
([0,3,1],[2,4,5]),
([0,3,2],[4,1,5]),
([5,4,0],[2,3,1]),
([4,1,2],[5,0,3]),
([1,3,4],[0,5,2]),
([2,1,4],[0,3,5]),
([3,5,4],[2,0,1]),
([0,4,5],[2,1,3]),
([0,2,1],[4,5,3]),
([2,3,0],[4,1,5]),
([1,0,4],[5,2,3]),
([5,3,2],[1,4,0]),
([1,4,0],[2,3,5]),
([1,5,0],[2,4,3]),
([1,2,5],[3,0,4]),
([3,1,5],[4,0,2]),
([1,4,2],[5,0,3]),
([1,5,0],[4,3,2]),
([0,2,1],[4,5,3]),
([5,0,1],[3,4,2]),
([5,2,1],[3,4,0]),
([4,1,3],[0,2,5]),
([2,4,3],[5,0,1]),
([4,1,0],[2,5,3]),
([3,2,5],[1,4,0]),
([2,0,4],[5,1,3]),
([2,4,3],[0,1,5]),
([2,0,5],[3,4,1]),
([4,1,3],[5,2,0]),
([5,3,4],[1,2,0]),
([4,3,2],[0,1,5]),
([2,3,0],[1,5,4]),
([4,2,1],[3,0,5]),
([4,3,0],[5,1,2]),
([4,2,1],[0,5,3]),
([5,3,1],[0,2,4]),
([0,3,5],[4,2,1]),
([5,2,4],[3,1,0]),
([0,5,3],[1,4,2]),
([2,5,3],[1,4,0]),
([0,4,3],[1,2,5]),
([3,0,1],[4,2,5]),
([5,0,4],[1,3,2]),
([4,3,0],[2,1,5]),
([1,5,0],[2,3,4]),
([1,0,5],[2,3,4]),
([2,1,5],[0,3,4]),
([2,1,3],[0,4,5]),
([3,4,2],[5,0,1]),
([0,3,2],[5,4,1]),
([2,0,1],[4,5,3]),
([4,5,1],[3,2,0]),
([5,2,3],[4,1,0]),
([3,2,1],[4,5,0]),
([0,5,4],[1,2,3]),
([2,1,0],[5,3,4]),
([3,0,2],[5,4,1]),
([0,4,1],[2,5,3]),
([5,4,2],[0,3,1]),
([5,3,2],[4,1,0]),
([0,3,2],[4,5,1]),
([0,1,2],[3,4,5]),
([3,4,1],[0,2,5]),
([0,4,3],[2,1,5]),
([1,5,0],[2,3,4]),
([1,0,5],[3,4,2]),
([0,5,2],[3,4,1]),
([5,0,3],[2,1,4]),
([2,0,3],[5,4,1]),
([2,5,1],[0,3,4]),
([2,4,1],[0,3,5]),
([3,0,5],[2,1,4]),
([5,3,4],[2,1,0]),
([5,1,2],[0,3,4]),
([4,0,5],[3,1,2]),
([1,5,3],[4,2,0]),
([2,4,1],[0,5,3]),
([2,3,4],[0,1,5]),
([0,5,2],[1,3,4]),
([5,0,2],[1,3,4]),
([2,3,1],[0,4,5]),
([3,1,5],[0,2,4]),
([5,0,4],[1,3,2]),
([3,5,0],[4,2,1]),
([4,3,5],[1,2,0]),
([1,0,5],[3,4,2]),
([0,5,1],[2,3,4]),
([2,5,3],[1,4,0]),
([3,1,2],[0,5,4]),
([0,4,5],[1,3,2]),
([4,2,1],[3,5,0]),
([4,1,2],[0,5,3]),
([4,2,0],[3,5,1]),
([2,0,1],[5,3,4]),
([1,2,3],[0,5,4]),
([2,1,3],[5,4,0]),
([1,0,3],[5,2,4]),
([5,0,2],[1,4,3]),
([4,2,5],[0,3,1]),
([0,5,2],[3,1,4]),
([1,3,0],[4,5,2]),
([3,0,4],[2,5,1]),
([3,2,5],[4,1,0]),
([2,0,3],[5,1,4]),
([4,0,5],[1,2,3]),
([1,4,5],[0,2,3]),
([0,1,2],[4,5,3]),
([3,4,5],[0,2,1]),
([4,1,2],[0,3,5]),
([0,3,1],[4,2,5]),
([1,0,2],[4,3,5]),
([0,1,3],[5,2,4]),
([2,1,3],[5,4,0]),
([4,2,5],[1,3,0]),
([2,3,1],[4,0,5]),
([1,4,3],[2,5,0]),
([2,4,5],[0,1,3]),
([4,2,1],[3,0,5]),
([3,0,2],[5,4,1]),
([1,0,4],[2,5,3]),
([0,3,2],[5,1,4]),
([5,4,3],[1,0,2]),
([5,0,3],[1,2,4]),
([3,1,4],[2,5,0]),
([5,0,4],[1,3,2]),
([5,3,2],[0,1,4]),
([3,0,5],[2,1,4]),
([4,1,0],[3,5,2]),
([1,4,3],[2,0,5]),
([0,1,4],[3,2,5]),
([5,4,0],[1,3,2]),
([2,5,1],[3,4,0]),
([3,1,0],[4,5,2]),
([5,4,3],[0,1,2]),
([1,2,4],[3,5,0]),
([3,1,4],[0,2,5]),
([4,3,2],[0,1,5]),
([4,0,2],[3,5,1]),
([0,2,4],[3,1,5]),
([1,4,5],[2,3,0]),
([1,0,3],[2,4,5]),
([0,2,1],[3,4,5]),
([4,1,2],[3,0,5]),
([0,3,5],[4,1,2]),
([0,2,1],[3,4,5]),
([1,4,5],[0,3,2]),
([1,2,5],[3,4,0]),
([3,5,1],[2,0,4]),
([4,0,5],[1,2,3]),
([3,1,2],[0,4,5]),
([2,5,3],[1,4,0]),
([0,4,3],[5,1,2]),
([2,0,3],[4,5,1]),
([0,2,3],[5,4,1]),
([5,3,4],[2,0,1]),
([1,3,0],[5,2,4]),
([2,5,4],[0,1,3]),
([5,2,3],[4,0,1]),
([4,5,3],[2,0,1]),
([3,4,5],[2,0,1]),
([4,3,1],[5,2,0]),
([5,1,2],[3,4,0]),
([4,2,1],[0,5,3]),
([3,5,4],[2,0,1]),
([4,2,1],[5,3,0]),
([4,1,0],[2,5,3]),
([2,0,4],[5,1,3]),
([3,0,1],[2,4,5]),
([4,2,1],[0,3,5]),
([5,2,1],[0,4,3]),
([5,2,1],[4,3,0]),
([5,4,3],[1,2,0]),
([4,1,2],[0,3,5]),
([3,2,0],[4,1,5]),
([5,3,4],[2,1,0]),
([5,0,1],[4,3,2]),
([1,3,2],[0,5,4]),
([1,3,2],[4,0,5]),
([2,0,5],[4,3,1]),
([5,0,4],[2,3,1]),
([1,3,5],[2,0,4]),
([3,1,0],[2,4,5]),
([0,5,3],[1,2,4]),
([3,1,5],[4,2,0]),
([2,3,4],[0,1,5]),
([2,4,0],[3,1,5]),
([2,3,5],[1,4,0]),
([0,4,2],[5,3,1]),
([5,2,1],[3,4,0]),
([4,3,1],[0,2,5]),
([2,5,4],[1,0,3]),
([4,3,5],[1,0,2]),
([1,5,3],[0,2,4]),
([4,2,0],[5,1,3]),
([1,5,4],[0,3,2]),
([4,0,5],[2,1,3]),
([0,5,1],[3,4,2]),
([0,3,4],[2,1,5]),
([3,5,1],[2,4,0]),
([1,4,2],[0,5,3]),
([4,1,2],[5,0,3]),
([3,1,4],[2,0,5]),
([3,1,5],[2,4,0]),
([5,1,0],[2,4,3]),
([0,3,1],[4,2,5]),
([4,3,2],[0,1,5]),
([3,2,4],[1,5,0]),
([4,3,2],[5,0,1]),
([3,0,5],[1,4,2]),
([2,4,3],[5,0,1]),
([3,2,4],[0,1,5]),
([2,3,1],[5,4,0]),
([2,1,3],[4,5,0]),
([3,4,1],[5,2,0]),
([1,5,4],[0,2,3]),
([5,1,0],[3,2,4]),
([1,4,0],[3,2,5]),
([2,0,4],[1,5,3]),
([1,5,3],[0,4,2]),
([0,2,1],[5,3,4]),
([1,0,2],[5,3,4]),
([1,5,4],[3,2,0]),
([0,1,4],[5,2,3]),
([3,4,1],[0,5,2]),
([2,3,1],[5,0,4]),
([0,4,2],[5,3,1]),
([1,0,3],[5,2,4]),
([5,2,1],[3,4,0]),
([1,2,5],[0,3,4]),
([4,0,3],[5,2,1]),
([1,5,2],[3,4,0]),
([3,2,5],[0,4,1]),
([2,4,5],[1,0,3]),
([1,0,5],[3,4,2]),
([3,1,5],[2,0,4]),
([1,5,3],[4,2,0]),
([1,3,2],[0,5,4]),
([0,2,3],[4,1,5]),
([5,3,1],[0,2,4]),
([4,2,5],[3,1,0]),
([0,4,2],[3,5,1]),
([1,0,3],[5,2,4]),
([3,5,2],[0,1,4]),
([1,0,2],[4,3,5]),
([1,2,3],[5,0,4]),
([5,4,0],[3,1,2]),
([3,5,4],[1,0,2]),
([4,1,0],[2,5,3]),
([1,0,5],[4,3,2]),
([5,2,0],[4,1,3]),
([2,5,4],[0,1,3]),
([1,3,0],[2,5,4]),
([0,4,1],[3,5,2]),
([1,3,0],[4,5,2]),
([0,3,5],[4,1,2]),
([1,2,0],[3,5,4]),
([5,2,4],[1,0,3]),
([4,3,1],[5,0,2]),
([2,3,1],[0,4,5]),
([2,1,3],[4,5,0]),
([1,0,5],[3,4,2]),
([1,2,5],[4,0,3]),
([2,0,3],[5,1,4]),
([3,0,4],[2,1,5]),
([1,2,3],[4,0,5]),
([2,3,0],[1,4,5]),
([4,0,3],[5,1,2]),
([5,2,3],[1,4,0]),
([4,3,0],[2,1,5]),
([2,5,1],[0,4,3]),
([2,5,0],[3,1,4]),
([4,0,5],[1,3,2]),
([3,2,5],[0,4,1]),
([2,4,0],[1,3,5]),
([3,2,0],[5,1,4]),
([1,5,2],[3,4,0]),
([2,0,3],[1,5,4]),
([3,0,1],[4,5,2]),
([5,0,1],[4,3,2]),
([2,5,0],[4,3,1]),
([2,1,3],[5,0,4]),
([5,2,0],[1,3,4]),
([5,0,4],[3,2,1]),
([1,2,0],[5,3,4]),
([0,5,1],[2,3,4]),
([5,3,2],[4,1,0]),
([2,4,1],[0,3,5]),
([0,4,1],[2,3,5]),
([0,4,1],[2,3,5]),
([0,5,2],[4,1,3]),
([2,4,0],[1,5,3]),
([4,2,1],[0,5,3]),
([2,3,0],[4,1,5]),
([2,4,0],[3,1,5]),
([4,2,3],[5,0,1]),
([0,3,4],[5,2,1]),
([3,1,0],[2,5,4]),
([5,0,1],[2,4,3]),
([0,1,5],[3,2,4]),
([3,4,0],[5,2,1]),
([3,2,1],[5,0,4]),
([2,1,4],[5,3,0]),
([2,1,4],[3,5,0]),
([3,4,1],[5,2,0]),
([1,3,5],[2,0,4]),
([3,5,1],[0,4,2]),
([1,5,2],[3,0,4]),
([3,0,4],[2,5,1]),
([3,5,4],[2,1,0]),
([2,3,5],[0,1,4]),
([0,1,5],[2,3,4]),
([5,0,2],[3,4,1]),
([0,4,2],[1,5,3]),
([2,5,4],[3,0,1]),
([4,1,2],[5,0,3]),
([0,4,5],[2,3,1]),
([1,3,4],[5,2,0]),
([3,4,1],[5,0,2]),
([1,0,5],[2,3,4]),
([1,5,3],[2,4,0]),
([2,3,1],[0,5,4]),
([0,4,5],[3,2,1]),
([4,3,0],[2,1,5]),
([3,4,5],[2,0,1]),
([5,1,4],[2,0,3]),
([0,5,3],[2,1,4]),
([4,1,3],[5,2,0]),
([3,5,2],[4,0,1]),
([0,3,4],[2,1,5]),
([0,4,2],[1,3,5]),
([0,2,1],[5,3,4]),
([5,1,0],[2,3,4]),
([2,5,0],[1,4,3]),
([5,1,3],[0,2,4]),
([3,5,0],[4,2,1]),
([2,4,1],[5,3,0]),
([1,2,0],[4,3,5]),
([5,4,2],[3,1,0]),
([2,3,5],[0,4,1]),
([4,5,0],[3,2,1]),
([0,4,5],[2,1,3]),
([1,4,5],[0,2,3]),
([2,3,1],[5,0,4]),
([1,3,5],[0,2,4]),
([4,0,5],[3,1,2]),
([3,1,5],[0,4,2]),
([4,1,2],[5,0,3]),
([4,0,2],[5,3,1]),
([0,2,3],[1,5,4]),
([1,0,2],[3,5,4]),
([5,4,3],[0,1,2]),
([0,4,3],[1,5,2]),
([1,5,2],[0,3,4]),
([5,2,4],[1,3,0]),
([0,3,5],[4,1,2]),
([4,2,5],[0,3,1]),
([4,3,5],[1,2,0]),
([0,5,1],[4,3,2]),
([4,2,0],[1,5,3]),
([4,3,2],[5,0,1]),
([2,3,1],[5,4,0]),
([5,4,1],[0,2,3]),
([2,3,4],[1,5,0]),
([5,1,4],[3,0,2]),
([5,2,0],[4,1,3]),
([5,1,3],[2,0,4]),
([5,1,4],[3,2,0]),
([5,3,4],[1,0,2]),
([3,1,0],[5,4,2]),
([1,4,2],[3,0,5]),
([1,5,0],[4,3,2]),
([5,4,1],[0,3,2]),
([2,0,3],[1,5,4]),
([0,1,3],[4,2,5]),
([4,5,0],[3,2,1]),
([4,0,2],[1,5,3]),
([1,0,4],[2,5,3]),
([0,4,2],[5,3,1]),
([5,3,4],[2,1,0]),
([4,5,2],[3,0,1]),
([2,4,0],[3,1,5]),
([4,5,2],[1,3,0]),
([1,4,2],[0,5,3]),
([0,5,1],[4,3,2]),
([0,4,3],[2,1,5]),
([1,5,0],[3,2,4]),
([0,2,3],[5,1,4]),
([0,4,5],[1,3,2]),
([0,4,3],[1,2,5]),
([1,3,5],[2,4,0]),
([0,2,1],[4,3,5]),
([0,4,3],[2,5,1]),
([3,4,0],[2,1,5]),
([2,0,3],[1,5,4]),
([0,3,4],[1,2,5]),
([2,4,1],[5,0,3]),
([5,3,1],[2,0,4]),
([3,4,0],[5,2,1]),
([2,0,1],[4,5,3]),
([5,2,3],[1,4,0]),
([3,4,2],[0,5,1]),
([0,2,4],[5,3,1]),
([2,0,4],[3,5,1]),
([4,3,0],[2,5,1]),
([3,5,1],[4,0,2]),
([5,3,4],[0,1,2]),
([0,1,3],[2,4,5]),
([4,1,0],[5,2,3]),
([3,2,4],[0,5,1]),
([5,3,0],[2,4,1]),
([3,0,5],[2,4,1]),
([4,2,1],[5,3,0]),
([2,4,1],[3,5,0]),
([3,4,0],[1,2,5]),
([3,2,4],[0,5,1]),
([0,1,3],[2,5,4]),
([1,5,2],[3,4,0]),
([5,4,3],[1,2,0]),
([5,3,4],[0,2,1]),
([3,4,5],[0,2,1]),
([4,5,0],[2,1,3]),
([1,3,4],[2,5,0]),
([0,1,4],[5,3,2]),
([2,4,1],[3,0,5]),
([2,0,1],[3,5,4]),
([5,3,2],[4,1,0]),
([3,0,2],[1,4,5]),
([5,0,3],[2,1,4]),
([5,1,3],[0,4,2]),
([3,0,4],[1,2,5]),
([3,2,1],[5,0,4]),
([3,2,5],[0,1,4]),
([3,4,2],[0,5,1]),
([4,2,5],[1,3,0]),
([4,3,0],[2,1,5]),
([0,3,5],[4,1,2]),
([1,0,3],[4,5,2]),
([5,3,4],[1,2,0]),
([3,5,4],[0,1,2]),
([2,4,5],[0,3,1]),
([0,2,3],[5,4,1]),
([5,4,3],[1,0,2]),
([0,3,5],[4,2,1]),
([5,1,4],[0,2,3]),
([0,5,3],[2,1,4]),
([0,2,1],[5,4,3]),
([4,2,3],[1,0,5]),
([0,1,4],[2,5,3]),
([5,1,0],[2,3,4]),
([3,1,2],[0,5,4]),
([0,5,1],[3,4,2]),
([1,4,3],[5,0,2]),
([4,1,3],[2,0,5]),
([5,4,0],[2,3,1]),
([5,1,2],[3,0,4]),
([1,2,3],[0,5,4]),
([2,5,3],[0,1,4]),
([1,2,0],[5,4,3]),
([3,2,4],[0,1,5]),
([4,2,1],[5,0,3]),
([2,1,5],[0,3,4]),
([0,2,3],[5,4,1]),
([4,0,1],[2,5,3]),
([0,2,5],[3,1,4]),
([2,0,1],[4,5,3]),
([0,4,3],[2,5,1]),
([1,4,2],[5,3,0]),
([5,3,0],[2,1,4]),
([5,0,3],[2,1,4]),
([5,4,0],[1,2,3]),
([3,4,5],[2,0,1]),
([0,3,4],[1,5,2]),
([5,1,4],[3,2,0]),
([3,4,0],[2,5,1]),
([3,0,2],[4,1,5]),
([5,2,3],[0,1,4]),
([2,0,4],[3,5,1]),
([2,0,4],[5,3,1]),
([5,4,2],[3,0,1]),
([2,5,0],[4,1,3]),
([1,0,4],[3,5,2]),
([4,0,1],[2,3,5]),
([1,5,4],[3,2,0]),
([1,2,3],[4,5,0]),
([1,4,2],[5,0,3]),
([1,4,3],[5,0,2]),
([4,0,1],[3,2,5]),
([3,0,5],[1,2,4]),
([3,2,4],[5,1,0]),
([4,0,1],[2,5,3]),
([5,2,3],[4,0,1]),
([1,0,5],[2,4,3]),
([2,1,0],[3,5,4]),
([1,5,0],[4,2,3]),
([0,4,2],[3,1,5]),
([2,3,4],[5,0,1]),
([2,4,3],[5,1,0]),
([1,2,0],[5,4,3]),
([4,3,0],[5,2,1]),
([4,5,3],[0,1,2]),
([4,3,5],[2,0,1]),
([3,1,2],[4,0,5]),
([1,2,0],[4,5,3]),
([4,1,0],[3,5,2]),
([5,3,2],[0,1,4]),
([4,5,3],[1,2,0]),
([4,0,1],[5,3,2]),
([3,5,4],[0,2,1]),
([2,4,5],[0,1,3]),
([4,1,5],[3,2,0]),
([2,1,0],[3,4,5]),
([5,3,1],[0,2,4]),
([0,2,5],[3,1,4]),
([3,2,4],[0,5,1]),
([3,0,4],[1,2,5]),
([0,1,5],[4,2,3]),
([5,0,4],[3,2,1]),
([5,3,2],[0,1,4]),
([5,0,4],[2,3,1]),
([1,4,0],[2,3,5]),
([4,1,0],[2,3,5]),
([1,4,2],[0,3,5]),
([5,2,1],[3,0,4]),
([4,1,0],[2,3,5]),
([5,0,1],[4,3,2]),
([2,4,5],[1,0,3]),
([2,3,0],[5,4,1]),
([1,0,4],[3,5,2]),
([4,2,5],[0,3,1]),
([4,0,1],[2,5,3]),
([4,0,3],[2,5,1]),
([5,0,4],[3,1,2]),
([3,4,0],[1,5,2]),
([3,4,2],[0,1,5]),
([4,2,5],[0,1,3]),
([5,3,1],[0,2,4]),
([4,3,2],[1,0,5]),
([0,5,1],[2,4,3]),
([5,1,0],[3,4,2]),
([1,3,2],[4,5,0]),
([4,3,0],[5,2,1]),
([0,1,3],[5,2,4]),
([0,3,4],[2,5,1]),
([3,4,5],[0,1,2]),
([4,0,5],[3,2,1]),
([1,0,2],[5,4,3]),
([1,4,3],[5,2,0]),
([5,0,1],[4,2,3]),
([1,4,3],[0,2,5]),
([3,2,4],[1,5,0]),
([0,2,3],[4,1,5]),
([5,2,1],[4,0,3]),
([1,0,2],[5,4,3]),
([1,3,0],[5,4,2]),
([1,0,5],[2,3,4]),
([0,2,5],[1,4,3]),
([0,1,3],[4,2,5]),
([3,2,4],[1,0,5]),
([2,1,0],[4,3,5]),
([2,1,4],[3,5,0]),
([1,0,4],[2,3,5]),
([3,2,1],[5,4,0]),
([1,4,5],[2,3,0]),
([1,5,4],[2,0,3]),
([4,3,5],[2,0,1]),
([4,3,5],[0,1,2]),
([1,3,4],[2,5,0]),
([3,0,2],[4,1,5]),
([5,0,4],[2,1,3]),
([0,3,2],[5,4,1]),
([5,4,2],[3,1,0]),
([4,3,2],[0,5,1]),
([1,0,3],[5,4,2]),
([0,2,3],[1,4,5]),
([3,0,1],[5,4,2]),
([3,4,2],[0,1,5]),
([2,0,5],[1,4,3]),
([3,2,5],[4,0,1]),
([1,2,4],[5,3,0]),
([4,0,1],[2,5,3]),
([5,3,0],[4,2,1]),
([0,4,2],[3,5,1]),
([2,5,3],[1,4,0])]
            for x in perms:
                first = x[0]
                second = x[1]
                if sum([self.scores[y] for y in first]) == sum([self.scores[y] for y in second]):
                    result = True
                    break
            if result:
                self.result = "YES"
            else:
                self.result = "NO"

    def get_result(self):
        return self.result


if __name__ == "__main__":
    Solution = CodeforcesTask890ASolution()
    Solution.read_input()
    Solution.process_task()
    print(Solution.get_result())
