Question 12Let $n$ be a positive integer such that all of its digits are distinct and that its digit sum is 17. If $n<2018$, how many different possible values of $n$ are there?