A thin tube stretched across a street counts the number of pairs of wheels that pass over it. A vehicle classified as type A with eight axles registers eight counts. A vehicle classified as type B with three axles registers three counts. During a 2​-hour ​period, a traffic counter registered 131 counts. How many type A vehicles and type B vehicles passed over the traffic​ counter? List all possible solutions.