费尽心思fèi jìn xīn sifeijinxinsito rack one's brains (idiom); to take great pains to think sth throughCharacters in this word尽to exhaust, to use up, to deplete心heart思to think, to ponder, to consider费expenses, feesStudy it in Yanamino