Study the given pattern carefully and select the number that can replace the question mark (?) in it.
24
32
28
34
B. 32