793 one digit is right and in the right place.
725
one digit is right but in the wrong place.
317
two digits are right but both in the wrong place.
849
491
all digits are wrong.
one digit is right but in the wrong place?