#include <iostream>

#define fromeq(x,y,i) for(LL i=x; i<=y; i++)
#define from(x,y,i) for(LL i=x; i<y; i++)
#define rfrom(x,y,i) for(LL i=x; i>=y; i--)
#define D(x) cout << '>' << #x << ':' << x << endl;
#define LL long long int

using namespace std;

LL C(LL n, LL r) {
    LL v=1;
    fromeq(n-r+1,n,i) {
        v *= i;
    }
    fromeq(1,r,i) {
        v /= i;
    }
    return v;
}

int main() {
    ios::sync_with_stdio(false);
    LL cnt=0;
    from(2,7,i) {
        cnt += C(i+9,i);
    }
    cout<<cnt;
    return 0;
}






















