Among the following groups of main-sequence stars, which spectral type will have the shortest lifetime?

a) G
b) O
c) A
d) M