zài​shuāi​sān​jié

on one's last legs