It is not guaranteed that friends must be grouped to same league. There are many cases that it is impossible to satisfy this condition. For example, some managers have more than 13 friends