Vivi, Tânia, and Rosa are in a line, not necessarily in that order, and each of them shouts a multiple of 3 successively.

| 3 | 6 | 9 |
| :---: | :---: | :---: |
| 12 | 15 | 18 |
| $\vdots$ | $\vdots$ | $\vdots$ |

Vivi was the first to shout a number greater than 2003, and Rosa was the first to shout a number with four digits. Who shouted the number 666? And 888?
Notice that the one who shouted the numbers 9, 18, etc., always shouted multiples of 9. The first multiple of 3 with four digits is 1002 and the first multiple of 3 greater than 2003 is 2004. Therefore, Vivi shouted 2004 and Rosa 1002. None of these numbers are multiples of 9, so it was Tânia who shouted 9 and its multiples.

Whoever shouted 3 also shouted $12=3+9, 21=3+2 \times 9, 30=3+3 \times 9$, and so on, up to $3+9k$. Similarly, whoever shouted 6 shouted all numbers of the form $6+9k$. Dividing by 9, we get $2004=6+9 \times 222$ and $1002=3+9 \times 111$, so the one who shouted 3 was Rosa and Vivi shouted 6.

| Rosa | Vivi | Tânia |
| :---: | :---: | :---: |
| 3 | 6 | 9 |
| 12 | 15 | 18 |
| 21 | 24 | 27 |
| $\vdots$ | $\vdots$ | $\vdots$ |
| 1002 | 1005 | 1008 |
| $\vdots$ | $\vdots$ | $\vdots$ |
| 2001 | 2004 | 2007 |

Similarly, dividing by 9, we find that 666 is a multiple of 9 and $888=6+98 \times 9$, so Tânia shouted 666 and Vivi shouted 888.