さんじゅうろっけいにげるにしかず
Composed of
the 36 (ancient Chinese military) strategies (of which the last resort was said to be beating a retreat)
to escape; to run away
being inferior to; being no match for; being best