Having never been painted it will need to be sanded, 2 coats barrier and 2 coat bottom paint at a minimum. Depends on what paint will be used because premium paint cost more
Barrier around $50 gal
Ablative around $230 gal
For a 18 footer I would say first time $800 to $1000