Arm interview question

Difference between Mealy and Moore machine