Concept:
Radioactive decay:
\[
N = N_0 \left(\frac{1}{2}\right)^{t/T}
\]
Step 1: For substance A.
\[
T_A = 4\,days,\quad t = 16\,days
\]
\[
N_A = N_0 \left(\frac{1}{2}\right)^{16/4} = N_0 \left(\frac{1}{2}\right)^4 = \frac{N_0}{16}
\]
Step 2: For substance B.
\[
T_B = 8\,days
\]
\[
N_B = N_0 \left(\frac{1}{2}\right)^{16/8} = N_0 \left(\frac{1}{2}\right)^2 = \frac{N_0}{4}
\]
Step 3: Take ratio.
\[
\frac{N_A}{N_B} = \frac{1/16}{1/4} = \frac{1}{4}
\]
\[
N_A : N_B = 1 : 4
\]
\[
\boxed{1:4}
\]