Molex Interview Question

Design a FSM for Sequence detector