A sample of bacteria is decaying according to a half-life model. If the sample begins with 700 bacteria, and after 10 minutes there are 140 bacteria, after how many minutes will there be 40 bacteria remaining? Round your answer to the nearest whole number.