$\begin{align} \underbrace{\dfrac23 + \dfrac23 + \cdots + \dfrac23}_{ \text{A copies of }\frac23 }&= \underbrace{\dfrac45 + \dfrac45 + \cdots + \dfrac45}_ {\text{B copies of }\frac45} \\\\\\ 20 \leq A + B &\leq 24\\\\ A + B &=\, ? \end{align}$
I have $A$ copies of $\frac23$ on the left-hand side of the equality, and $B$ copies of $\frac45$ on the right. In total, I've written down between $20$ and $24$ fractions. Exactly how many fractions are there?
For both fractions I made their denominator equal, so:
$\frac{2}{3} = \frac{10}{15} $ and $\frac{4}{5} = \frac{12}{15} $ .
The smallest multiple they have on common is $60$, so to get equality this means we need $6$ times $\frac{2}{3} $ and $5$ times $\frac{4}{5} $. Hence the answer must be a multiple of $11$, so the answer is $22$.