//cd /mnt/f/UbuntuEnvironment

//My life was going great until I stumble upon this question ); ):

#include<bits/stdc++.h>
using namespace std;
#define FIO ios_base::sync_with_stdio(false);cin.tie(0);cout.tie(0);

long long MOD = 1000000007; //1e9+7
long long INF = 1e18;
typedef long long ll;
typedef long double ld;
#define pii		pair<int, int>
#define pll		pair<long long, long long>
#define fi 		first
#define se 		second
#define fr(i,a,b) 	for(int i=a;i<b;i++)
#define out2(a,b) 	cout<<a<<" "<<b<<"\n";
#define all(v) 		v.begin(), v.end()
#define pb          	push_back

map<pll, ll> mp;

ll fun(ll l, ll c)
{
    if(l<=1) return 0;
    if(l==c+2) return c+1;
    if(l==c+1) return 1;
    if(c==1) return l-1;
    if(mp.find({l, c})!=mp.end())
        return mp[{l, c}];
    ll ans=0;
    for(int i=1;i<=l-c;i++){
        ans+=fun(l-i, c-1);
    }
    mp[{l, c}]=ans;
    return ans;
}

void solve()
{
    ll n;
    cin>>n;
    cout<<fun(n, 11);
}

int main() {
	FIO;
	//freopen("input.txt","r",stdin);
    	//freopen("output.txt","w",stdout);
	int test;
	//cin>>test;
	test=1;
	for(int t=1;t<=test;t++){
        //cout<<"Case #"<<t<<": ";
        solve();
        //cout<<ans<<"\n";
	}
	return 0;
}

#include <bits/stdc++.h>
using namespace std;

#ifdef LOCAL
#include "../debug.h"
#else
#define debug(x...) 141
#endif
#define forn(i,x,n) for(int i = x; i < n; ++i)
#define forit(it, m) for(auto it = m.begin(); it!=m.end(); ++it)
typedef long long ll;

ll gcd(ll a, ll b){
	return b?gcd(b,a%b):a;
}
ll ncr(ll n, ll r){	
	ll p = 1, k = 1;
 
    if(n - r < r)
        r = n - r;
 
    while (r) {
        p *= n;
        k *= r;
 		ll m = gcd(p, k);
 		p /= m;
        k /= m;

        n--;
        r--;
    }
    return p;
}

int main(){
    ios::sync_with_stdio(0);
    cin.tie(0);
    int n;

    cin>>n;
    cout<<ncr(n-1,11)<<'\n';
    
    return 0;
}		