27. 9 racing cars have different speeds, and they need to compete to determine who is faster, but there are no timing tools, so they can only race on the track to see who comes first, and each time a maximum of 3 cars can race. Therefore, the minimum number of races needed to guarantee selecting the 2 fastest cars is $\qquad$.