A class should have math activities in A and B at the same time, and each student decides to go to one of them by drawing lots, so students A, B and C are just right.

The possibilities for students A, B and C to draw lots are as follows:

* * * There are eight possible results. Just two of the three students A, B and C were drawn to B, so the answer is 38.