Presuming you mean you did not save them externally and they were on the formatted pc’s?
If so, see here for resending>>http://www.avast.com/resend-license-paid.php