The bananas cost 4 x $1 = $<<4*1=4>>4
The apples cost 3 x $2 = $<<3*2=6>>6
The strawberries cost (24/12) x $4 = $<<(24/12)*4=8>>8
The avocados cost 2 x $3 = $<<2*3=6>>6
The grapes cost 2 x $2 = $<<2*2=4>>4
The total cost of the fruit basket is $4 + $6 + $8 + $6 + $4 = $<<4+6+8+6+4=28>>28
#### 28