If the wizard had instead 999 spells and he tries to distribute them equally among 801 apprentice wizards, how many spells will the wizard have left after giving out as many as he can to his apprentices?