19. Abdul wrote down four positive numbers. He chose one of them and added it to the mean of the other three. He repeated this for each of the four numbers in turn.
The results were 17, 21, 23 and 29. What was the largest of Abdul's numbers?
A 12
B 15
C 21
D 24
E 29
19. C Let the four numbers be $a, b, c, d$ with $a \leqslant b \leqslant c \leqslant d$. Abdul chooses the numbers in turn, giving
$$
\begin{array}{l}
a+\frac{1}{3}(b+c+d)=17 \\
c+\frac{1}{3}(a+b+d)=23
\end{array}
$$
$$
\begin{array}{l}
b+\frac{1}{3}(a+c+d)=21 \\
d+\frac{1}{3}(a+b+c)=29
\end{array}
$$

Adding these equations gives:
$$
\begin{aligned}
a+b+c+d+\frac{1}{3}(3 a+3 b+3 c+3 d) & =90 \\
2 a+2 b+2 c+2 d & =90 .
\end{aligned}
$$
that is
Hence $a+b+c+d=45$. Subtracting a third of this from equation (4), we get
$$
d+\frac{1}{3}(a+b+c)-\frac{1}{3}(a+b+c+d)=29-15 .
$$

Which gives $\frac{2}{3} d=14$, so $d=21$. We can continue in a similar way to find $a=3, b=9$ and $c=12$.