Input (grade 7): The four most powerful clans were the Minamoto clan, the Taira clan, the Fujiwara clan, and the Tachibana clan.
Output (grade 6): Out of them, the Tokugawa clan was most powerful. For fifteen generations they were the most powerful clan in Japan.