Assigned the variable book to the ternary.