#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;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKI2RlZmluZSBmcm9tZXEoeCx5LGkpIGZvcihMTCBpPXg7IGk8PXk7IGkrKykKI2RlZmluZSBmcm9tKHgseSxpKSBmb3IoTEwgaT14OyBpPHk7IGkrKykKI2RlZmluZSByZnJvbSh4LHksaSkgZm9yKExMIGk9eDsgaT49eTsgaS0tKQojZGVmaW5lIEQoeCkgY291dCA8PCAnPicgPDwgI3ggPDwgJzonIDw8IHggPDwgZW5kbDsKI2RlZmluZSBMTCBsb25nIGxvbmcgaW50Cgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKTEwgQyhMTCBuLCBMTCByKSB7CiAgICBMTCB2PTE7CiAgICBmcm9tZXEobi1yKzEsbixpKSB7CiAgICAgICAgdiAqPSBpOwogICAgfQogICAgZnJvbWVxKDEscixpKSB7CiAgICAgICAgdiAvPSBpOwogICAgfQogICAgcmV0dXJuIHY7Cn0KCmludCBtYWluKCkgewogICAgaW9zOjpzeW5jX3dpdGhfc3RkaW8oZmFsc2UpOwogICAgTEwgY250PTA7CiAgICBmcm9tKDIsNyxpKSB7CiAgICAgICAgY250ICs9IEMoaSs5LGkpOwogICAgfQogICAgY291dDw8Y250OwogICAgcmV0dXJuIDA7Cn0KCgoKCgoKCgoKCgoKCgoKCgoKCgoKCg==