All Possible Permutations for Borrowing Books