idiom
think on one's feet
уметь принимать быстрые решения и действовать быстро, особенно в чрезвычайных ситуациях
Meaning
to be able to make quick decisions and act quickly, especially in an emergency
Example
During the meeting, she had to **think on her feet** and come up with a solution.
Во время встречи ей пришлось **быстро думать** и предложить решение.