Which of the following sentences demonstrates the correct use of the subjunctive mood?
A) If I was rich, I would travel around the world.
B) If I were rich, I would travel around the world.
C) If I am rich, I will travel around the world.
D) If I had been rich, I would travel around the world.