Singer A and Singer B had the two top-grossing concert tours for a certain year, together generating $334 million in ticket sales. If Singer B took in $26 million less than Singer A, how much did each tour generate?