Logic Pro 8 buying used upgrades


I currently use Logic 8 Express on iMac i7 (new) running OS 10.8.3 and have the opportunity to install Logic 8 Studio upgrade given to me as well as Logic 9 upgrade. Is this legal, do I need to re-register both upgrades, do I need to pay Apple a fee, etc? I don't use pirated anything, period.

I will be upgrading to Mavericks and Logic X later this year when they are stable. Would greatly appreciate any info and views as I really need to get back to work on music projects very soon. Thanx in advance. Tony