There are 45 policemen and 18 police dogs for a searching operation. They are distributed into smaller groups such that each group has equal strength in terms of police officers and police dogs, i.e., identical groups. Find the maximum possible such groups.