How many binary sequences of length 18 are there such that all the zeros are consecutive, or all the ones are consecutive, or both?
304
306
308
310
312