Jack spent $198 for jeans and dress pants. The Jeans cost $12 each and the dress pants cost $18 each. He purchased a total of 12 items of dress pants and jeans. How many pairs of jeans did he purchase?
valid question