O número 40777 (quarenta mil e setecentos e setenta e sete) é escrito em algarismos romanos da seguinte maneira: XLDCCLXXVII