In the thousandths place, 8 is greater than 7, while the digits in the other places are the same. This makes the first number greater than the second number.