# 8.2. Condition:

A five-digit number is called a pit if the first three digits are in descending order, and the last three digits are in ascending order. For example, 73016 and 98346 are pits, while 88012 and 56821 are not pits. How many pits are there that are less than the number $22222?$