Domanda di colloquio di Optiver

Convert the FSM into one hot, how many bits are required?