--line m0 eas;
insert into leg values ('m0','m0e0','m0e1');
insert into leg values ('m0','m0e1','m0e2');
insert into leg values ('m0','m0e2','m0l0');
insert into leg values ('m0','m0l0','m0e3');

insert into leg values ('m0','m0e3','m0e4');
insert into leg values ('m0','m0e4','m0e5');
insert into leg values ('m0','m0e5','m0l1');
insert into leg values ('m0','m0l1','m0e6');

insert into leg values ('m0','m0e6','m0e7');
insert into leg values ('m0','m0e7','m0e8');
insert into leg values ('m0','m0e8','m0l2');
insert into leg values ('m0','m0l2','m0e9');

insert into leg values ('m0','m0e9','m0e10');
insert into leg values ('m0','m0e10','m0e11');
insert into leg values ('m0','m0e11','m0l3');
insert into leg values ('m0','m0l3','m0e12');

insert into leg values ('m0','m0e12','m0e13');
insert into leg values ('m0','m0e13','m0e14');
insert into leg values ('m0','m0e14','m0l4');
insert into leg values ('m0','m0l4','m0e15');

insert into leg values ('m0','m0e15','m0e16');
insert into leg values ('m0','m0e16','m0e17');
insert into leg values ('m0','m0e17','m0l5');
insert into leg values ('m0','m0l5','m0e18');

insert into leg values ('m0','m0e18','m0e19');
insert into leg values ('m0','m0e19','m0e20');
insert into leg values ('m0','m0e20','m0l6');
insert into leg values ('m0','m0l6','m0e21');

insert into leg values ('m0','m0e21','m0e22');
insert into leg values ('m0','m0e22','m0e23');
insert into leg values ('m0','m0e23','m0l7');
insert into leg values ('m0','m0l7','m0e24');

insert into leg values ('m0','m0e24','m0e25');
insert into leg values ('m0','m0e25','m0e26');
insert into leg values ('m0','m0e26','m0l8');
insert into leg values ('m0','m0l8','m0e27');

insert into leg values ('m0','m0e27','m0e28');
insert into leg values ('m0','m0e28','m0e29');
insert into leg values ('m0','m0e29','m0l9');
insert into leg values ('m0','m0l9','m0e30');

--line m1 eas;
insert into leg values ('m1','m1e0','m1e1');
insert into leg values ('m1','m1e1','m1e2');
insert into leg values ('m1','m1e2','m1l0');
insert into leg values ('m1','m1l0','m1e3');

insert into leg values ('m1','m1e3','m1e4');
insert into leg values ('m1','m1e4','m1e5');
insert into leg values ('m1','m1e5','m1l1');
insert into leg values ('m1','m1l1','m1e6');

insert into leg values ('m1','m1e6','m1e7');
insert into leg values ('m1','m1e7','m1e8');
insert into leg values ('m1','m1e8','m1l2');
insert into leg values ('m1','m1l2','m1e9');

insert into leg values ('m1','m1e9','m1e10');
insert into leg values ('m1','m1e10','m1e11');
insert into leg values ('m1','m1e11','m1l3');
insert into leg values ('m1','m1l3','m1e12');

insert into leg values ('m1','m1e12','m1e13');
insert into leg values ('m1','m1e13','m1e14');
insert into leg values ('m1','m1e14','m1l4');
insert into leg values ('m1','m1l4','m1e15');

insert into leg values ('m1','m1e15','m1e16');
insert into leg values ('m1','m1e16','m1e17');
insert into leg values ('m1','m1e17','m1l5');
insert into leg values ('m1','m1l5','m1e18');

insert into leg values ('m1','m1e18','m1e19');
insert into leg values ('m1','m1e19','m1e20');
insert into leg values ('m1','m1e20','m1l6');
insert into leg values ('m1','m1l6','m1e21');

insert into leg values ('m1','m1e21','m1e22');
insert into leg values ('m1','m1e22','m1e23');
insert into leg values ('m1','m1e23','m1l7');
insert into leg values ('m1','m1l7','m1e24');

insert into leg values ('m1','m1e24','m1e25');
insert into leg values ('m1','m1e25','m1e26');
insert into leg values ('m1','m1e26','m1l8');
insert into leg values ('m1','m1l8','m1e27');

insert into leg values ('m1','m1e27','m1e28');
insert into leg values ('m1','m1e28','m1e29');
insert into leg values ('m1','m1e29','m1l9');
insert into leg values ('m1','m1l9','m1e30');

--line m2 eas;
insert into leg values ('m2','m2e0','m2e1');
insert into leg values ('m2','m2e1','m2e2');
insert into leg values ('m2','m2e2','m2l0');
insert into leg values ('m2','m2l0','m2e3');

insert into leg values ('m2','m2e3','m2e4');
insert into leg values ('m2','m2e4','m2e5');
insert into leg values ('m2','m2e5','m2l1');
insert into leg values ('m2','m2l1','m2e6');

insert into leg values ('m2','m2e6','m2e7');
insert into leg values ('m2','m2e7','m2e8');
insert into leg values ('m2','m2e8','m2l2');
insert into leg values ('m2','m2l2','m2e9');

insert into leg values ('m2','m2e9','m2e10');
insert into leg values ('m2','m2e10','m2e11');
insert into leg values ('m2','m2e11','m2l3');
insert into leg values ('m2','m2l3','m2e12');

insert into leg values ('m2','m2e12','m2e13');
insert into leg values ('m2','m2e13','m2e14');
insert into leg values ('m2','m2e14','m2l4');
insert into leg values ('m2','m2l4','m2e15');

insert into leg values ('m2','m2e15','m2e16');
insert into leg values ('m2','m2e16','m2e17');
insert into leg values ('m2','m2e17','m2l5');
insert into leg values ('m2','m2l5','m2e18');

insert into leg values ('m2','m2e18','m2e19');
insert into leg values ('m2','m2e19','m2e20');
insert into leg values ('m2','m2e20','m2l6');
insert into leg values ('m2','m2l6','m2e21');

insert into leg values ('m2','m2e21','m2e22');
insert into leg values ('m2','m2e22','m2e23');
insert into leg values ('m2','m2e23','m2l7');
insert into leg values ('m2','m2l7','m2e24');

insert into leg values ('m2','m2e24','m2e25');
insert into leg values ('m2','m2e25','m2e26');
insert into leg values ('m2','m2e26','m2l8');
insert into leg values ('m2','m2l8','m2e27');

insert into leg values ('m2','m2e27','m2e28');
insert into leg values ('m2','m2e28','m2e29');
insert into leg values ('m2','m2e29','m2l9');
insert into leg values ('m2','m2l9','m2e30');

--line m3 eas;
insert into leg values ('m3','m3e0','m3e1');
insert into leg values ('m3','m3e1','m3e2');
insert into leg values ('m3','m3e2','m3l0');
insert into leg values ('m3','m3l0','m3e3');

insert into leg values ('m3','m3e3','m3e4');
insert into leg values ('m3','m3e4','m3e5');
insert into leg values ('m3','m3e5','m3l1');
insert into leg values ('m3','m3l1','m3e6');

insert into leg values ('m3','m3e6','m3e7');
insert into leg values ('m3','m3e7','m3e8');
insert into leg values ('m3','m3e8','m3l2');
insert into leg values ('m3','m3l2','m3e9');

insert into leg values ('m3','m3e9','m3e10');
insert into leg values ('m3','m3e10','m3e11');
insert into leg values ('m3','m3e11','m3l3');
insert into leg values ('m3','m3l3','m3e12');

insert into leg values ('m3','m3e12','m3e13');
insert into leg values ('m3','m3e13','m3e14');
insert into leg values ('m3','m3e14','m3l4');
insert into leg values ('m3','m3l4','m3e15');

insert into leg values ('m3','m3e15','m3e16');
insert into leg values ('m3','m3e16','m3e17');
insert into leg values ('m3','m3e17','m3l5');
insert into leg values ('m3','m3l5','m3e18');

insert into leg values ('m3','m3e18','m3e19');
insert into leg values ('m3','m3e19','m3e20');
insert into leg values ('m3','m3e20','m3l6');
insert into leg values ('m3','m3l6','m3e21');

insert into leg values ('m3','m3e21','m3e22');
insert into leg values ('m3','m3e22','m3e23');
insert into leg values ('m3','m3e23','m3l7');
insert into leg values ('m3','m3l7','m3e24');

insert into leg values ('m3','m3e24','m3e25');
insert into leg values ('m3','m3e25','m3e26');
insert into leg values ('m3','m3e26','m3l8');
insert into leg values ('m3','m3l8','m3e27');

insert into leg values ('m3','m3e27','m3e28');
insert into leg values ('m3','m3e28','m3e29');
insert into leg values ('m3','m3e29','m3l9');
insert into leg values ('m3','m3l9','m3e30');

--line m4 eas;
insert into leg values ('m4','m4e0','m4e1');
insert into leg values ('m4','m4e1','m4e2');
insert into leg values ('m4','m4e2','m4l0');
insert into leg values ('m4','m4l0','m4e3');

insert into leg values ('m4','m4e3','m4e4');
insert into leg values ('m4','m4e4','m4e5');
insert into leg values ('m4','m4e5','m4l1');
insert into leg values ('m4','m4l1','m4e6');

insert into leg values ('m4','m4e6','m4e7');
insert into leg values ('m4','m4e7','m4e8');
insert into leg values ('m4','m4e8','m4l2');
insert into leg values ('m4','m4l2','m4e9');

insert into leg values ('m4','m4e9','m4e10');
insert into leg values ('m4','m4e10','m4e11');
insert into leg values ('m4','m4e11','m4l3');
insert into leg values ('m4','m4l3','m4e12');

insert into leg values ('m4','m4e12','m4e13');
insert into leg values ('m4','m4e13','m4e14');
insert into leg values ('m4','m4e14','m4l4');
insert into leg values ('m4','m4l4','m4e15');

insert into leg values ('m4','m4e15','m4e16');
insert into leg values ('m4','m4e16','m4e17');
insert into leg values ('m4','m4e17','m4l5');
insert into leg values ('m4','m4l5','m4e18');

insert into leg values ('m4','m4e18','m4e19');
insert into leg values ('m4','m4e19','m4e20');
insert into leg values ('m4','m4e20','m4l6');
insert into leg values ('m4','m4l6','m4e21');

insert into leg values ('m4','m4e21','m4e22');
insert into leg values ('m4','m4e22','m4e23');
insert into leg values ('m4','m4e23','m4l7');
insert into leg values ('m4','m4l7','m4e24');

insert into leg values ('m4','m4e24','m4e25');
insert into leg values ('m4','m4e25','m4e26');
insert into leg values ('m4','m4e26','m4l8');
insert into leg values ('m4','m4l8','m4e27');

insert into leg values ('m4','m4e27','m4e28');
insert into leg values ('m4','m4e28','m4e29');
insert into leg values ('m4','m4e29','m4l9');
insert into leg values ('m4','m4l9','m4e30');

--line m5 eas;
insert into leg values ('m5','m5e0','m5e1');
insert into leg values ('m5','m5e1','m5e2');
insert into leg values ('m5','m5e2','m5l0');
insert into leg values ('m5','m5l0','m5e3');

insert into leg values ('m5','m5e3','m5e4');
insert into leg values ('m5','m5e4','m5e5');
insert into leg values ('m5','m5e5','m5l1');
insert into leg values ('m5','m5l1','m5e6');

insert into leg values ('m5','m5e6','m5e7');
insert into leg values ('m5','m5e7','m5e8');
insert into leg values ('m5','m5e8','m5l2');
insert into leg values ('m5','m5l2','m5e9');

insert into leg values ('m5','m5e9','m5e10');
insert into leg values ('m5','m5e10','m5e11');
insert into leg values ('m5','m5e11','m5l3');
insert into leg values ('m5','m5l3','m5e12');

insert into leg values ('m5','m5e12','m5e13');
insert into leg values ('m5','m5e13','m5e14');
insert into leg values ('m5','m5e14','m5l4');
insert into leg values ('m5','m5l4','m5e15');

insert into leg values ('m5','m5e15','m5e16');
insert into leg values ('m5','m5e16','m5e17');
insert into leg values ('m5','m5e17','m5l5');
insert into leg values ('m5','m5l5','m5e18');

insert into leg values ('m5','m5e18','m5e19');
insert into leg values ('m5','m5e19','m5e20');
insert into leg values ('m5','m5e20','m5l6');
insert into leg values ('m5','m5l6','m5e21');

insert into leg values ('m5','m5e21','m5e22');
insert into leg values ('m5','m5e22','m5e23');
insert into leg values ('m5','m5e23','m5l7');
insert into leg values ('m5','m5l7','m5e24');

insert into leg values ('m5','m5e24','m5e25');
insert into leg values ('m5','m5e25','m5e26');
insert into leg values ('m5','m5e26','m5l8');
insert into leg values ('m5','m5l8','m5e27');

insert into leg values ('m5','m5e27','m5e28');
insert into leg values ('m5','m5e28','m5e29');
insert into leg values ('m5','m5e29','m5l9');
insert into leg values ('m5','m5l9','m5e30');

--line m6 eas;
insert into leg values ('m6','m6e0','m6e1');
insert into leg values ('m6','m6e1','m6e2');
insert into leg values ('m6','m6e2','m6l0');
insert into leg values ('m6','m6l0','m6e3');

insert into leg values ('m6','m6e3','m6e4');
insert into leg values ('m6','m6e4','m6e5');
insert into leg values ('m6','m6e5','m6l1');
insert into leg values ('m6','m6l1','m6e6');

insert into leg values ('m6','m6e6','m6e7');
insert into leg values ('m6','m6e7','m6e8');
insert into leg values ('m6','m6e8','m6l2');
insert into leg values ('m6','m6l2','m6e9');

insert into leg values ('m6','m6e9','m6e10');
insert into leg values ('m6','m6e10','m6e11');
insert into leg values ('m6','m6e11','m6l3');
insert into leg values ('m6','m6l3','m6e12');

insert into leg values ('m6','m6e12','m6e13');
insert into leg values ('m6','m6e13','m6e14');
insert into leg values ('m6','m6e14','m6l4');
insert into leg values ('m6','m6l4','m6e15');

insert into leg values ('m6','m6e15','m6e16');
insert into leg values ('m6','m6e16','m6e17');
insert into leg values ('m6','m6e17','m6l5');
insert into leg values ('m6','m6l5','m6e18');

insert into leg values ('m6','m6e18','m6e19');
insert into leg values ('m6','m6e19','m6e20');
insert into leg values ('m6','m6e20','m6l6');
insert into leg values ('m6','m6l6','m6e21');

insert into leg values ('m6','m6e21','m6e22');
insert into leg values ('m6','m6e22','m6e23');
insert into leg values ('m6','m6e23','m6l7');
insert into leg values ('m6','m6l7','m6e24');

insert into leg values ('m6','m6e24','m6e25');
insert into leg values ('m6','m6e25','m6e26');
insert into leg values ('m6','m6e26','m6l8');
insert into leg values ('m6','m6l8','m6e27');

insert into leg values ('m6','m6e27','m6e28');
insert into leg values ('m6','m6e28','m6e29');
insert into leg values ('m6','m6e29','m6l9');
insert into leg values ('m6','m6l9','m6e30');

--line m7 eas;
insert into leg values ('m7','m7e0','m7e1');
insert into leg values ('m7','m7e1','m7e2');
insert into leg values ('m7','m7e2','m7l0');
insert into leg values ('m7','m7l0','m7e3');

insert into leg values ('m7','m7e3','m7e4');
insert into leg values ('m7','m7e4','m7e5');
insert into leg values ('m7','m7e5','m7l1');
insert into leg values ('m7','m7l1','m7e6');

insert into leg values ('m7','m7e6','m7e7');
insert into leg values ('m7','m7e7','m7e8');
insert into leg values ('m7','m7e8','m7l2');
insert into leg values ('m7','m7l2','m7e9');

insert into leg values ('m7','m7e9','m7e10');
insert into leg values ('m7','m7e10','m7e11');
insert into leg values ('m7','m7e11','m7l3');
insert into leg values ('m7','m7l3','m7e12');

insert into leg values ('m7','m7e12','m7e13');
insert into leg values ('m7','m7e13','m7e14');
insert into leg values ('m7','m7e14','m7l4');
insert into leg values ('m7','m7l4','m7e15');

insert into leg values ('m7','m7e15','m7e16');
insert into leg values ('m7','m7e16','m7e17');
insert into leg values ('m7','m7e17','m7l5');
insert into leg values ('m7','m7l5','m7e18');

insert into leg values ('m7','m7e18','m7e19');
insert into leg values ('m7','m7e19','m7e20');
insert into leg values ('m7','m7e20','m7l6');
insert into leg values ('m7','m7l6','m7e21');

insert into leg values ('m7','m7e21','m7e22');
insert into leg values ('m7','m7e22','m7e23');
insert into leg values ('m7','m7e23','m7l7');
insert into leg values ('m7','m7l7','m7e24');

insert into leg values ('m7','m7e24','m7e25');
insert into leg values ('m7','m7e25','m7e26');
insert into leg values ('m7','m7e26','m7l8');
insert into leg values ('m7','m7l8','m7e27');

insert into leg values ('m7','m7e27','m7e28');
insert into leg values ('m7','m7e28','m7e29');
insert into leg values ('m7','m7e29','m7l9');
insert into leg values ('m7','m7l9','m7e30');

--line m8 eas;
insert into leg values ('m8','m8e0','m8e1');
insert into leg values ('m8','m8e1','m8e2');
insert into leg values ('m8','m8e2','m8l0');
insert into leg values ('m8','m8l0','m8e3');

insert into leg values ('m8','m8e3','m8e4');
insert into leg values ('m8','m8e4','m8e5');
insert into leg values ('m8','m8e5','m8l1');
insert into leg values ('m8','m8l1','m8e6');

insert into leg values ('m8','m8e6','m8e7');
insert into leg values ('m8','m8e7','m8e8');
insert into leg values ('m8','m8e8','m8l2');
insert into leg values ('m8','m8l2','m8e9');

insert into leg values ('m8','m8e9','m8e10');
insert into leg values ('m8','m8e10','m8e11');
insert into leg values ('m8','m8e11','m8l3');
insert into leg values ('m8','m8l3','m8e12');

insert into leg values ('m8','m8e12','m8e13');
insert into leg values ('m8','m8e13','m8e14');
insert into leg values ('m8','m8e14','m8l4');
insert into leg values ('m8','m8l4','m8e15');

insert into leg values ('m8','m8e15','m8e16');
insert into leg values ('m8','m8e16','m8e17');
insert into leg values ('m8','m8e17','m8l5');
insert into leg values ('m8','m8l5','m8e18');

insert into leg values ('m8','m8e18','m8e19');
insert into leg values ('m8','m8e19','m8e20');
insert into leg values ('m8','m8e20','m8l6');
insert into leg values ('m8','m8l6','m8e21');

insert into leg values ('m8','m8e21','m8e22');
insert into leg values ('m8','m8e22','m8e23');
insert into leg values ('m8','m8e23','m8l7');
insert into leg values ('m8','m8l7','m8e24');

insert into leg values ('m8','m8e24','m8e25');
insert into leg values ('m8','m8e25','m8e26');
insert into leg values ('m8','m8e26','m8l8');
insert into leg values ('m8','m8l8','m8e27');

insert into leg values ('m8','m8e27','m8e28');
insert into leg values ('m8','m8e28','m8e29');
insert into leg values ('m8','m8e29','m8l9');
insert into leg values ('m8','m8l9','m8e30');

--line m9 eas;
insert into leg values ('m9','m9e0','m9e1');
insert into leg values ('m9','m9e1','m9e2');
insert into leg values ('m9','m9e2','m9l0');
insert into leg values ('m9','m9l0','m9e3');

insert into leg values ('m9','m9e3','m9e4');
insert into leg values ('m9','m9e4','m9e5');
insert into leg values ('m9','m9e5','m9l1');
insert into leg values ('m9','m9l1','m9e6');

insert into leg values ('m9','m9e6','m9e7');
insert into leg values ('m9','m9e7','m9e8');
insert into leg values ('m9','m9e8','m9l2');
insert into leg values ('m9','m9l2','m9e9');

insert into leg values ('m9','m9e9','m9e10');
insert into leg values ('m9','m9e10','m9e11');
insert into leg values ('m9','m9e11','m9l3');
insert into leg values ('m9','m9l3','m9e12');

insert into leg values ('m9','m9e12','m9e13');
insert into leg values ('m9','m9e13','m9e14');
insert into leg values ('m9','m9e14','m9l4');
insert into leg values ('m9','m9l4','m9e15');

insert into leg values ('m9','m9e15','m9e16');
insert into leg values ('m9','m9e16','m9e17');
insert into leg values ('m9','m9e17','m9l5');
insert into leg values ('m9','m9l5','m9e18');

insert into leg values ('m9','m9e18','m9e19');
insert into leg values ('m9','m9e19','m9e20');
insert into leg values ('m9','m9e20','m9l6');
insert into leg values ('m9','m9l6','m9e21');

insert into leg values ('m9','m9e21','m9e22');
insert into leg values ('m9','m9e22','m9e23');
insert into leg values ('m9','m9e23','m9l7');
insert into leg values ('m9','m9l7','m9e24');

insert into leg values ('m9','m9e24','m9e25');
insert into leg values ('m9','m9e25','m9e26');
insert into leg values ('m9','m9e26','m9l8');
insert into leg values ('m9','m9l8','m9e27');

insert into leg values ('m9','m9e27','m9e28');
insert into leg values ('m9','m9e28','m9e29');
insert into leg values ('m9','m9e29','m9l9');
insert into leg values ('m9','m9l9','m9e30');

--line l0 sout;
insert into leg values ('l0','l0s0','l0s1');
insert into leg values ('l0','l0s1','l0s2');
insert into leg values ('l0','l0s2','m0l0');
insert into leg values ('l0','m0l0','l0s3');

insert into leg values ('l0','l0s3','l0s4');
insert into leg values ('l0','l0s4','l0s5');
insert into leg values ('l0','l0s5','m0l1');
insert into leg values ('l0','m0l1','l0s6');

insert into leg values ('l0','l0s6','l0s7');
insert into leg values ('l0','l0s7','l0s8');
insert into leg values ('l0','l0s8','m0l2');
insert into leg values ('l0','m0l2','l0s9');

insert into leg values ('l0','l0s9','l0s10');
insert into leg values ('l0','l0s10','l0s11');
insert into leg values ('l0','l0s11','m0l3');
insert into leg values ('l0','m0l3','l0s12');

insert into leg values ('l0','l0s12','l0s13');
insert into leg values ('l0','l0s13','l0s14');
insert into leg values ('l0','l0s14','m0l4');
insert into leg values ('l0','m0l4','l0s15');

insert into leg values ('l0','l0s15','l0s16');
insert into leg values ('l0','l0s16','l0s17');
insert into leg values ('l0','l0s17','m0l5');
insert into leg values ('l0','m0l5','l0s18');

insert into leg values ('l0','l0s18','l0s19');
insert into leg values ('l0','l0s19','l0s20');
insert into leg values ('l0','l0s20','m0l6');
insert into leg values ('l0','m0l6','l0s21');

insert into leg values ('l0','l0s21','l0s22');
insert into leg values ('l0','l0s22','l0s23');
insert into leg values ('l0','l0s23','m0l7');
insert into leg values ('l0','m0l7','l0s24');

insert into leg values ('l0','l0s24','l0s25');
insert into leg values ('l0','l0s25','l0s26');
insert into leg values ('l0','l0s26','m0l8');
insert into leg values ('l0','m0l8','l0s27');

insert into leg values ('l0','l0s27','l0s28');
insert into leg values ('l0','l0s28','l0s29');
insert into leg values ('l0','l0s29','m0l9');
insert into leg values ('l0','m0l9','l0s30');

--line l1 sout;
insert into leg values ('l1','l1s0','l1s1');
insert into leg values ('l1','l1s1','l1s2');
insert into leg values ('l1','l1s2','m1l0');
insert into leg values ('l1','m1l0','l1s3');

insert into leg values ('l1','l1s3','l1s4');
insert into leg values ('l1','l1s4','l1s5');
insert into leg values ('l1','l1s5','m1l1');
insert into leg values ('l1','m1l1','l1s6');

insert into leg values ('l1','l1s6','l1s7');
insert into leg values ('l1','l1s7','l1s8');
insert into leg values ('l1','l1s8','m1l2');
insert into leg values ('l1','m1l2','l1s9');

insert into leg values ('l1','l1s9','l1s10');
insert into leg values ('l1','l1s10','l1s11');
insert into leg values ('l1','l1s11','m1l3');
insert into leg values ('l1','m1l3','l1s12');

insert into leg values ('l1','l1s12','l1s13');
insert into leg values ('l1','l1s13','l1s14');
insert into leg values ('l1','l1s14','m1l4');
insert into leg values ('l1','m1l4','l1s15');

insert into leg values ('l1','l1s15','l1s16');
insert into leg values ('l1','l1s16','l1s17');
insert into leg values ('l1','l1s17','m1l5');
insert into leg values ('l1','m1l5','l1s18');

insert into leg values ('l1','l1s18','l1s19');
insert into leg values ('l1','l1s19','l1s20');
insert into leg values ('l1','l1s20','m1l6');
insert into leg values ('l1','m1l6','l1s21');

insert into leg values ('l1','l1s21','l1s22');
insert into leg values ('l1','l1s22','l1s23');
insert into leg values ('l1','l1s23','m1l7');
insert into leg values ('l1','m1l7','l1s24');

insert into leg values ('l1','l1s24','l1s25');
insert into leg values ('l1','l1s25','l1s26');
insert into leg values ('l1','l1s26','m1l8');
insert into leg values ('l1','m1l8','l1s27');

insert into leg values ('l1','l1s27','l1s28');
insert into leg values ('l1','l1s28','l1s29');
insert into leg values ('l1','l1s29','m1l9');
insert into leg values ('l1','m1l9','l1s30');

--line l2 sout;
insert into leg values ('l2','l2s0','l2s1');
insert into leg values ('l2','l2s1','l2s2');
insert into leg values ('l2','l2s2','m2l0');
insert into leg values ('l2','m2l0','l2s3');

insert into leg values ('l2','l2s3','l2s4');
insert into leg values ('l2','l2s4','l2s5');
insert into leg values ('l2','l2s5','m2l1');
insert into leg values ('l2','m2l1','l2s6');

insert into leg values ('l2','l2s6','l2s7');
insert into leg values ('l2','l2s7','l2s8');
insert into leg values ('l2','l2s8','m2l2');
insert into leg values ('l2','m2l2','l2s9');

insert into leg values ('l2','l2s9','l2s10');
insert into leg values ('l2','l2s10','l2s11');
insert into leg values ('l2','l2s11','m2l3');
insert into leg values ('l2','m2l3','l2s12');

insert into leg values ('l2','l2s12','l2s13');
insert into leg values ('l2','l2s13','l2s14');
insert into leg values ('l2','l2s14','m2l4');
insert into leg values ('l2','m2l4','l2s15');

insert into leg values ('l2','l2s15','l2s16');
insert into leg values ('l2','l2s16','l2s17');
insert into leg values ('l2','l2s17','m2l5');
insert into leg values ('l2','m2l5','l2s18');

insert into leg values ('l2','l2s18','l2s19');
insert into leg values ('l2','l2s19','l2s20');
insert into leg values ('l2','l2s20','m2l6');
insert into leg values ('l2','m2l6','l2s21');

insert into leg values ('l2','l2s21','l2s22');
insert into leg values ('l2','l2s22','l2s23');
insert into leg values ('l2','l2s23','m2l7');
insert into leg values ('l2','m2l7','l2s24');

insert into leg values ('l2','l2s24','l2s25');
insert into leg values ('l2','l2s25','l2s26');
insert into leg values ('l2','l2s26','m2l8');
insert into leg values ('l2','m2l8','l2s27');

insert into leg values ('l2','l2s27','l2s28');
insert into leg values ('l2','l2s28','l2s29');
insert into leg values ('l2','l2s29','m2l9');
insert into leg values ('l2','m2l9','l2s30');

--line l3 sout;
insert into leg values ('l3','l3s0','l3s1');
insert into leg values ('l3','l3s1','l3s2');
insert into leg values ('l3','l3s2','m3l0');
insert into leg values ('l3','m3l0','l3s3');

insert into leg values ('l3','l3s3','l3s4');
insert into leg values ('l3','l3s4','l3s5');
insert into leg values ('l3','l3s5','m3l1');
insert into leg values ('l3','m3l1','l3s6');

insert into leg values ('l3','l3s6','l3s7');
insert into leg values ('l3','l3s7','l3s8');
insert into leg values ('l3','l3s8','m3l2');
insert into leg values ('l3','m3l2','l3s9');

insert into leg values ('l3','l3s9','l3s10');
insert into leg values ('l3','l3s10','l3s11');
insert into leg values ('l3','l3s11','m3l3');
insert into leg values ('l3','m3l3','l3s12');

insert into leg values ('l3','l3s12','l3s13');
insert into leg values ('l3','l3s13','l3s14');
insert into leg values ('l3','l3s14','m3l4');
insert into leg values ('l3','m3l4','l3s15');

insert into leg values ('l3','l3s15','l3s16');
insert into leg values ('l3','l3s16','l3s17');
insert into leg values ('l3','l3s17','m3l5');
insert into leg values ('l3','m3l5','l3s18');

insert into leg values ('l3','l3s18','l3s19');
insert into leg values ('l3','l3s19','l3s20');
insert into leg values ('l3','l3s20','m3l6');
insert into leg values ('l3','m3l6','l3s21');

insert into leg values ('l3','l3s21','l3s22');
insert into leg values ('l3','l3s22','l3s23');
insert into leg values ('l3','l3s23','m3l7');
insert into leg values ('l3','m3l7','l3s24');

insert into leg values ('l3','l3s24','l3s25');
insert into leg values ('l3','l3s25','l3s26');
insert into leg values ('l3','l3s26','m3l8');
insert into leg values ('l3','m3l8','l3s27');

insert into leg values ('l3','l3s27','l3s28');
insert into leg values ('l3','l3s28','l3s29');
insert into leg values ('l3','l3s29','m3l9');
insert into leg values ('l3','m3l9','l3s30');

--line l4 sout;
insert into leg values ('l4','l4s0','l4s1');
insert into leg values ('l4','l4s1','l4s2');
insert into leg values ('l4','l4s2','m4l0');
insert into leg values ('l4','m4l0','l4s3');

insert into leg values ('l4','l4s3','l4s4');
insert into leg values ('l4','l4s4','l4s5');
insert into leg values ('l4','l4s5','m4l1');
insert into leg values ('l4','m4l1','l4s6');

insert into leg values ('l4','l4s6','l4s7');
insert into leg values ('l4','l4s7','l4s8');
insert into leg values ('l4','l4s8','m4l2');
insert into leg values ('l4','m4l2','l4s9');

insert into leg values ('l4','l4s9','l4s10');
insert into leg values ('l4','l4s10','l4s11');
insert into leg values ('l4','l4s11','m4l3');
insert into leg values ('l4','m4l3','l4s12');

insert into leg values ('l4','l4s12','l4s13');
insert into leg values ('l4','l4s13','l4s14');
insert into leg values ('l4','l4s14','m4l4');
insert into leg values ('l4','m4l4','l4s15');

insert into leg values ('l4','l4s15','l4s16');
insert into leg values ('l4','l4s16','l4s17');
insert into leg values ('l4','l4s17','m4l5');
insert into leg values ('l4','m4l5','l4s18');

insert into leg values ('l4','l4s18','l4s19');
insert into leg values ('l4','l4s19','l4s20');
insert into leg values ('l4','l4s20','m4l6');
insert into leg values ('l4','m4l6','l4s21');

insert into leg values ('l4','l4s21','l4s22');
insert into leg values ('l4','l4s22','l4s23');
insert into leg values ('l4','l4s23','m4l7');
insert into leg values ('l4','m4l7','l4s24');

insert into leg values ('l4','l4s24','l4s25');
insert into leg values ('l4','l4s25','l4s26');
insert into leg values ('l4','l4s26','m4l8');
insert into leg values ('l4','m4l8','l4s27');

insert into leg values ('l4','l4s27','l4s28');
insert into leg values ('l4','l4s28','l4s29');
insert into leg values ('l4','l4s29','m4l9');
insert into leg values ('l4','m4l9','l4s30');

--line l5 sout;
insert into leg values ('l5','l5s0','l5s1');
insert into leg values ('l5','l5s1','l5s2');
insert into leg values ('l5','l5s2','m5l0');
insert into leg values ('l5','m5l0','l5s3');

insert into leg values ('l5','l5s3','l5s4');
insert into leg values ('l5','l5s4','l5s5');
insert into leg values ('l5','l5s5','m5l1');
insert into leg values ('l5','m5l1','l5s6');

insert into leg values ('l5','l5s6','l5s7');
insert into leg values ('l5','l5s7','l5s8');
insert into leg values ('l5','l5s8','m5l2');
insert into leg values ('l5','m5l2','l5s9');

insert into leg values ('l5','l5s9','l5s10');
insert into leg values ('l5','l5s10','l5s11');
insert into leg values ('l5','l5s11','m5l3');
insert into leg values ('l5','m5l3','l5s12');

insert into leg values ('l5','l5s12','l5s13');
insert into leg values ('l5','l5s13','l5s14');
insert into leg values ('l5','l5s14','m5l4');
insert into leg values ('l5','m5l4','l5s15');

insert into leg values ('l5','l5s15','l5s16');
insert into leg values ('l5','l5s16','l5s17');
insert into leg values ('l5','l5s17','m5l5');
insert into leg values ('l5','m5l5','l5s18');

insert into leg values ('l5','l5s18','l5s19');
insert into leg values ('l5','l5s19','l5s20');
insert into leg values ('l5','l5s20','m5l6');
insert into leg values ('l5','m5l6','l5s21');

insert into leg values ('l5','l5s21','l5s22');
insert into leg values ('l5','l5s22','l5s23');
insert into leg values ('l5','l5s23','m5l7');
insert into leg values ('l5','m5l7','l5s24');

insert into leg values ('l5','l5s24','l5s25');
insert into leg values ('l5','l5s25','l5s26');
insert into leg values ('l5','l5s26','m5l8');
insert into leg values ('l5','m5l8','l5s27');

insert into leg values ('l5','l5s27','l5s28');
insert into leg values ('l5','l5s28','l5s29');
insert into leg values ('l5','l5s29','m5l9');
insert into leg values ('l5','m5l9','l5s30');

--line l6 sout;
insert into leg values ('l6','l6s0','l6s1');
insert into leg values ('l6','l6s1','l6s2');
insert into leg values ('l6','l6s2','m6l0');
insert into leg values ('l6','m6l0','l6s3');

insert into leg values ('l6','l6s3','l6s4');
insert into leg values ('l6','l6s4','l6s5');
insert into leg values ('l6','l6s5','m6l1');
insert into leg values ('l6','m6l1','l6s6');

insert into leg values ('l6','l6s6','l6s7');
insert into leg values ('l6','l6s7','l6s8');
insert into leg values ('l6','l6s8','m6l2');
insert into leg values ('l6','m6l2','l6s9');

insert into leg values ('l6','l6s9','l6s10');
insert into leg values ('l6','l6s10','l6s11');
insert into leg values ('l6','l6s11','m6l3');
insert into leg values ('l6','m6l3','l6s12');

insert into leg values ('l6','l6s12','l6s13');
insert into leg values ('l6','l6s13','l6s14');
insert into leg values ('l6','l6s14','m6l4');
insert into leg values ('l6','m6l4','l6s15');

insert into leg values ('l6','l6s15','l6s16');
insert into leg values ('l6','l6s16','l6s17');
insert into leg values ('l6','l6s17','m6l5');
insert into leg values ('l6','m6l5','l6s18');

insert into leg values ('l6','l6s18','l6s19');
insert into leg values ('l6','l6s19','l6s20');
insert into leg values ('l6','l6s20','m6l6');
insert into leg values ('l6','m6l6','l6s21');

insert into leg values ('l6','l6s21','l6s22');
insert into leg values ('l6','l6s22','l6s23');
insert into leg values ('l6','l6s23','m6l7');
insert into leg values ('l6','m6l7','l6s24');

insert into leg values ('l6','l6s24','l6s25');
insert into leg values ('l6','l6s25','l6s26');
insert into leg values ('l6','l6s26','m6l8');
insert into leg values ('l6','m6l8','l6s27');

insert into leg values ('l6','l6s27','l6s28');
insert into leg values ('l6','l6s28','l6s29');
insert into leg values ('l6','l6s29','m6l9');
insert into leg values ('l6','m6l9','l6s30');

--line l7 sout;
insert into leg values ('l7','l7s0','l7s1');
insert into leg values ('l7','l7s1','l7s2');
insert into leg values ('l7','l7s2','m7l0');
insert into leg values ('l7','m7l0','l7s3');

insert into leg values ('l7','l7s3','l7s4');
insert into leg values ('l7','l7s4','l7s5');
insert into leg values ('l7','l7s5','m7l1');
insert into leg values ('l7','m7l1','l7s6');

insert into leg values ('l7','l7s6','l7s7');
insert into leg values ('l7','l7s7','l7s8');
insert into leg values ('l7','l7s8','m7l2');
insert into leg values ('l7','m7l2','l7s9');

insert into leg values ('l7','l7s9','l7s10');
insert into leg values ('l7','l7s10','l7s11');
insert into leg values ('l7','l7s11','m7l3');
insert into leg values ('l7','m7l3','l7s12');

insert into leg values ('l7','l7s12','l7s13');
insert into leg values ('l7','l7s13','l7s14');
insert into leg values ('l7','l7s14','m7l4');
insert into leg values ('l7','m7l4','l7s15');

insert into leg values ('l7','l7s15','l7s16');
insert into leg values ('l7','l7s16','l7s17');
insert into leg values ('l7','l7s17','m7l5');
insert into leg values ('l7','m7l5','l7s18');

insert into leg values ('l7','l7s18','l7s19');
insert into leg values ('l7','l7s19','l7s20');
insert into leg values ('l7','l7s20','m7l6');
insert into leg values ('l7','m7l6','l7s21');

insert into leg values ('l7','l7s21','l7s22');
insert into leg values ('l7','l7s22','l7s23');
insert into leg values ('l7','l7s23','m7l7');
insert into leg values ('l7','m7l7','l7s24');

insert into leg values ('l7','l7s24','l7s25');
insert into leg values ('l7','l7s25','l7s26');
insert into leg values ('l7','l7s26','m7l8');
insert into leg values ('l7','m7l8','l7s27');

insert into leg values ('l7','l7s27','l7s28');
insert into leg values ('l7','l7s28','l7s29');
insert into leg values ('l7','l7s29','m7l9');
insert into leg values ('l7','m7l9','l7s30');

--line l8 sout;
insert into leg values ('l8','l8s0','l8s1');
insert into leg values ('l8','l8s1','l8s2');
insert into leg values ('l8','l8s2','m8l0');
insert into leg values ('l8','m8l0','l8s3');

insert into leg values ('l8','l8s3','l8s4');
insert into leg values ('l8','l8s4','l8s5');
insert into leg values ('l8','l8s5','m8l1');
insert into leg values ('l8','m8l1','l8s6');

insert into leg values ('l8','l8s6','l8s7');
insert into leg values ('l8','l8s7','l8s8');
insert into leg values ('l8','l8s8','m8l2');
insert into leg values ('l8','m8l2','l8s9');

insert into leg values ('l8','l8s9','l8s10');
insert into leg values ('l8','l8s10','l8s11');
insert into leg values ('l8','l8s11','m8l3');
insert into leg values ('l8','m8l3','l8s12');

insert into leg values ('l8','l8s12','l8s13');
insert into leg values ('l8','l8s13','l8s14');
insert into leg values ('l8','l8s14','m8l4');
insert into leg values ('l8','m8l4','l8s15');

insert into leg values ('l8','l8s15','l8s16');
insert into leg values ('l8','l8s16','l8s17');
insert into leg values ('l8','l8s17','m8l5');
insert into leg values ('l8','m8l5','l8s18');

insert into leg values ('l8','l8s18','l8s19');
insert into leg values ('l8','l8s19','l8s20');
insert into leg values ('l8','l8s20','m8l6');
insert into leg values ('l8','m8l6','l8s21');

insert into leg values ('l8','l8s21','l8s22');
insert into leg values ('l8','l8s22','l8s23');
insert into leg values ('l8','l8s23','m8l7');
insert into leg values ('l8','m8l7','l8s24');

insert into leg values ('l8','l8s24','l8s25');
insert into leg values ('l8','l8s25','l8s26');
insert into leg values ('l8','l8s26','m8l8');
insert into leg values ('l8','m8l8','l8s27');

insert into leg values ('l8','l8s27','l8s28');
insert into leg values ('l8','l8s28','l8s29');
insert into leg values ('l8','l8s29','m8l9');
insert into leg values ('l8','m8l9','l8s30');

--line l9 sout;
insert into leg values ('l9','l9s0','l9s1');
insert into leg values ('l9','l9s1','l9s2');
insert into leg values ('l9','l9s2','m9l0');
insert into leg values ('l9','m9l0','l9s3');

insert into leg values ('l9','l9s3','l9s4');
insert into leg values ('l9','l9s4','l9s5');
insert into leg values ('l9','l9s5','m9l1');
insert into leg values ('l9','m9l1','l9s6');

insert into leg values ('l9','l9s6','l9s7');
insert into leg values ('l9','l9s7','l9s8');
insert into leg values ('l9','l9s8','m9l2');
insert into leg values ('l9','m9l2','l9s9');

insert into leg values ('l9','l9s9','l9s10');
insert into leg values ('l9','l9s10','l9s11');
insert into leg values ('l9','l9s11','m9l3');
insert into leg values ('l9','m9l3','l9s12');

insert into leg values ('l9','l9s12','l9s13');
insert into leg values ('l9','l9s13','l9s14');
insert into leg values ('l9','l9s14','m9l4');
insert into leg values ('l9','m9l4','l9s15');

insert into leg values ('l9','l9s15','l9s16');
insert into leg values ('l9','l9s16','l9s17');
insert into leg values ('l9','l9s17','m9l5');
insert into leg values ('l9','m9l5','l9s18');

insert into leg values ('l9','l9s18','l9s19');
insert into leg values ('l9','l9s19','l9s20');
insert into leg values ('l9','l9s20','m9l6');
insert into leg values ('l9','m9l6','l9s21');

insert into leg values ('l9','l9s21','l9s22');
insert into leg values ('l9','l9s22','l9s23');
insert into leg values ('l9','l9s23','m9l7');
insert into leg values ('l9','m9l7','l9s24');

insert into leg values ('l9','l9s24','l9s25');
insert into leg values ('l9','l9s25','l9s26');
insert into leg values ('l9','l9s26','m9l8');
insert into leg values ('l9','m9l8','l9s27');

insert into leg values ('l9','l9s27','l9s28');
insert into leg values ('l9','l9s28','l9s29');
insert into leg values ('l9','l9s29','m9l9');
insert into leg values ('l9','m9l9','l9s30');

insert into interchange values ('m0l0','m0','l0');

insert into interchange values ('m0l4','m0','l4');

insert into interchange values ('m0l8','m0','l8');

insert into interchange values ('m0l3','l3','m0');

insert into interchange values ('m0l7','l7','m0');


insert into interchange values ('m1l1','m1','l1');

insert into interchange values ('m1l5','m1','l5');

insert into interchange values ('m1l9','m1','l9');

insert into interchange values ('m1l2','l2','m1');

insert into interchange values ('m1l6','l6','m1');


insert into interchange values ('m2l0','m2','l0');

insert into interchange values ('m2l4','m2','l4');

insert into interchange values ('m2l8','m2','l8');

insert into interchange values ('m2l3','l3','m2');

insert into interchange values ('m2l7','l7','m2');


insert into interchange values ('m3l1','m3','l1');

insert into interchange values ('m3l5','m3','l5');

insert into interchange values ('m3l9','m3','l9');

insert into interchange values ('m3l2','l2','m3');

insert into interchange values ('m3l6','l6','m3');


insert into interchange values ('m4l0','m4','l0');

insert into interchange values ('m4l4','m4','l4');

insert into interchange values ('m4l8','m4','l8');

insert into interchange values ('m4l3','l3','m4');

insert into interchange values ('m4l7','l7','m4');


insert into interchange values ('m5l1','m5','l1');

insert into interchange values ('m5l5','m5','l5');

insert into interchange values ('m5l9','m5','l9');

insert into interchange values ('m5l2','l2','m5');

insert into interchange values ('m5l6','l6','m5');


insert into interchange values ('m6l0','m6','l0');

insert into interchange values ('m6l4','m6','l4');

insert into interchange values ('m6l8','m6','l8');

insert into interchange values ('m6l3','l3','m6');

insert into interchange values ('m6l7','l7','m6');


insert into interchange values ('m7l1','m7','l1');

insert into interchange values ('m7l5','m7','l5');

insert into interchange values ('m7l9','m7','l9');

insert into interchange values ('m7l2','l2','m7');

insert into interchange values ('m7l6','l6','m7');


insert into interchange values ('m8l0','m8','l0');

insert into interchange values ('m8l4','m8','l4');

insert into interchange values ('m8l8','m8','l8');

insert into interchange values ('m8l3','l3','m8');

insert into interchange values ('m8l7','l7','m8');


insert into interchange values ('m9l1','m9','l1');

insert into interchange values ('m9l5','m9','l5');

insert into interchange values ('m9l9','m9','l9');

insert into interchange values ('m9l2','l2','m9');

insert into interchange values ('m9l6','l6','m9');


