#include <iostream>
#include <vector>
using namespace std;

int main() {
  int i,j,l;
  long long res=1;
  cin  >> l;
  
  for (int i = 1; i < 12; i++) {
    res = (res * (l-i))/i;
  }
  
  cout << res << endl;
  return 0;
}



#include  <bits/stdc++.h>
using     ull = unsigned long long;
using     ll = long long;
using     namespace std;

#define   pf printf
#define   sc scanf
#define   nline cout << '\n'
#define   dbg(x) \
          cout << "debug " << #x << ": " << x << '\n';
#define   inp(t) cin >> (t)
#define   out(t) cout << (t)
#define   FOR(n,x) for(ll i = n; i < x; i++)
#define   FOR2(N,X) for(ll j = N; j < X; j++)
#define   wh(n) while(n--)
ll        fib[52] = {};
bool      isPrime[50];

void OJ(){
    // file I/O
    #ifndef ONLINE_JUDGE
        freopen("input.txt", "r", stdin);
        freopen("output.txt", "w", stdout);
    #endif
}

ll LCM(ll x, ll y){ return x * (y/__gcd(x,y)); } 

// returns nCr
ll nCr(int n, int r) {
    if(r > n - r) r = n - r;
    ll ans = 1;
    int i;

    for(i = 1; i <= r; i++) {
        ans *= n - r + i;
        ans /= i;
    }

    return ans;
}


int main(){
    ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL);
    OJ();

    // Start
    int n; inp(n);

    out(nCr(n-1,11));
    nline;
}   