The given Moore machine counts the occurrence of the sequence
‘011’ in any input binary strings over input alphabet {0, 1} and
output alphabet {a, b}. Draw Moore machine then convert it to its
equivalent Mealy machine. Run the input sequence ‘011011’ on
Moore machine and find respective output.