What is the four-digit number in which the first digit is one-third the second, the third is the sum of the first two, and the last is three times the second?
1 rabbit saw 9 elephants while going to the river. Every elephant saw 3 monkeys going toward the river. Each monkey had 1 parrot in each hand. How many animals are going towards the river?