Books Allocation Problem