A local screen-printing company sells T-shirts at various prices, in dollars, depending upon how many T-shirts are bought at the time. The piecewise function below represents their pricing structure, where n is the number of T-shirts purchased. The school volleyball team purchased 20 shirts. How much did the volleyball team spend on shirts?