Correct

智穷才尽

/ zhì qíong cái jìn /
Strokes

Example

Definition

be at the end of one's resources/tether; at one's wits'end