Today is a chilly day. We heated up a stone to $500^{\circ} \mathrm{C}$ in a bonfire, then took it out and left it outside, where the temperature is $0^{\circ} \mathrm{C}$. After 10 minutes outside of the bonfire, the stone had cooled to a still-untouchable $100^{\circ} \mathrm{C}$. Now the stone is at a cozy 50
${ }^{\circ} \mathrm{C}$. How long ago was the stone taken out of the fire?