Олимпиадный тренинг

Задача 21778. Dank numbers


Задача

Темы:
A number is a dank number if all its digits are in non-decreasing order. To get dank kush, 3xterminatorXdubz420 has to name all n-value dank numbers. You are not asked to find out all such numbers, you only need to print their number.
Input:
The input is the number n (0 <= n <= 50).
Output:
Print one number - the number of n-digit dank numbers. 
 
Input example:
9
Sample output:
24310

Author: Bukov Anton