#include #include using namespace atcoder; using namespace std; using ll=long long; using ld=long double; ll inf=999999999999999999; ll mod=1000000007 ; int main(){ ll n; cin >> n; vectora(n+1,1); vectorans(n+1,1); for (ll i = 0; i < 7; i++) { vectorb=convolution_ll(ans,a); ans=b; } cout << ans[6*n] << endl; }