e => 2 a => 4 ecd => 2 ab => 3 c => 5 abc => 3 bc => 3 cd => 3 d => 3 ec => 2 b => 3