どうもがとうございました
Composed of
thank you very much
honorific/polite/humble prefix; honorific suffix