os x mavericks help with mac
So I have a friend that stole a Macbook I want to restore it and I'm about to finish it but its asking for me to login with an account that has purchased "OS X Mavericks". How do I get my apple ID to have it even though it's free but I cant seem to buy it. how can I get it?

So much for a nice $400 MacBook.