anti virus on a mac

Hi. I have had a avast triple licence for a few years and have recently changed my foremost computer to a imac. Will I be allowed to utilise one of these licences for the new machine?