Alice and Mary were searching attic and found scale and box with weights. When they sorted weights by mass, they found out there exist $5$ different groups of weights. Playing with the scale and weights, they discovered that if they put any two weights on the left side of scale, they can find other two weights and put on to the right side of scale so scale is in balance. Find the minimal number of weights in the box
Problem
Source: Regional Olympiad - Federation of Bosnia and Herzegovina 2015
Tags: combinatorics, Sets