1-1-0
1-0.7-0 a1=0.3
1-0.4-0 a1=0.3,a2=0.3
1-0-0.3 a1=0.4,a2=0.3
0.7-0.3-0.3
0.4-0.6-0.3
0.1-0.9-0.3
0-0.9-0.3 a1=0.4,a2=0.4
0-1-0.2
0.2-1-0
0.2-0.7-0.3
0.5-0.4-0.3
0.8-0.1-0.3
0.8-0-0.3 a1=0.4,a2=0.4,a3=0.1
1-0-0.1
1-0-0 a1=0.4,a2=0.4,a3=0.1,a4=0.1
0.7-0-0 a1=0.4,a2=0.4,a3=0.4,a4=0.1
0.4-0-0 a1=0.4,a2=0.4,a3=0.4,a4=0.4
finish