míng sī kǔ xiǎng
to consider from all angles (idiom); to think hard
to rack one's brains
冥
míng
dark
思
sī
to think
苦
kǔ
bitter
想
xiǎng
to think (about)