Find the order of merging enchanted books that costs the least levels — and avoid the dreaded "Too expensive!".