If you are planning to live there for up to 5 years, surely your main priority should be that it is somewhere you are happy to live? Other factors can influence your decision but if you end up being happy living there for 5 years, you probably will have bought fairly well.