Which of the following numbers written in scientific notation is the greatest?

A. 3 × 109
B. 4 × 109
C. 7 × 104
D. 9 × 104

B. 4 × 10^9