Mika's gym allows her to bring 3 guests for free. After the first three, she must pay $7 per guest. How many guests, g, can she bring to the gym if she pays $42?