Janice buys 74 packs of gum in a variety flavors. She chooses twice as many packs of green apple gun as packs of spearmint gum and 6 fewer packs of cinnamon gun than packs of green apple gum. How many packs of spearmint gum does Janice buy?