шевелить мозгами

Verb

 * 1)  to consider, to reflect on, to contemplate