Six men who were involved in supplying Class A drugs to a Yorkshire seaside town from Leeds as part of a county lines gang have been jailed for more than 35 years.