Correct Answer: B
Explanation:
If blue pennants fly at the top and bottom, and since we know 7 is yellow, then the four blue pennants which fly next to each other can be only in places 1 through 4. Since the remaining pennants are yellow, a yellow pennant flies in place 8.