Moore Machine

You are implementing a sequence detector for the pattern "1011" using a Moore state machine. Overlapping sequences are allowed. What is the absolute minimum number of states required, and what is the output of the state corresponding to the successful detection of the sequence?