【yīn shí zhì yí】

  1. (idiom) to use methods appropriate to the current situation