Amanda is making some strawberry preserves. She has three sizes of canning jars. Small pint size, medium quart size, and large half gallon size. In all she has 22 jars. She has three time as many small jars as large and three fewer mediums than large. How many small jars does Amanda have?
(Please show steps)