#include using namespace std; typedef signed long long ll; #undef _P #define _P(...) (void)printf(__VA_ARGS__) #define FOR(x,to) for(x=0;x>N; dp[0][0]=1; FOR(i,8) { FOR(j,6*N+1) FOR(x,N+1) if(j+x<=6*N) dp[i+1][j+x] += dp[i][j]; } cout<