Far be it form me to add to the off-topic banter, but since there's a real chance of you actually encountering a bear...
if you have to run, run downhill, their front legs are shorter and they can't go downhill as well.
This is a myth. Bears run at well over 30mph. You're not going to outrun it, no matter which direction you go, unless it decides to stop chasing you. As I understand it, there's no good way of avoiding a bear attack once it's decided to go for you. Just do whatever you can and hope for the best.