Red left, right, bottom, top, top-right
Answer: 12389