尻尾を振る

Etymology
From 🇰🇲.

Verb

 * 1)  to flatter; to butter up
 * 2) to wag one's tail