#include<bits/stdc++.h>
using namespace std;
int main()
{
	int l,i;
	cin>>l;
	long long ans=l-1;
	for(i=2;i<=11;i++)
	{
		ans*=(l-i);
		ans/=i;
	}
	cout<<ans;
	return 0;
}
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
using ull = unsigned long long;
ll cnt[13][210], l;

int main() {
	cin.tie(0);cout.tie(0);
	ios::sync_with_stdio(0);
	
	cin >> l;
	cnt[0][0] = 1;
	for (int j = 0; j < l; j++)
		for (int i = 0; i < 12; i++)
			for (int k = j + 1; k <= l; k++)
				cnt[i + 1][k] += cnt[i][j];
	cout << cnt[12][l];
	return 0;
}
