Pergunta de entrevista da empresa Hillcrest Labs

Use the shortest encoding method to encode the sum of 2 dice.