Contact Apple Support and request a new set of disks. They may charge you a few dollars for shipping and handling or send them for free. Once you have the disks you can do a clean install, which is what you would want to do anyway anytime you bought a used imac.