9. Happy Sheep wrote a number. Pretty Sheep multiplied this number by 3, then subtracted 4, divided the resulting difference by 5, and finally added 6, getting 2020. The number Happy Sheep wrote is $\qquad$ .
$3358$