Now we can complete the failed paths. When we get a 0 while we are looking for 1’s in states A, B, E, and F, we return to state A. We go next to stateC on a 1 from either C or G (when there are more than two 1’s in a row) and we go to B from D on a 1. Of course, all of these failed inputs produce a 0 output. The state diagram and then the state table are shown below.