4
2 a b
0 a 1
0 b 2
1 a 3
1 b 2
2 a 1
2 b 3
3 a 3
3 b 3
0
1 3
aa
