3129: 1-三位数数位和

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:6 Solved:3

Description

一个三位数 ABC(A≠0),满足:

A + B + C = N

请你输出满足条件的三位数的个数。

Input

一个整数 N(1 ≤ N ≤ 27)

Output

满足条件的三位数数量

Sample Input Copy

1

Sample Output Copy

1