ConwayLife.com - A community for Conway's Game of Life and related cellular automata
Home  •  LifeWiki  •  Forums  •  Download Golly

Ruletable not interpreted correctly

Has something gone haywire? Let us know about it!

Ruletable not interpreted correctly

Postby shouldsee » March 30th, 2018, 10:50 am

I was trying to emulate some 2nd-order rule on the following test pattern (for 1 step).

x = 407, y = 250, rule = rev_b3aceijknqrys3aceijknqry2aceikn
228.3A$20.3A204.A3.A$19.A3.A203.A2.2A$19.A2.2A203.A.A.A$19.A.A.A203.
2A2.A$19.2A2.A203.A3.A$19.A3.A204.3A$20.3A3$228.2A$20.3A204.A.A$19.A
3.A205.A$19.A2.2A205.A$19.A.A.A205.A$19.2A2.A205.A$19.A3.A203.5A48.3A
6.5A5.A3.A6.3A6.5A5.A3.A5.A3.A6.3A10.A5.4A6.5A5.A.A.A5.5A$20.3A256.A
3.A5.A9.A2.A6.A3.A7.A7.A3.A5.A3.A5.A3.A9.A5.A3.A7.A7.A.A.A9.A$279.A9.
A9.A.A7.A3.A7.A7.A3.A5.A3.A5.A3.A9.A5.A3.A7.A7.A.A.A8.A$279.A9.3A7.2A
8.5A7.A7.A3.A6.A.A6.A3.A9.A5.4A8.A7.A.A.A7.A$279.A9.A9.A.A7.A3.A7.A7.
A3.A7.A7.A.A.A5.A3.A5.A3.A7.A7.A.A.A6.A$279.A3.A5.A9.A2.A6.A3.A7.A8.A
.A8.A7.A2.A6.A3.A5.A3.A7.A7.A.A.A5.A$280.3A6.5A5.A3.A5.A3.A5.5A7.A9.A
8.2A.A6.3A6.A3.A7.A8.A.A6.5A4$56.3A6.5A5.A3.A6.3A6.5A5.A3.A5.A3.A6.3A
10.A5.4A6.5A5.A.A.A5.5A80.3A6.7A$55.A3.A5.A9.A2.A6.A3.A7.A7.A3.A5.A3.
A5.A3.A9.A5.A3.A7.A7.A.A.A9.A79.A3.A5.A5.A$55.A9.A9.A.A7.A3.A7.A7.A3.
A5.A3.A5.A3.A9.A5.A3.A7.A7.A.A.A8.A80.A2.2A5.A5.A$55.A9.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A3.A5.A3.A5.A3.A5.A151.A15.A5.A3.A5.A$35.A19.A2.A2.A3.A.A
.A.A3.A2.2A.A3.A2.2A.A3.A.A.A.A3.A.2A2.A150.A16.A2.2A.A3.A.3A.A$35.4A
16.A.A.A.A3.A3.A.A3.A.A.A.A3.A3.A.A3.A.A.A.A3.A.A.A.A150.A16.A.3A.A3.
A2.2A.A$35.A3.A15.A.3A.A3.A.3A.A3.A.A.A.A3.A.3A.A3.A.A.A.A3.A2.2A.A
149.A17.A.3A.A3.A.3A.A$35.A3.A15.A5.A3.A5.A3.A5.A3.A5.A3.A5.A3.A5.A
149.A17.A5.A3.A5.A$36.3A16.7A3.7A3.7A3.7A3.7A3.7A149.A17.7A3.7A4$35.
5A15.7A3.7A188.3A6.7A$39.A15.A5.A3.A5.A187.A3.A5.A5.A$38.A16.A2.2A.A
3.A.3A.A187.A3.A5.A.3A.A$38.A16.A.A.A.A3.A3.A.A188.3A6.A.3A.A$37.A17.
A.3A.A3.A.3A.A187.A3.A5.A.3A.A$37.A17.A5.A3.A5.A187.A3.A5.A5.A$37.A
17.7A3.7A188.3A6.7A4$36.3A6.7A$35.A3.A5.A5.A$35.A3.A5.A.3A.A$36.3A6.A
.A.A.A$35.A3.A5.A.3A.A$35.A3.A5.A5.A$36.3A6.7A9$18.2A$17.A.A$19.A$19.
A$19.A6.180B$19.A6.180B$17.5A4.180B36.2C$26.180B35.C.C$26.180B37.C$
26.180B37.C$18.3A5.180B37.C$17.A3.A4.180B37.C$17.A2.2A4.180B35.5C35.
3C6.5C5.C3.C6.3C6.5C5.C3.C5.C3.C6.3C10.C5.4C6.5C5.C.C.C5.5C$17.A.A.A
4.180B74.C3.C5.C9.C2.C6.C3.C7.C7.C3.C5.C3.C5.C3.C9.C5.C3.C7.C7.C.C.C
9.C$17.2A2.A4.180B74.C9.C9.C.C7.C3.C7.C7.C3.C5.C3.C5.C3.C9.C5.C3.C7.C
7.C.C.C8.C$17.A3.A4.180B36.2C36.C9.3C7.2C8.5C7.C7.C3.C6.C.C6.C3.C9.C
5.4C8.C7.C.C.C7.C$18.3A5.180B35.C.C36.C9.C9.C.C7.C3.C7.C7.C3.C7.C7.C.
C.C5.C3.C5.C3.C7.C7.C.C.C6.C$26.180B37.C36.C3.C5.C9.C2.C6.C3.C7.C8.C.
C8.C7.C2.C6.C3.C5.C3.C7.C7.C.C.C5.C$26.180B37.C37.3C6.5C5.C3.C5.C3.C
5.5C7.C9.C8.2C.C6.3C6.C3.C7.C8.C.C6.5C$22.184B37.C$22.184B37.C$22.29B
3A6B5A5BA3BA6B3A6B5A5BA3BA5BA3BA6B3A10BA5B4A6B5A5BABABA5B5A31B35.5C$
22.28BA3BA5BA9BA2BA6BA3BA7BA7BA3BA5BA3BA5BA3BA9BA5BA3BA7BA7BABABA9BA
31B55.3C6.7C$22.28BA9BA9BABA7BA3BA7BA7BA3BA5BA3BA5BA3BA9BA5BA3BA7BA7B
ABABA8BA32B54.C3.C5.C5.C$22.28BA9B3A7B2A8B5A7BA7BA3BA6BABA6BA3BA9BA5B
4A8BA7BABABA7BA33B54.C2.2C5.C5.C$22.28BA9BA9BABA7BA3BA7BA7BA3BA7BA7BA
BABA5BA3BA5BA3BA7BA7BABABA6BA34B54.C.C.C5.C2.C2.C$22.28BA3BA5BA9BA2BA
6BA3BA7BA8BABA8BA7BA2BA6BA3BA5BA3BA7BA7BABABA5BA35B54.2C2.C5.C5.C$22.
29B3A6B5A5BA3BA5BA3BA5B5A7BA9BA8B2ABA6B3A6BA3BA7BA8BABA6B5A31B54.C3.C
5.C5.C$22.184B55.3C6.7C$22.184B$22.184B$22.9B3A6B7A159B$22.8BA3BA5BA
5BA159B55.2C17.7C3.7C$22.8BA2B2A5BA5BA159B54.C.C17.C5.C3.C5.C$22.8BAB
ABA5BA5BA159B56.C17.C.C3.C3.C2.C2.C$22.8B2A2BA5BA5BA159B56.C17.C2.C2.
C3.C2.C2.C$22.8BA3BA5BA5BA159B56.C17.C5.C3.C5.C$22.9B3A6B7A159B56.C
17.C5.C3.C5.C$22.184B54.5C15.7C3.7C$22.184B$22.184B$22.9B2A17B7A3B7A
139B$22.8BABA17BA5BA3BA5BA139B55.3C16.7C3.7C3.7C3.7C3.7C3.7C$22.10BA
17BABA3BA3BA2BA2BA139B54.C3.C15.C5.C3.C5.C3.C5.C3.C5.C3.C5.C3.C5.C$
22.10BA17BA5BA3BA5BA139B58.C15.C.C.C.C3.C2.C2.C3.C.C3.C3.C.C3.C3.C2.C
2.C3.C3.C.C$22.10BA17BA5BA3BA5BA139B57.C16.C2.C2.C3.C.2C2.C3.C2.C2.C
3.C.2C2.C3.C2.C2.C3.C2.C2.C$22.10BA17BA5BA3BA5BA139B56.C17.C5.C3.C5.C
3.C2.C2.C3.C5.C3.C2.C2.C3.C.C3.C$22.8B5A15B7A3B7A139B55.C18.C5.C3.C5.
C3.C5.C3.C5.C3.C5.C3.C5.C$22.184B54.5C15.7C3.7C3.7C3.7C3.7C3.7C$22.
184B46.2A$22.184B28.A18.2A$22.9B3A16B7A3B7A3B7A3B7A3B7A3B7A99B28.A18.
A.A$22.8BA3BA15BA5BA3BA5BA3BA5BA3BA5BA3BA5BA3BA5BA99B28.A16.2A.2A5.3C
16.7C3.7C3.7C3.7C3.7C3.7C3.7C3.7C3.7C3.7C$22.12BA15BABABABA3BA2BA2BA
3BABA3BA3BABA3BA3BA2BA2BA3BA3BABA99B28.A14.2A3.A5.C3.C15.C5.C3.C5.C3.
C5.C3.C5.C3.C5.C3.C5.C3.C5.C3.C5.C3.C5.C3.C5.C$22.11BA16BA5BA3BABA3BA
3BA5BA3BABA3BA3BA5BA3BA5BA99B27.A14.A3.2A10.C15.C.C.C.C3.C2.C2.C3.C.C
3.C3.C.2C2.C3.C3.C.C3.C.C.C.C3.C2.2C.C3.C3.C.C3.C3.C.C3.C.C.C.C$22.
10BA17BA5BA3BA5BA3BA2BA2BA3BA5BA3BA2BA2BA3BABA3BA99B27.A12.2A4.A9.2C
16.C2.C2.C3.C.2C2.C3.C2.2C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5.C3.C5.C3.C5.C3.C5.C3.C5.C3.C5.
C$22.12BA15BABABABA3BA3BABA3BABA3BA3BA3BABA3BABA3BA3BABABABA3BABABABA
3BABA3BA3BABA3BA3BABABABA59B54.C19.C2.C2.C3.C.C.C.C3.C2.2C.C3.C2.2C.C
3.C.C.C.C3.C.2C2.C$22.12BA15BA2B2ABA3BABABABA3BABABABA3BAB3ABA3BAB2A
2BA3BAB2A2BA3BABA3BA3BA2B2ABA3BABABABA3BA2BA2BA59B54.4C16.C.3C.C3.C2.
2C.C3.C.3C.C3.C2.2C.C3.C.3C.C3.C.3C.C$22.8BA3BA15BA5BA3BA5BA3BA5BA3BA
5BA3BA5BA3BA5BA3BA5BA3BA5BA3BA5BA3BA5BA59B54.C3.C15.C.3C.C3.C.3C.C3.C
.C.C.C3.C.3C.C3.C.C.C.C3.C2.2C.C$22.9B3A16B7A3B7A3B7A3B7A3B7A3B7A3B7A
3B7A3B7A3B7A59B54.C3.C15.C5.C3.C5.C3.C5.C3.C5.C3.C5.C3.C5.C$22.184B
55.3C16.7C3.7C3.7C3.7C3.7C3.7C$22.184B$22.184B$22.9B3A16B7A3B7A3B7A3B
7A3B7A3B7A99B$22.8BA3BA15BA5BA3BA5BA3BA5BA3BA5BA3BA5BA3BA5BA99B54.5C
15.7C3.7C$22.8BA19BA2BA2BA3BABABABA3BA2B2ABA3BA2B2ABA3BABABABA3BAB2A
2BA99B58.C15.C5.C3.C5.C$22.8B4A16BABABABA3BA3BABA3BABABABA3BA3BABA3BA
BABABA3BABABABA99B57.C16.C2.2C.C3.C.3C.C$22.8BA3BA15BAB3ABA3BAB3ABA3B
ABABABA3BAB3ABA3BABABABA3BA2B2ABA99B57.C16.C.3C.C3.C2.2C.C$22.8BA3BA
15BA5BA3BA5BA3BA5BA3BA5BA3BA5BA3BA5BA99B56.C17.C.3C.C3.C.3C.C$22.9B3A
16B7A3B7A3B7A3B7A3B7A3B7A99B56.C17.C5.C3.C5.C$22.184B56.C17.7C3.7C$
22.184B$22.184B$22.8B5A15B7A3B7A139B$22.12BA15BA5BA3BA5BA139B55.3C6.
7C$22.11BA16BA2B2ABA3BAB3ABA139B54.C3.C5.C5.C$22.11BA16BABABABA3BA3BA
BA139B54.C3.C5.C.3C.C$22.10BA17BAB3ABA3BAB3ABA139B55.3C6.C.3C.C$22.
10BA17BA5BA3BA5BA139B54.C3.C5.C.3C.C$22.10BA17B7A3B7A139B54.C3.C5.C5.
C$22.184B55.3C6.7C$22.184B$22.184B$22.9B3A6B7A159B$22.8BA3BA5BA5BA
159B$22.8BA3BA5BAB3ABA159B$22.9B3A6BABABABA159B$22.8BA3BA5BAB3ABA159B
$22.8BA3BA5BA5BA159B$22.9B3A6B7A159B$22.184B!



The problem is with the edge of lower-left patch where configs like

000
222
222

is mapped to 2 whereas the correct result should be 1 given "2,a,a,a,a,a,a,a,a,1" and "var a={0,2}" (i have regexed checked 2->2 is not specified anywhere in the table)

rev_b3s23.rule
@RULE rev_b3s23
### b3aceijknqrys3aceijknqry2aceikn
@TABLE
n_states:4
neighborhood:Moore
symmetries:rotate4reflect
var a={0,2}
var b={1,3}
0,a,a,a,a,a,a,a,a,0
2,a,a,a,a,a,a,a,a,1
0,a,a,a,b,a,a,a,a,0
2,a,a,a,b,a,a,a,a,1
0,a,a,a,a,b,a,a,a,0
2,a,a,a,a,b,a,a,a,1
0,a,a,a,b,b,a,a,a,0
2,a,a,a,b,b,a,a,a,1
0,a,a,a,b,a,b,a,a,0
2,a,a,a,b,a,b,a,a,1
0,a,a,a,b,b,b,a,a,1
2,a,a,a,b,b,b,a,a,0
0,a,a,b,a,b,a,a,a,0
2,a,a,b,a,b,a,a,a,1
0,a,a,b,b,b,a,a,a,1
2,a,a,b,b,b,a,a,a,0
0,a,a,b,a,a,b,a,a,0
2,a,a,b,a,a,b,a,a,1
0,a,a,b,b,a,b,a,a,1
2,a,a,b,b,a,b,a,a,0
0,a,a,b,a,b,b,a,a,1
2,a,a,b,a,b,b,a,a,0
0,a,a,b,b,b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,b,b,a,b,b,b,a,2
3,b,b,b,a,b,b,b,a,3
1,b,b,b,b,b,b,b,a,2
3,b,b,b,b,b,b,b,a,3
0,a,b,a,b,a,b,a,b,0
2,a,b,a,b,a,b,a,b,1
0,a,b,a,b,b,b,a,b,0
2,a,b,a,b,b,b,a,b,1
0,a,b,b,b,b,b,a,b,0
2,a,b,b,b,b,b,a,b,1
1,a,b,a,b,a,b,a,b,2
3,a,b,a,b,a,b,a,b,3
1,a,b,a,b,b,b,a,b,2
3,a,b,a,b,b,b,a,b,3
1,a,b,b,b,b,b,a,b,2
3,a,b,b,b,b,b,a,b,3
0,a,b,b,b,a,b,b,b,0
2,a,b,b,b,a,b,b,b,1
0,a,b,b,b,b,b,b,b,0
2,a,b,b,b,b,b,b,b,1
1,a,b,b,b,a,b,b,b,2
3,a,b,b,b,a,b,b,b,3
1,a,b,b,b,b,b,b,b,2
3,a,b,b,b,b,b,b,b,3
0,b,b,b,b,b,b,b,b,0
2,b,b,b,b,b,b,b,b,1
1,b,b,b,b,b,b,b,b,2
3,b,b,b,b,b,b,b,b,3


shouldsee
 
Posts: 406
Joined: April 8th, 2016, 8:29 am

Re: Ruletable not interpreted correctly

Postby dvgrn » March 30th, 2018, 11:35 am

shouldsee wrote:I was trying to emulate some 2nd-order rule on the following test pattern (for 1 step).

x = 407, y = 250, rule = rev_b3aceijknqrys3aceijknqry2aceikn...

The rule in your test pattern doesn't match the rule you posted. I assume that's just a name change:

@RULE rev_b3aceijknqrys3aceijknqry2aceikn
@TABLE
n_states:4
neighborhood:Moore
symmetries:rotate4reflect
var a={0,2}
var b={1,3}
0,a,a,a,a,a,a,a,a,0
2,a,a,a,a,a,a,a,a,1
0,a,a,a,b,a,a,a,a,0
2,a,a,a,b,a,a,a,a,1
0,a,a,a,a,b,a,a,a,0
2,a,a,a,a,b,a,a,a,1
0,a,a,a,b,b,a,a,a,0
2,a,a,a,b,b,a,a,a,1
0,a,a,a,b,a,b,a,a,0
2,a,a,a,b,a,b,a,a,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b,b,b,a,3
0,b,b,a,b,a,b,b,a,0
2,b,b,a,b,a,b,b,a,1
0,b,b,a,b,b,b,b,a,0
2,b,b,a,b,b,b,b,a,1
0,b,b,b,a,b,b,b,a,0
2,b,b,b,a,b,b,b,a,1
0,b,b,b,b,b,b,b,a,0
2,b,b,b,b,b,b,b,a,1
1,b,b,a,b,a,b,b,a,2
3,b,b,a,b,a,b,b,a,3
1,b,b,a,b,b,b,b,a,2
3,b,b,a,b,b,b,b,a,3
1,b,b,b,a,b,b,b,a,2
3,b,b,b,a,b,b,b,a,3
1,b,b,b,b,b,b,b,a,2
3,b,b,b,b,b,b,b,a,3
0,a,b,a,b,a,b,a,b,0
2,a,b,a,b,a,b,a,b,1
0,a,b,a,b,b,b,a,b,0
2,a,b,a,b,b,b,a,b,1
0,a,b,b,b,b,b,a,b,0
2,a,b,b,b,b,b,a,b,1
1,a,b,a,b,a,b,a,b,2
3,a,b,a,b,a,b,a,b,3
1,a,b,a,b,b,b,a,b,2
3,a,b,a,b,b,b,a,b,3
1,a,b,b,b,b,b,a,b,2
3,a,b,b,b,b,b,a,b,3
0,a,b,b,b,a,b,b,b,0
2,a,b,b,b,a,b,b,b,1
0,a,b,b,b,b,b,b,b,0
2,a,b,b,b,b,b,b,b,1
1,a,b,b,b,a,b,b,b,2
3,a,b,b,b,a,b,b,b,3
1,a,b,b,b,b,b,b,b,2
3,a,b,b,b,b,b,b,b,3
0,b,b,b,b,b,b,b,b,0
2,b,b,b,b,b,b,b,b,1
1,b,b,b,b,b,b,b,b,2
3,b,b,b,b,b,b,b,b,3

But then there's no configuration like the one you mention, at the "edge of the lower-left patch" -- only in the middle of the lower-right and upper-right patches. Can you give a specific coordinate in the test pattern where the problem is happening?

EDIT: Ah, hang on, I see where you're looking -- basically the whole X=22 column. Give me a minute...
User avatar
dvgrn
Moderator
 
Posts: 4972
Joined: May 17th, 2009, 11:00 pm
Location: Madison, WI

Re: Ruletable not interpreted correctly

Postby shouldsee » March 30th, 2018, 11:41 am

dvgrn wrote:
shouldsee wrote:I was trying to emulate some 2nd-order rule on the following test pattern (for 1 step).

But then there's no configuration like the one you mention, at the "edge of the lower-left patch" -- only in the middle of the lower-right and upper-right patches. Can you give a specific coordinate in the test pattern where the problem is happening?

EDIT: Ah, hang on, I see where you're looking -- basically the whole X=22 column. Give me a minute...


In case the last pattern is too much, here's a reduced version.

t=0

x = 21, y = 24, rule = rev_b3aceijknqrys3aceijknqry2aceikn
4$3.15B$3.15B$3.15B$3.15B$3.15B$3.15B$3.15B$3.15B$3.15B$3.15B$3.15B$
3.15B$3.15B$3.15B!


t=1

x = 21, y = 24, rule = rev_b3aceijknqrys3aceijknqry2aceikn
4$3.15B$3.B13AB$3.B13AB$3.B13AB$3.B13AB$3.B13AB$3.B13AB$3.B13AB$3.B
13AB$3.B13AB$3.B13AB$3.B13AB$3.B13AB$3.15B!
shouldsee
 
Posts: 406
Joined: April 8th, 2016, 8:29 am

Re: Ruletable not interpreted correctly

Postby dvgrn » March 30th, 2018, 11:47 am

Got it. You're getting tripped up by the whole bound vs. unbound variables problem. In the context of

var a={0,2}
...
2,a,a,a,a,a,a,a,a,1

that rule line will only match

2,0,0,0,0,0,0,0,0

or

2,2,2,2,2,2,2,2,2

-- the same substitution in each case. To fix that you have to use the kind of multi-variable definition that shows up in many existing rules:

var a1={0,2}
var a2={0,2}
var a3={0,2}
var a4={0,2}
var a5={0,2}
var a6={0,2}
var a7={0,2}
var a8={0,2}
...
2,a1,a2,a3,a4,a5,a6,a7,a8,1

Over on Discord, M.I.Wright has been working on an alternate format and a preprocessor script that would avoid this slightly awkward method of specifying independent variables -- but until that's done, the above is a perfectly good way to get what you want.
User avatar
dvgrn
Moderator
 
Posts: 4972
Joined: May 17th, 2009, 11:00 pm
Location: Madison, WI

Re: Ruletable not interpreted correctly

Postby shouldsee » March 30th, 2018, 11:52 am

dvgrn wrote:“patch”


WoW. Thanks a lot! (I have a vague memory of having tripped here once.)

Maybe some highlighting can be added in this help page like

[!!WARNING!!!]
Where the same variable appears more than once in a transition, it stands for the same state each time. For example, the transition in the example above expands to the following: 20212->2, 20213->2, 20312->3, 20313->3, 30212->2, 30213->2, 30312->3, 30313->3, and all 90-degree rotations of those (because of the rotate4 symmetry).


UPDATE:


This is working now!!

rev_b3aceijknqrys3aceijknqry2aceikn.rule
@RULE rev_b3aceijknqrys3aceijknqry2aceikn
@TABLE
n_States:4
neighborhood:Moore
symmetries:rotate4reflect

var a0={0,2} ### curr0
var b0={1,3} ### curr1
var a1={0,2} ### curr0
var b1={1,3} ### curr1
var a2={0,2} ### curr0
var b2={1,3} ### curr1
var a3={0,2} ### curr0
var b3={1,3} ### curr1
var a4={0,2} ### curr0
var b4={1,3} ### curr1
var a5={0,2} ### curr0
var b5={1,3} ### curr1
var a6={0,2} ### curr0
var b6={1,3} ### curr1
var a7={0,2} ### curr0
var b7={1,3} ### curr1
#>>>TAB<<<
0,a0,a1,a2,a3,a4,a5,a6,a7,0
2,a0,a1,a2,a3,a4,a5,a6,a7,1
0,a0,a1,a2,b0,a3,a4,a5,a6,0
2,a0,a1,a2,b0,a3,a4,a5,a6,1
0,a0,a1,a2,a3,b0,a4,a5,a6,0
2,a0,a1,a2,a3,b0,a4,a5,a6,1
0,a0,a1,a2,b0,b1,a3,a4,a5,0
2,a0,a1,a2,b0,b1,a3,a4,a5,1
0,a0,a1,a2,b0,a3,b1,a4,a5,0
2,a0,a1,a2,b0,a3,b1,a4,a5,1
0,a0,a1,a2,b0,b1,b2,a3,a4,1
2,a0,a1,a2,b0,b1,b2,a3,a4,0
0,a0,a1,b0,a2,b1,a3,a4,a5,0
2,a0,a1,b0,a2,b1,a3,a4,a5,1
0,a0,a1,b0,b1,b2,a2,a3,a4,1
2,a0,a1,b0,b1,b2,a2,a3,a4,0
0,a0,a1,b0,a2,a3,b1,a4,a5,0
2,a0,a1,b0,a2,a3,b1,a4,a5,1
0,a0,a1,b0,b1,a2,b2,a3,a4,1
2,a0,a1,b0,b1,a2,b2,a3,a4,0
0,a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