Read the following passage and solve the questions based on it.
Tetraicosa is a game which is played by rolling six dices simultaneously. While playing the game:
If rolling six dices were rolled, then the following was observed:
(i) Three of the dices showed the same number. The rest showed different numbers.
(ii) Only one dice showed 6.
(iii) Not more than three dice showed 4 or more.
Find the maximum total if four of the dice show less than 4.