Intel Corporation interview question

Design Finite State Machine.