頭寒足熱(ずかんそくねつ)

Japanese vocabulary

Meaning: keeping the head cool and feet warm

See it used in real works