才気縦横(さいきじゅうおう)

Japanese vocabulary

Meaning: great wisdom

See it used in real works