#pragma GCC optimize("Ofast")   //Comment optimisations for interactive problems (use endl)
#pragma GCC target("avx,avx2,fma")
#pragma GCC optimization ("unroll-loops")
#include<bits/stdc++.h>

using namespace std;

#define  fastio         ios:: sync_with_stdio(0);cin.tie(0);cout.tie(0);cout<<fixed;cout<<setprecision(10);
#define  randomINIT     mt19937 rnd(chrono::steady_clock::now().time_since_epoch().count());
#define  all(x)         (x).begin(),(x).end()
#define  mset(x,val)    memset(x,val,sizeof(x))
#define  endl           "\n"
#define  pb             push_back
#define  sym(s)         s="#"+s+"#";
#define  mp             make_pair
#define  s              second
#define  f              first
#define  dline          cerr<<"///REACHED///\n";
#define  debv(a)        for(auto it: a)cout<<it<<" ";cout<<endl;
#define  deb1(a)        cout<<a<<endl;
#define  deb2(a,b)      cout<<a<<" "<<b<<endl;
#define  deb3(a,b,c)    cout<<a<<" "<<b<<" "<<c<<endl;
#define  deb4(a,b,c,d)  cout<<a<<" "<<b<<" "<<c<<" "<<d<<endl;
#define  uniq(a)        a.resize(unique(a.begin(), a.end()) - a.begin());

typedef  long long             ll;
typedef  unsigned long long    ull;
typedef  long double           ld;
typedef  pair<ll,ll>           pll;
typedef  vector<ll>            vll;
typedef  vector<pll>           vpll;

const ll   MOD   =  1e+9+7;
const ll   INF   =  0x7f7f7f7f7f7f7f7f;
const int  INFi  =  0x7f7f7f7f;
const ll   N  =  3e+5+7;

vll adj[N];ll vis[N]={};
int dx8[]={0,1,1,1,0,-1,-1,-1}, dy8[]={1,1,0,-1,-1,-1,0,1};
int dx4[]={0,1,0,-1}, dy4[]={1,0,-1,0};

//<<-----Declare Variable Here------->>//
int t=1;
int l;
//<<-----Implement Functions Here---->>//
ll NCR(ll n, ll r) {
if (r == 0) return 1;
        if (r > n / 2) return NCR(n, n - r);
        ll res = 1;
       for (ll k = 1; k <= r; ++k){
           res *= n - k + 1;
            res /= k;
        }
return res;
}




//<<-----Start of Main--------------->>//
void MAIN(){
		cin>>l;
		ld ans = 1;l -= 12;
		ll n = l+12-1;ll r = l;
		cout<<NCR(n,r);

}

int main(){
    fastio;randomINIT;

    //cin>>t;
    while(t--){
        MAIN();
    }

    #ifndef ONLINE_JUDGE
    cout<<"\nTime Elapsed: " << 1.0*clock() / CLOCKS_PER_SEC << " sec\n";
    #endif
}
#include <iostream>

int main()
{
  std::cin.tie(nullptr);
  std::ios::sync_with_stdio(false);
  
  int64_t C[]={0,0,0,0,0,0,0,0,0,0,0,1,12,78,364,1365,4368,12376,31824,75582,167960,352716,705432,1352078,2496144,4457400,7726160,13037895,21474180,34597290,54627300,84672315,129024480,193536720,286097760,417225900,600805296,854992152,1203322288,1676056044,2311801440,3159461968,4280561376,5752004349,7669339132,10150595910,13340783196,17417133617,22595200368,29135916264,37353738800,47626016970,60403728840,76223753060,95722852680,119653565850,148902215280,184509266760,227692286640,279871768995,342700125300,418094152866,508271323092,615790256823,743595781824,895068996640,1074082795968,1285063345176,1533058025824,1823810410032,2163842859360,2560547383576,3022285436352,3558497368608,4179822305984,4898229264825,5727160371180,6681687099710,7778680504140,9036996468045,10477677064400,12124169174520,14002561581840,16141841823510,18574174153080,21335200040700,24464362713336,28005257316582,32006008361808,36519676207704,41604694413840,47325339895743,53752237906276,60962903966874,69042324974532,78083581816435,88188515933856,99468442390512,112044912118048,126050526132804,141629804643600,158940114100040,178152655364880,199453516332420,223044792457760,249145778809200,277994237408160,309847743777845,344985116783580,383707936014390,426342151127100,473239787751081,524780754733872,581374757695368,643463324051184,711521944864290,786062339088168,867634845974676,956830951635624,1054285955968882,1160681786387760,1276749965026536,1403274736335472,1541096362225563,1691114592176724,1854292315983250,2031659407077300,2224316764644975,2433440563030400,2660286717211200,2906195573424000,3172596834321200,3461014728350400,3773073433365600,4110502764804800,4475144139102000,4868956823342976,5294024482523712,5752562036128128,6246922836107889,6779606178721740,7353265163075118,7970714909592876,8634941152058949,9349109217266832,10116573406743960,10940886795441616,11825811462719982,12775329171405528,13793652511155244,14885236522829400,16054790821051710,17307292232623120,18647997968953080,20082459351180240,21616536107173175,23256411260131140,25008606629045130,26879998961830820,28877836722507435,31009757554370400,33283806441690896,35708454593072352,38292619070202588,41045683186360944,43977517699672440,47098502826745968,50419551102990876,53952131116576224,57708292143679632,61700689713368160,65942612131162221,70448007991055292,75231514706497318,80308488091598364,85695033024571425,91408035226209520,97465194186982440,103885057277142960,110687055075051130,117891537949758600,125519813934742980,133594187930545160,142138002274940490,151175678720167920,160732761857649800,170835964031559216,181513211783531667,192793693871773748,204707910908793474,217287726662965140,230566421070146343,244578745002586176,259360976843401824,274950980915956032,291388267818540360,308714056715858976,326971339639915152,346204947854027808,366461620334848584,};
  
  int L;
  std::cin>>L;
  
  int64_t result=C[L-1];
  
  std::cout<<result<<std::endl;
  
  return 0;
}