A wooden pencil costs 30 cents and a pen costs 55 cents. Sharon is given $9.50 and is told to spend the money as much as possible on at least one pencil and at least one pen. However, for every pen that she buys, she must buy at least 3 pencils. Find the number of pencils and the number of pens that Sharon can buy if she has to buy the greatest possible number of items.