A drugs gang that flooded Bridlington with more than £3 million worth of crack cocaine have been sentenced to a total of 37 years and six months.