First, choose one book from 10 and assign it to 1, two of the remaining nine books are assigned to No.2, and three of the remaining seven books are assigned to No.3. There are four books left.
The remaining four books can be given to three libraries at will.
C1(10) * C2 (9) * C3 (7) * 34 =10 * 36 * 35 * 81=1020600 species.