It costs a band $ 8 per T-shirt produced. At a small festival the band gives away 10 T-shirts, and sells others for $ 20 each. Their total T-shirt-related profits (taking into account those they gave away) is $ 304, how many T-shirts did the band sell?