Intuit interview question

Finite State Machine to identify how a bit stream is divisible by 4.