Iraqi officials and state television report that the country 's majority Shi'ites will get 17 cabinet seats , while the Kurds , who came second in the elections , will get eight .