For each positive integer n, let S(n) be the number of sequences of length n consisting solely of the letters A and B, with no more than three As in a row and no more than three Bs in a row. What is the remainder when S(2015) is divided by 12?<spanclass=′latex−bold′>(A)</span>0<spanclass=′latex−bold′>(B)</span>4<spanclass=′latex−bold′>(C)</span>6<spanclass=′latex−bold′>(D)</span>8<spanclass=′latex−bold′>(E)</span>10