Isn't a flat price per book quite plainly O(n)? If not, what's n?