list:=[ [# 1 [ 1, 2, 1, 1, 5, 6 ], [ 2, 2, 2, 2, 6, 6 ], [ 1, 2, 4, 3, 5, 6 ], [ 1, 2, 3, 4, 5, 6 ], [ 5, 6, 5, 5, 5, 6 ], [ 6, 6, 6, 6, 6, 6 ] ], [# 2 [ 1, 2, 1, 1, 5, 6 ], [ 2, 2, 2, 2, 6, 6 ], [ 1, 2, 1, 3, 5, 6 ], [ 1, 2, 3, 4, 5, 6 ], [ 5, 6, 5, 5, 5, 6 ], [ 6, 6, 6, 6, 6, 6 ] ] ];