Pergunta de entrevista da empresa Optiver

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