Answer:
It is a Moore machine because output attached with the state.
Now, Input = ω as per machine the output will be the same with one extra 0 at the output.
So, If Input = ω then Output = 0. ω if we ignore extra output then input = output = ω
Example:
Apart from avoiding extra output if we add an the extra state as initial state then the machine will be
Then directly input = output = ω