State tax filing

Since i moved from MO to KS on August, i saw others said i should prepare part year resident for both state. I'm confused if i need to file nonresident and part year resident for Missouri, and part year resident for KS? It means two tax returns for MO and one for KS?