A class has 4 boys and 10 girls. What is the ratio in simplest form that compares number of boys to total number of students?

(A) 4:14
(B) 4:10
(C) 2:7
(D) 2:5