A rаdiоаctive substаnce decays expоnentially with time. After a periоd of eight hours, 50% of the initial amount has decayed. If 20 grams of this substance remains after ten hours, how many grams of this substance were there initially?