LogTo("t-groups.log");
RequirePackage("carat");
names := [];
GROUPS := [];
R := CaratReadBravaisFile("ordnung.12/(1)^2(24)^2/group.1623");
P1 := Group(R.generators);
Append(names,["ordnung.12/(1)^2(24)^2/words.group.1623"]);
Append(GROUPS,[P1]);
R := CaratReadBravaisFile("ordnung.18/(1)^2(3)^2(6)^1(18)^1/group.1624");
P2 := Group(R.generators);
Append(names,["ordnung.18/(1)^2(3)^2(6)^1(18)^1/words.group.1624"]);
Append(GROUPS,[P2]);
R := CaratReadBravaisFile("ordnung.18/(1)^2(3)^2(6)^1(18)^1/group.1625");
P3 := Group(R.generators);
Append(names,["ordnung.18/(1)^2(3)^2(6)^1(18)^1/words.group.1625"]);
Append(GROUPS,[P3]);
R := CaratReadBravaisFile("ordnung.18/(1)^2(6)^2/group.1626");
P4 := Group(R.generators);
Append(names,["ordnung.18/(1)^2(6)^2/words.group.1626"]);
Append(GROUPS,[P4]);
R := CaratReadBravaisFile("ordnung.18/(1)^2(6)^2/group.1627");
P5 := Group(R.generators);
Append(names,["ordnung.18/(1)^2(6)^2/words.group.1627"]);
Append(GROUPS,[P5]);
R := CaratReadBravaisFile("ordnung.18/(3)^2(6)^2/group.1628");
P6 := Group(R.generators);
Append(names,["ordnung.18/(3)^2(6)^2/words.group.1628"]);
Append(GROUPS,[P6]);
R := CaratReadBravaisFile("ordnung.36/(1)^2(3)^2(6)^1(18)^1/group.1629");
P7 := Group(R.generators);
Append(names,["ordnung.36/(1)^2(3)^2(6)^1(18)^1/words.group.1629"]);
Append(GROUPS,[P7]);
R := CaratReadBravaisFile("ordnung.36/(1)^2(6)^2/group.1630");
P8 := Group(R.generators);
Append(names,["ordnung.36/(1)^2(6)^2/words.group.1630"]);
Append(GROUPS,[P8]);
R := CaratReadBravaisFile("ordnung.36/(1)^3(3)^1(6)^2/group.1631");
P9 := Group(R.generators);
Append(names,["ordnung.36/(1)^3(3)^1(6)^2/words.group.1631"]);
Append(GROUPS,[P9]);
R := CaratReadBravaisFile("ordnung.36/(1)^3(3)^1(6)^2/group.1632");
P10 := Group(R.generators);
Append(names,["ordnung.36/(1)^3(3)^1(6)^2/words.group.1632"]);
Append(GROUPS,[P10]);
R := CaratReadBravaisFile("ordnung.36/(1)^3(3)^1(6)^2/group.1633");
P11 := Group(R.generators);
Append(names,["ordnung.36/(1)^3(3)^1(6)^2/words.group.1633"]);
Append(GROUPS,[P11]);
R := CaratReadBravaisFile("ordnung.6/(1)^2(24)^2/min.296");
P12 := Group(R.generators);
Append(names,["ordnung.6/(1)^2(24)^2/words.min.296"]);
Append(GROUPS,[P12]);
R := CaratReadBravaisFile("ordnung.6/(1)^2(24)^2/min.297");
P13 := Group(R.generators);
Append(names,["ordnung.6/(1)^2(24)^2/words.min.297"]);
Append(GROUPS,[P13]);
R := CaratReadBravaisFile("ordnung.72/(1)^3(3)^1(6)^2/group.1634");
P14 := Group(R.generators);
Append(names,["ordnung.72/(1)^3(3)^1(6)^2/words.group.1634"]);
Append(GROUPS,[P14]);
R := CaratReadBravaisFile("ordnung.9/(3)^2(6)^2/min.298");
P15 := Group(R.generators);
Append(names,["ordnung.9/(3)^2(6)^2/words.min.298"]);
Append(GROUPS,[P15]);
Print(GROUPS,"\n");
Print(names,"\n");
Size(GROUPS);
Size(names);
Read("../../TGROUPS.GAP");
for i in [1..Size(GROUPS)] do
   SubgroupWords(GROUPS[i], names[i]);
od;
LogTo();
