Question 24Count the four-digit numbers that begin with $1$ and have exactly one pair of identical digits, as in $1383,1996,1231$.