A tour director collected $258 for 13 tour packages. tour package a costs $18 and tour package b cost $22. how many of each tour package were sold?