There are 4000/4*3=<<4000/4*3=3000>>3000 red jelly beans.
There are 3000/4=<<3000/4=750>>750 coconut flavored jelly beans.
#### 750