Determine the number of three-digit numbers where the digits are in increasing order and their sum equals m.
A natural number m, where 1 ≤ m ≤ 27.
A single integer representing the solution to the problem.
Example 1
Example 2