Imagine yourself as an owner of the dungeon where different heroes are coming to.
The place gets overcrowded quickly and you have to keep enough room for everyone.
Suddenly you realize that two identical heroes can be merged so they don’t waste space.
How many heroes can you put in your dungeon?