There are containers of three different sizes to fill a cistern. With six small containers and 2 L we exactly fill one medium container and one large one. With two large containers we fill two medium ones, one small one, and 1 L remains. The cistern is completely filled either with fourteen small containers plus six medium ones, or with five medium ones together with five large ones. It is requested to calculate the capacity of each type of container and, once known, that of the cistern.