7. The three-digit numbers $272$, $560$, $354$, etc., have a common feature: the middle digit is the largest. We call such numbers "ascending and descending numbers". Among the three-digit numbers, there are $\qquad$ "ascending and descending numbers".
$240$