Using the digits 2 through 8, find the number of different 5-digit numbers such that:
Digits cannot be repeated and must be written in increasing order. For example, 23678 is okay, but 32678 is not.
Digits can be repeated and must be written in non-decreasing order. For example, 24448 is okay, but 24484 is not.