#include <iostream>
#include <bits/stdc++.h>
#include <cassert>
#include <climits>
#include <bitset>
#include <stack>
#include <iomanip>
#include <limits>
#include <string>
#include <cmath>
#include <math.h>
#include <algorithm>
#include <string.h>
#include <tuple>
#include <time.h>
#include <random>
#include <unistd.h>

using namespace std;

typedef long long ll;
typedef pair<ll,ll> P;

long long int INF = 1e18;
double Pi = 3.1415926535897932384626;

vector<ll> G[500005];
//vector<P> tree[500010];
priority_queue <ll> pql;
priority_queue <P> pqp;
//big priority queue
priority_queue <ll,vector<ll>,greater<ll> > pqls;
priority_queue <P,vector<P>,greater<P> > pqps;
//small priority queue
//top pop

int dx[8]={1,0,-1,0,1,1,-1,-1};
int dy[8]={0,1,0,-1,1,-1,-1,1};
char dir[] = "DRUL";
//ll bit[500005];
//↓,→,↑,←


#define p(x) cout<<x<<endl;
#define el cout<<endl;
#define pe(x) cout<<(x)<<" ";
#define ps(x) cout<<fixed<<setprecision(25)<<x<<endl;
#define pu(x) cout<<(x);
#define pb push_back
#define lb lower_bound
#define ub upper_bound
#define line cout << "----------" << endl;


ll mod = 1000000007;
ll rui(ll number1,ll number2){

    if(number2 == 0){
        return 1;
    }else{
        ll number3 = rui(number1,number2 / 2);
        number3 *= number3;
        number3 %= mod;
        if(number2%2==1){
            number3 *= number1;
            number3 %= mod;
        }
        return number3;
    }
}
ll gcd(ll number1,ll number2){

    if(number1 > number2){
        swap(number1,number2);
    }
    if(number1 == 0 || number1 == number2){
        return number2;
    }else{
        return gcd(number2 % number1,number1);
    }
}
void YES(bool condition){

    if(condition){
        p("YES");
    }else{
        p("NO");
    }
    return;
}
void Yes(bool condition){

    if(condition){
        p("Yes");
    }else{
        p("No");
    }
    return;
}


//ll fact[800005],rfact[800005];
/*
void c3_init(){
    fact[0] = rfact[0] = 1;
    for(ll i=1; i<=800000; i++){
        fact[i] = (fact[i-1]*i) % mod;
    }
	rfact[800000] = rui(fact[800000],mod - 2);
	for(ll i=800000; i>=1; i--){
	   rfact[i-1] = rfact[i] * i;
	   rfact[i-1] %= mod;
	}
	return;}
ll c3(ll n,ll r){
    return (((fact[n] * rfact[r]) % mod) * rfact[n-r]) % mod;}
*/

ll n,m,num,sum,ans,a,b,c,d,e,g,h,w,i,j,k,q;
ll x[300005],y[300005],z[100005];
ll table[500005];
char s[30005][300],t[300005];
ll dp[300][10000];

int main(){
	/*
	ll idx = 0;
	while(cin >> n >> s[idx]){
		idx++;
	}
	n = idx;
	ll look = 1;
	for(i=0;i<n;i++){
		m = strlen(s[i]);
		ll a = 0;
		for(j=0;j<m;j++){
			a *= 10;
			a += (s[i][j] - '0');
			a %= mod;
		}
		x[i] = a;
	}
	ll row = 0;
	ll co = 1;
	for(i=0;i<n;i++){
		if(x[i] == 1 && x[i+1] == look){
			row++;
			co = 1;
			look++;
			if(look == 2 && b == 0){
				look = 1;
				b = 1;
			}
			cout << "dp[" << row << "][" << co << "] = " << x[i] << ";" << endl;
		}else{
			co++;
			cout << "dp[" << row << "][" << co << "] = " << x[i] << ";" << endl;
		}
	}
	*/
	cin >> n >> k;
	if(k % 2 == 1){
		p(0);
	}else{
		dp[1][1] = 1;
dp[2][1] = 1;
dp[2][2] = 1;
dp[3][1] = 1;
dp[3][2] = 2;
dp[3][3] = 3;
dp[4][1] = 1;
dp[4][2] = 3;
dp[4][3] = 7;
dp[4][4] = 9;
dp[4][5] = 4;
dp[5][1] = 1;
dp[5][2] = 4;
dp[5][3] = 12;
dp[5][4] = 24;
dp[5][5] = 35;
dp[5][6] = 24;
dp[5][7] = 20;
dp[6][1] = 1;
dp[6][2] = 5;
dp[6][3] = 18;
dp[6][4] = 46;
dp[6][5] = 93;
dp[6][6] = 137;
dp[6][7] = 148;
dp[6][8] = 136;
dp[6][9] = 100;
dp[6][10] = 36;
dp[7][1] = 1;
dp[7][2] = 6;
dp[7][3] = 25;
dp[7][4] = 76;
dp[7][5] = 187;
dp[7][6] = 366;
dp[7][7] = 591;
dp[7][8] = 744;
dp[7][9] = 884;
dp[7][10] = 832;
dp[7][11] = 716;
dp[7][12] = 360;
dp[7][13] = 252;
dp[8][1] = 1;
dp[8][2] = 7;
dp[8][3] = 33;
dp[8][4] = 115;
dp[8][5] = 327;
dp[8][6] = 765;
dp[8][7] = 1523;
dp[8][8] = 2553;
dp[8][9] = 3696;
dp[8][10] = 4852;
dp[8][11] = 5708;
dp[8][12] = 5892;
dp[8][13] = 5452;
dp[8][14] = 4212;
dp[8][15] = 2844;
dp[8][16] = 1764;
dp[8][17] = 576;
dp[9][1] = 1;
dp[9][2] = 8;
dp[9][3] = 42;
dp[9][4] = 164;
dp[9][5] = 524;
dp[9][6] = 1400;
dp[9][7] = 3226;
dp[9][8] = 6436;
dp[9][9] = 11323;
dp[9][10] = 17640;
dp[9][11] = 25472;
dp[9][12] = 33280;
dp[9][13] = 40520;
dp[9][14] = 44240;
dp[9][15] = 45512;
dp[9][16] = 40608;
dp[9][17] = 35496;
dp[9][18] = 25632;
dp[9][19] = 18108;
dp[9][20] = 8064;
dp[9][21] = 5184;
dp[10][1] = 1;
dp[10][2] = 9;
dp[10][3] = 52;
dp[10][4] = 224;
dp[10][5] = 790;
dp[10][6] = 2350;
dp[10][7] = 6072;
dp[10][8] = 13768;
dp[10][9] = 27821;
dp[10][10] = 50461;
dp[10][11] = 83420;
dp[10][12] = 127840;
dp[10][13] = 182256;
dp[10][14] = 242272;
dp[10][15] = 301648;
dp[10][16] = 350864;
dp[10][17] = 382576;
dp[10][18] = 389232;
dp[10][19] = 373536;
dp[10][20] = 332640;
dp[10][21] = 273060;
dp[10][22] = 208548;
dp[10][23] = 136512;
dp[10][24] = 81792;
dp[10][25] = 46656;
dp[10][26] = 14400;
dp[11][1] = 1;
dp[11][2] = 10;
dp[11][3] = 63;
dp[11][4] = 296;
dp[11][5] = 1138;
dp[11][6] = 3708;
dp[11][7] = 10538;
dp[11][8] = 26480;
dp[11][9] = 59673;
dp[11][10] = 121626;
dp[11][11] = 226787;
dp[11][12] = 390144;
dp[11][13] = 628744;
dp[11][14] = 949472;
dp[11][15] = 1355952;
dp[11][16] = 1826464;
dp[11][17] = 2341600;
dp[11][18] = 2833632;
dp[11][19] = 3282464;
dp[11][20] = 3584160;
dp[11][21] = 3765600;
dp[11][22] = 3719664;
dp[11][23] = 3531924;
dp[11][24] = 3093336;
dp[11][25] = 2642364;
dp[11][26] = 2010240;
dp[11][27] = 1508544;
dp[11][28] = 963072;
dp[11][29] = 621504;
dp[11][30] = 259200;
dp[11][31] = 158400;
dp[12][1] = 1;
dp[12][2] = 11;
dp[12][3] = 75;
dp[12][4] = 381;
dp[12][5] = 1582;
dp[12][6] = 5582;
dp[12][7] = 17222;
dp[12][8] = 47194;
dp[12][9] = 116457;
dp[12][10] = 261163;
dp[12][11] = 537459;
dp[12][12] = 1022981;
dp[12][13] = 1817652;
dp[12][14] = 3040352;
dp[12][15] = 4810720;
dp[12][16] = 7230928;
dp[12][17] = 10360160;
dp[12][18] = 14178912;
dp[12][19] = 18577792;
dp[12][20] = 23327872;
dp[12][21] = 28132048;
dp[12][22] = 32571504;
dp[12][23] = 36310464;
dp[12][24] = 38903904;
dp[12][25] = 40028724;
dp[12][26] = 39552156;
dp[12][27] = 37457388;
dp[12][28] = 33941412;
dp[12][29] = 29314944;
dp[12][30] = 24179904;
dp[12][31] = 18835776;
dp[12][32] = 13777344;
dp[12][33] = 9452736;
dp[12][34] = 5716800;
dp[12][35] = 3211200;
dp[12][36] = 1742400;
dp[12][37] = 518400;
dp[13][1] = 1;
dp[13][2] = 12;
dp[13][3] = 88;
dp[13][4] = 480;
dp[13][5] = 2137;
dp[13][6] = 8096;
dp[13][7] = 26860;
dp[13][8] = 79376;
dp[13][9] = 211811;
dp[13][10] = 515308;
dp[13][11] = 1153268;
dp[13][12] = 2391936;
dp[13][13] = 4633331;
dp[13][14] = 8438664;
dp[13][15] = 14557048;
dp[13][16] = 23874176;
dp[13][17] = 37407760;
dp[13][18] = 56117824;
dp[13][19] = 80906752;
dp[13][20] = 112162240;
dp[13][21] = 150052400;
dp[13][22] = 193572736;
dp[13][23] = 241706624;
dp[13][24] = 291576384;
dp[13][25] = 341323776;
dp[13][26] = 386160048;
dp[13][27] = 424359540;
dp[13][28] = 450394992;
dp[13][29] = 464545584;
dp[13][30] = 461528208;
dp[13][31] = 446428476;
dp[13][32] = 413557632;
dp[13][33] = 373573440;
dp[13][34] = 321120000;
dp[13][35] = 268449408;
dp[13][36] = 210332160;
dp[13][37] = 162330624;
dp[13][38] = 112550400;
dp[13][39] = 77788800;
dp[13][40] = 46540800;
dp[13][41] = 28497600;
dp[13][42] = 11404800;
dp[13][43] = 6739200;
dp[14][1] = 1;
dp[14][2] = 13;
dp[14][3] = 102;
dp[14][4] = 594;
dp[14][5] = 2819;
dp[14][6] = 11391;
dp[14][7] = 40344;
dp[14][8] = 127508;
dp[14][9] = 364587;
dp[14][10] = 952559;
dp[14][11] = 2293742;
dp[14][12] = 5126898;
dp[14][13] = 10710633;
dp[14][14] = 21042989;
dp[14][15] = 39117852;
dp[14][16] = 69175664;
dp[14][17] = 116857024;
dp[14][18] = 189256368;
dp[14][19] = 294745440;
dp[14][20] = 442503456;
dp[14][21] = 641759376;
dp[14][22] = 900689616;
dp[14][23] = 225195321;
dp[14][24] = 617201401;
dp[14][25] = 74227554;
dp[14][26] = 586823330;
dp[14][27] = 140227131;
dp[14][28] = 711888699;
dp[14][29] = 274217080;
dp[14][30] = 795069832;
dp[14][31] = 242715461;
dp[14][32] = 585116357;
dp[14][33] = 796764497;
dp[14][34] = 861974465;
dp[14][35] = 769155485;
dp[14][36] = 525176285;
dp[14][37] = 146566301;
dp[14][38] = 650715556;
dp[14][39] = 73773796;
dp[14][40] = 455145195;
dp[14][41] = 828946802;
dp[14][42] = 226153586;
dp[14][43] = 685663993;
dp[14][44] = 216281593;
dp[14][45] = 828705600;
dp[14][46] = 536385600;
dp[14][47] = 309484800;
dp[14][48] = 166924800;
dp[14][49] = 87609600;
dp[14][50] = 25401600;
dp[15][1] = 1;
dp[15][2] = 14;
dp[15][3] = 117;
dp[15][4] = 724;
dp[15][5] = 3645;
dp[15][6] = 15626;
dp[15][7] = 58741;
dp[15][8] = 197280;
dp[15][9] = 600215;
dp[15][10] = 1671266;
dp[15][11] = 4295107;
dp[15][12] = 10259436;
dp[15][13] = 22922995;
dp[15][14] = 48184950;
dp[15][15] = 95816051;
dp[15][16] = 181136304;
dp[15][17] = 327071752;
dp[15][18] = 566117888;
dp[15][19] = 942525072;
dp[15][20] = 513281017;
dp[15][21] = 349163810;
dp[15][22] = 532145419;
dp[15][23] = 154557773;
dp[15][24] = 309226767;
dp[15][25] = 88509354;
dp[15][26] = 563257605;
dp[15][27] = 789064441;
dp[15][28] = 766807654;
dp[15][29] = 474675580;
dp[15][30] = 795689314;
dp[15][31] = 599134613;
dp[15][32] = 627066840;
dp[15][33] = 658988947;
dp[15][34] = 307608398;
dp[15][35] = 337632800;
dp[15][36] = 295701193;
dp[15][37] = 44870369;
dp[15][38] = 150212311;
dp[15][39] = 705302359;
dp[15][40] = 336038622;
dp[15][41] = 452522163;
dp[15][42] = 797367958;
dp[15][43] = 62674553;
dp[15][44] = 57993322;
dp[15][45] = 777736994;
dp[15][46] = 845298906;
dp[15][47] = 452367755;
dp[15][48] = 90655804;
dp[15][49] = 810196653;
dp[15][50] = 976943895;
dp[15][51] = 564798323;
dp[15][52] = 582118351;
dp[15][53] = 994783972;
dp[15][54] = 869862386;
dp[15][55] = 697759993;
dp[15][56] = 660441600;
dp[15][57] = 381024000;
dp[16][1] = 1;
dp[16][2] = 15;
dp[16][3] = 133;
dp[16][4] = 871;
dp[16][5] = 4633;
dp[16][6] = 20979;
dp[16][7] = 83313;
dp[16][8] = 295803;
dp[16][9] = 952299;
dp[16][10] = 2809009;
dp[16][11] = 7656027;
dp[16][12] = 19414457;
dp[16][13] = 46086247;
dp[16][14] = 102967901;
dp[16][15] = 217634463;
dp[16][16] = 437195525;
dp[16][17] = 838372452;
dp[16][18] = 540635289;
dp[16][19] = 722168530;
dp[16][20] = 638311860;
dp[16][21] = 640827391;
dp[16][22] = 196046908;
dp[16][23] = 898688562;
dp[16][24] = 478199884;
dp[16][25] = 793020369;
dp[16][26] = 808862771;
dp[16][27] = 562236075;
dp[16][28] = 94791602;
dp[16][29] = 385333320;
dp[16][30] = 237794527;
dp[16][31] = 197694759;
dp[16][32] = 398043392;
dp[16][33] = 504456766;
dp[16][34] = 579736664;
dp[16][35] = 78137089;
dp[16][36] = 793367253;
dp[16][37] = 961295251;
dp[16][38] = 280517488;
dp[16][39] = 179779783;
dp[16][40] = 947563092;
dp[16][41] = 901772777;
dp[16][42] = 859566930;
dp[16][43] = 199212409;
dp[16][44] = 920781370;
dp[16][45] = 362900807;
dp[16][46] = 735004334;
dp[16][47] = 297264154;
dp[16][48] = 482748036;
dp[16][49] = 653703312;
dp[16][50] = 140400674;
dp[16][51] = 623159781;
dp[16][52] = 320434095;
dp[16][53] = 373194802;
dp[16][54] = 13313867;
dp[16][55] = 205909676;
dp[16][56] = 360223815;
dp[16][57] = 570584277;
dp[16][58] = 68075848;
dp[16][59] = 372652149;
dp[16][60] = 961247580;
dp[16][61] = 23084534;
dp[16][62] = 261139053;
dp[16][63] = 151302323;
dp[16][64] = 715359965;
dp[16][65] = 625702393;
dp[17][1] = 1;
dp[17][2] = 16;
dp[17][3] = 150;
dp[17][4] = 1036;
dp[17][5] = 5802;
dp[17][6] = 27648;
dp[17][7] = 115538;
dp[17][8] = 431844;
dp[17][9] = 1464468;
dp[17][10] = 4554040;
dp[17][11] = 13096378;
dp[17][12] = 35069940;
dp[17][13] = 87969166;
dp[17][14] = 207781760;
dp[17][15] = 464351910;
dp[17][16] = 986188668;
dp[17][17] = 998611836;
dp[17][18] = 879505923;
dp[17][19] = 237509223;
dp[17][20] = 15110629;
dp[17][21] = 621334822;
dp[17][22] = 88677622;
dp[17][23] = 257578542;
dp[17][24] = 963016850;
dp[17][25] = 235638961;
dp[17][26] = 442107823;
dp[17][27] = 429101453;
dp[17][28] = 483004748;
dp[17][29] = 329733855;
dp[17][30] = 718448185;
dp[17][31] = 266304376;
dp[17][32] = 413950543;
dp[17][33] = 256286771;
dp[17][34] = 626720357;
dp[17][35] = 318467482;
dp[17][36] = 59069608;
dp[17][37] = 81901162;
dp[17][38] = 352730851;
dp[17][39] = 104241055;
dp[17][40] = 503595237;
dp[17][41] = 956355036;
dp[17][42] = 534522134;
dp[17][43] = 457799859;
dp[17][44] = 108929893;
dp[17][45] = 887297322;
dp[17][46] = 424614770;
dp[17][47] = 265024591;
dp[17][48] = 876853471;
dp[17][49] = 515703045;
dp[17][50] = 692038809;
dp[17][51] = 210906163;
dp[17][52] = 20070317;
dp[17][53] = 468291405;
dp[17][54] = 145357835;
dp[17][55] = 797577421;
dp[17][56] = 232358134;
dp[17][57] = 747771239;
dp[17][58] = 343859985;
dp[17][59] = 833879609;
dp[17][60] = 78548665;
dp[17][61] = 289896769;
dp[17][62] = 449285934;
dp[17][63] = 313197004;
dp[17][64] = 379603290;
dp[17][65] = 397630660;
dp[17][66] = 609910102;
dp[17][67] = 442642726;
dp[17][68] = 627950853;
dp[17][69] = 722186028;
dp[17][70] = 705163253;
dp[17][71] = 998661511;
dp[17][72] = 771071664;
dp[17][73] = 636940611;
dp[18][1] = 1;
dp[18][2] = 17;
dp[18][3] = 168;
dp[18][4] = 1220;
dp[18][5] = 7172;
dp[18][6] = 35852;
dp[18][7] = 157132;
dp[18][8] = 616084;
dp[18][9] = 2192506;
dp[18][10] = 7159090;
dp[18][11] = 21631676;
dp[18][12] = 60902460;
dp[18][13] = 160707468;
dp[18][14] = 399489140;
dp[18][15] = 939796228;
dp[18][16] = 101060910;
dp[18][17] = 481320121;
dp[18][18] = 151453550;
dp[18][19] = 952463061;
dp[18][20] = 931694473;
dp[18][21] = 957528293;
dp[18][22] = 554162053;
dp[18][23] = 990142499;
dp[18][24] = 644946993;
dp[18][25] = 651797781;
dp[18][26] = 791594351;
dp[18][27] = 556120466;
dp[18][28] = 271969917;
dp[18][29] = 107619398;
dp[18][30] = 710253075;
dp[18][31] = 280526462;
dp[18][32] = 615698879;
dp[18][33] = 99748930;
dp[18][34] = 775178221;
dp[18][35] = 257586036;
dp[18][36] = 645364809;
dp[18][37] = 806795120;
dp[18][38] = 340635512;
dp[18][39] = 801741075;
dp[18][40] = 790520661;
dp[18][41] = 68328385;
dp[18][42] = 331513794;
dp[18][43] = 351728404;
dp[18][44] = 931812262;
dp[18][45] = 91105169;
dp[18][46] = 176869824;
dp[18][47] = 445724501;
dp[18][48] = 370449983;
dp[18][49] = 359815736;
dp[18][50] = 918724628;
dp[18][51] = 869062973;
dp[18][52] = 659791249;
dp[18][53] = 657727222;
dp[18][54] = 395793733;
dp[18][55] = 32692523;
dp[18][56] = 78858425;
dp[18][57] = 151369211;
dp[18][58] = 628504487;
dp[18][59] = 842750087;
dp[18][60] = 152091477;
dp[18][61] = 889718876;
dp[18][62] = 908002421;
dp[18][63] = 944598446;
dp[18][64] = 656459208;
dp[18][65] = 712920845;
dp[18][66] = 47550280;
dp[18][67] = 92244967;
dp[18][68] = 110652620;
dp[18][69] = 951703750;
dp[18][70] = 217822851;
dp[18][71] = 901098263;
dp[18][72] = 655149074;
dp[18][73] = 861896271;
dp[18][74] = 859184013;
dp[18][75] = 992613245;
dp[18][76] = 768042116;
dp[18][77] = 807916959;
dp[18][78] = 335381553;
dp[18][79] = 909568095;
dp[18][80] = 153171069;
dp[18][81] = 827990317;
dp[18][82] = 681893483;
dp[19][1] = 1;
dp[19][2] = 18;
dp[19][3] = 187;
dp[19][4] = 1424;
dp[19][5] = 8764;
dp[19][6] = 45832;
dp[19][7] = 210072;
dp[19][8] = 861400;
dp[19][9] = 3206786;
dp[19][10] = 10957868;
dp[19][11] = 34666130;
dp[19][12] = 102239488;
dp[19][13] = 282743580;
dp[19][14] = 736889224;
dp[19][15] = 817936097;
dp[19][16] = 262532028;
dp[19][17] = 534038590;
dp[19][18] = 412279142;
dp[19][19] = 965109380;
dp[19][20] = 86702267;
dp[19][21] = 846482566;
dp[19][22] = 945052509;
dp[19][23] = 644517943;
dp[19][24] = 548776024;
dp[19][25] = 679330947;
dp[19][26] = 152291502;
dp[19][27] = 882910517;
dp[19][28] = 188127435;
dp[19][29] = 636778925;
dp[19][30] = 902059202;
dp[19][31] = 132531208;
dp[19][32] = 193904122;
dp[19][33] = 893705022;
dp[19][34] = 246193070;
dp[19][35] = 652079051;
dp[19][36] = 958060250;
dp[19][37] = 148697872;
dp[19][38] = 504141990;
dp[19][39] = 371410212;
dp[19][40] = 807466717;
dp[19][41] = 514477363;
dp[19][42] = 565424570;
dp[19][43] = 560794838;
dp[19][44] = 11419155;
dp[19][45] = 215137208;
dp[19][46] = 665710713;
dp[19][47] = 791504234;
dp[19][48] = 359367396;
dp[19][49] = 224050172;
dp[19][50] = 509091270;
dp[19][51] = 125989128;
dp[19][52] = 782600310;
dp[19][53] = 957126038;
dp[19][54] = 667219607;
dp[19][55] = 386301613;
dp[19][56] = 605448653;
dp[19][57] = 296557741;
dp[19][58] = 618019404;
dp[19][59] = 194294675;
dp[19][60] = 222923480;
dp[19][61] = 765962783;
dp[19][62] = 743934970;
dp[19][63] = 24324611;
dp[19][64] = 512643153;
dp[19][65] = 214242880;
dp[19][66] = 286900578;
dp[19][67] = 228877964;
dp[19][68] = 91240846;
dp[19][69] = 430467141;
dp[19][70] = 533029377;
dp[19][71] = 904804693;
dp[19][72] = 373207899;
dp[19][73] = 916503101;
dp[19][74] = 83598539;
dp[19][75] = 560288494;
dp[19][76] = 363356684;
dp[19][77] = 68282446;
dp[19][78] = 152683809;
dp[19][79] = 284461190;
dp[19][80] = 124425011;
dp[19][81] = 167972327;
dp[19][82] = 428909487;
dp[19][83] = 373215034;
dp[19][84] = 420008537;
dp[19][85] = 513304383;
dp[19][86] = 874743039;
dp[19][87] = 487193257;
dp[19][88] = 97337408;
dp[19][89] = 532639641;
dp[19][90] = 184378261;
dp[19][91] = 955976093;
dp[20][1] = 1;
dp[20][2] = 19;
dp[20][3] = 207;
dp[20][4] = 1649;
dp[20][5] = 10600;
dp[20][6] = 57852;
dp[20][7] = 276620;
dp[20][8] = 1183172;
dp[20][9] = 4595034;
dp[20][10] = 16384606;
dp[20][11] = 54107670;
dp[20][12] = 166643130;
dp[20][13] = 481442164;
dp[20][14] = 311240781;
dp[20][15] = 381378831;
dp[20][16] = 288429444;
dp[20][17] = 380463632;
dp[20][18] = 370477330;
dp[20][19] = 171662912;
dp[20][20] = 688513797;
dp[20][21] = 626045604;
dp[20][22] = 789881798;
dp[20][23] = 844990830;
dp[20][24] = 70546834;
dp[20][25] = 230422087;
dp[20][26] = 267733218;
dp[20][27] = 970080423;
dp[20][28] = 75064762;
dp[20][29] = 104073936;
dp[20][30] = 888990608;
dp[20][31] = 393490487;
dp[20][32] = 819401315;
dp[20][33] = 362017415;
dp[20][34] = 197941501;
dp[20][35] = 97730360;
dp[20][36] = 491049732;
dp[20][37] = 790022455;
dp[20][38] = 142301163;
dp[20][39] = 381999002;
dp[20][40] = 81566974;
dp[20][41] = 255547256;
dp[20][42] = 500580164;
dp[20][43] = 503785886;
dp[20][44] = 874661360;
dp[20][45] = 953064009;
dp[20][46] = 357278689;
dp[20][47] = 416715628;
dp[20][48] = 656421867;
dp[20][49] = 311332859;
dp[20][50] = 849655408;
dp[20][51] = 575613107;
dp[20][52] = 850236831;
dp[20][53] = 533549113;
dp[20][54] = 255339339;
dp[20][55] = 611845477;
dp[20][56] = 501164398;
dp[20][57] = 135987981;
dp[20][58] = 672393680;
dp[20][59] = 678611757;
dp[20][60] = 552403430;
dp[20][61] = 470027818;
dp[20][62] = 333312311;
dp[20][63] = 203812034;
dp[20][64] = 929380798;
dp[20][65] = 133842121;
dp[20][66] = 497262544;
dp[20][67] = 839881753;
dp[20][68] = 29703780;
dp[20][69] = 133717366;
dp[20][70] = 249364505;
dp[20][71] = 959337844;
dp[20][72] = 632980495;
dp[20][73] = 72879056;
dp[20][74] = 356819838;
dp[20][75] = 662140760;
dp[20][76] = 182352973;
dp[20][77] = 260787823;
dp[20][78] = 329159184;
dp[20][79] = 423643610;
dp[20][80] = 488600943;
dp[20][81] = 164109163;
dp[20][82] = 8143787;
dp[20][83] = 184454683;
dp[20][84] = 684285006;
dp[20][85] = 693158498;
dp[20][86] = 382122550;
dp[20][87] = 488552031;
dp[20][88] = 777204359;
dp[20][89] = 564238497;
dp[20][90] = 598675373;
dp[20][91] = 603916585;
dp[20][92] = 720234840;
dp[20][93] = 93182262;
dp[20][94] = 238936257;
dp[20][95] = 486420235;
dp[20][96] = 352604922;
dp[20][97] = 958291193;
dp[20][98] = 880928218;
dp[20][99] = 736558676;
dp[20][100] = 163545641;
dp[20][101] = 189347824;
dp[21][1] = 1;
dp[21][2] = 20;
dp[21][3] = 228;
dp[21][4] = 1896;
dp[21][5] = 12703;
dp[21][6] = 72200;
dp[21][7] = 359348;
dp[21][8] = 1599616;
dp[21][9] = 6465450;
dp[21][10] = 23997032;
dp[21][11] = 82508708;
dp[21][12] = 264654080;
dp[21][13] = 796563486;
dp[21][14] = 260832418;
dp[21][15] = 76986106;
dp[21][16] = 528774007;
dp[21][17] = 854313906;
dp[21][18] = 307546108;
dp[21][19] = 722735109;
dp[21][20] = 61004626;
dp[21][21] = 805619536;
dp[21][22] = 18191861;
dp[21][23] = 511411798;
dp[21][24] = 993782454;
dp[21][25] = 401030744;
dp[21][26] = 633897378;
dp[21][27] = 70862649;
dp[21][28] = 96855526;
dp[21][29] = 314416445;
dp[21][30] = 92910833;
dp[21][31] = 135520920;
dp[21][32] = 492052755;
dp[21][33] = 24334887;
dp[21][34] = 643976444;
dp[21][35] = 574388511;
dp[21][36] = 317610455;
dp[21][37] = 122930943;
dp[21][38] = 637889505;
dp[21][39] = 255461238;
dp[21][40] = 950861369;
dp[21][41] = 48876234;
dp[21][42] = 149504663;
dp[21][43] = 198682481;
dp[21][44] = 942670278;
dp[21][45] = 866921314;
dp[21][46] = 563621302;
dp[21][47] = 960474580;
dp[21][48] = 980132644;
dp[21][49] = 624295523;
dp[21][50] = 399490883;
dp[21][51] = 351714973;
dp[21][52] = 945626033;
dp[21][53] = 827908349;
dp[21][54] = 157456205;
dp[21][55] = 481861323;
dp[21][56] = 472454109;
dp[21][57] = 343580291;
dp[21][58] = 683697065;
dp[21][59] = 95059407;
dp[21][60] = 841332348;
dp[21][61] = 464714941;
dp[21][62] = 596887160;
dp[21][63] = 38681949;
dp[21][64] = 757883329;
dp[21][65] = 590303711;
dp[21][66] = 64921694;
dp[21][67] = 730086270;
dp[21][68] = 15240461;
dp[21][69] = 714742087;
dp[21][70] = 32874447;
dp[21][71] = 175996750;
dp[21][72] = 277466516;
dp[21][73] = 788882909;
dp[21][74] = 11880203;
dp[21][75] = 95097385;
dp[21][76] = 778398376;
dp[21][77] = 531252352;
dp[21][78] = 479554466;
dp[21][79] = 557013590;
dp[21][80] = 609738833;
dp[21][81] = 798714176;
dp[21][82] = 859324339;
dp[21][83] = 721484640;
dp[21][84] = 268442938;
dp[21][85] = 861267595;
dp[21][86] = 806087188;
dp[21][87] = 31691029;
dp[21][88] = 950412807;
dp[21][89] = 580575404;
dp[21][90] = 849451646;
dp[21][91] = 691790951;
dp[21][92] = 264837637;
dp[21][93] = 967322620;
dp[21][94] = 365040170;
dp[21][95] = 622467624;
dp[21][96] = 456436788;
dp[21][97] = 658680316;
dp[21][98] = 60575186;
dp[21][99] = 387550026;
dp[21][100] = 215002020;
dp[21][101] = 31349904;
dp[21][102] = 449373833;
dp[21][103] = 559514745;
dp[21][104] = 640364153;
dp[21][105] = 807042078;
dp[21][106] = 450172023;
dp[21][107] = 562637973;
dp[21][108] = 109112418;
dp[21][109] = 545193132;
dp[21][110] = 195217263;
dp[21][111] = 976304283;
dp[22][1] = 1;
dp[22][2] = 21;
dp[22][3] = 250;
dp[22][4] = 2166;
dp[22][5] = 15097;
dp[22][6] = 89189;
dp[22][7] = 461164;
dp[22][8] = 2132144;
dp[22][9] = 8950214;
dp[22][10] = 34503182;
dp[22][11] = 123236828;
dp[22][12] = 410729140;
dp[22][13] = 284813823;
dp[22][14] = 790835929;
dp[22][15] = 594736274;
dp[22][16] = 153822108;
dp[22][17] = 374418504;
dp[22][18] = 157537842;
dp[22][19] = 147846917;
dp[22][20] = 133568389;
dp[22][21] = 483576696;
dp[22][22] = 508616649;
dp[22][23] = 656867821;
dp[22][24] = 84463125;
dp[22][25] = 640047601;
dp[22][26] = 955370715;
dp[22][27] = 182167616;
dp[22][28] = 49108700;
dp[22][29] = 229345632;
dp[22][30] = 795610484;
dp[22][31] = 502493987;
dp[22][32] = 857101031;
dp[22][33] = 142485158;
dp[22][34] = 996679960;
dp[22][35] = 742503997;
dp[22][36] = 723858587;
dp[22][37] = 317526153;
dp[22][38] = 365342533;
dp[22][39] = 250775491;
dp[22][40] = 442738912;
dp[22][41] = 408346120;
dp[22][42] = 881242865;
dp[22][43] = 135363327;
dp[22][44] = 231979623;
dp[22][45] = 347291745;
dp[22][46] = 824934645;
dp[22][47] = 995772018;
dp[22][48] = 164592917;
dp[22][49] = 354883487;
dp[22][50] = 450805745;
dp[22][51] = 963969802;
dp[22][52] = 171006181;
dp[22][53] = 92161176;
dp[22][54] = 169883419;
dp[22][55] = 961669090;
dp[22][56] = 26844445;
dp[22][57] = 393784092;
dp[22][58] = 571606470;
dp[22][59] = 464707158;
dp[22][60] = 34144520;
dp[22][61] = 652396373;
dp[22][62] = 745405475;
dp[22][63] = 202923498;
dp[22][64] = 135935314;
dp[22][65] = 703695236;
dp[22][66] = 776259115;
dp[22][67] = 48310283;
dp[22][68] = 874186699;
dp[22][69] = 219390686;
dp[22][70] = 510394758;
dp[22][71] = 751965065;
dp[22][72] = 418424556;
dp[22][73] = 8781061;
dp[22][74] = 736058807;
dp[22][75] = 674014147;
dp[22][76] = 674780706;
dp[22][77] = 590530540;
dp[22][78] = 4352977;
dp[22][79] = 803825827;
dp[22][80] = 167292329;
dp[22][81] = 541083402;
dp[22][82] = 260679638;
dp[22][83] = 665083995;
dp[22][84] = 939990721;
dp[22][85] = 816665296;
dp[22][86] = 886017767;
dp[22][87] = 669822229;
dp[22][88] = 694816125;
dp[22][89] = 643235536;
dp[22][90] = 937314556;
dp[22][91] = 115942268;
dp[22][92] = 261159535;
dp[22][93] = 687177905;
dp[22][94] = 12245758;
dp[22][95] = 694615643;
dp[22][96] = 977706180;
dp[22][97] = 217949106;
dp[22][98] = 118952653;
dp[22][99] = 898868241;
dp[22][100] = 856650616;
dp[22][101] = 42954342;
dp[22][102] = 330321980;
dp[22][103] = 535121720;
dp[22][104] = 982503521;
dp[22][105] = 719423135;
dp[22][106] = 714354007;
dp[22][107] = 18745970;
dp[22][108] = 333448882;
dp[22][109] = 302037622;
dp[22][110] = 935654015;
dp[22][111] = 778423936;
dp[22][112] = 317991952;
dp[22][113] = 284756555;
dp[22][114] = 504736970;
dp[22][115] = 155871365;
dp[22][116] = 118263505;
dp[22][117] = 797065125;
dp[22][118] = 640838446;
dp[22][119] = 258037348;
dp[22][120] = 34344762;
dp[22][121] = 502389803;
dp[22][122] = 911086550;
dp[23][1] = 1;
dp[23][2] = 22;
dp[23][3] = 273;
dp[23][4] = 2460;
dp[23][5] = 17807;
dp[23][6] = 109158;
dp[23][7] = 585339;
dp[23][8] = 2805752;
dp[23][9] = 12209406;
dp[23][10] = 48792492;
dp[23][11] = 180680070;
dp[23][12] = 624410736;
dp[23][13] = 25734764;
dp[23][14] = 199973794;
dp[23][15] = 977710523;
dp[23][16] = 571365953;
dp[23][17] = 412869707;
dp[23][18] = 328237414;
dp[23][19] = 214863466;
dp[23][20] = 633048751;
dp[23][21] = 257394955;
dp[23][22] = 317735309;
dp[23][23] = 673309005;
dp[23][24] = 193600985;
dp[23][25] = 704135816;
dp[23][26] = 514918834;
dp[23][27] = 650479735;
dp[23][28] = 33606857;
dp[23][29] = 490034801;
dp[23][30] = 698396427;
dp[23][31] = 67986999;
dp[23][32] = 220797055;
dp[23][33] = 218864611;
dp[23][34] = 931163713;
dp[23][35] = 940790978;
dp[23][36] = 675674698;
dp[23][37] = 85542051;
dp[23][38] = 543018292;
dp[23][39] = 61247584;
dp[23][40] = 910803604;
dp[23][41] = 831296179;
dp[23][42] = 923943160;
dp[23][43] = 89478028;
dp[23][44] = 104500393;
dp[23][45] = 161998091;
dp[23][46] = 254912705;
dp[23][47] = 539249258;
dp[23][48] = 547749719;
dp[23][49] = 357852173;
dp[23][50] = 690014841;
dp[23][51] = 206926249;
dp[23][52] = 893887199;
dp[23][53] = 747112232;
dp[23][54] = 382059625;
dp[23][55] = 148865046;
dp[23][56] = 301618706;
dp[23][57] = 260333115;
dp[23][58] = 442306036;
dp[23][59] = 247371284;
dp[23][60] = 782005651;
dp[23][61] = 233300621;
dp[23][62] = 920894203;
dp[23][63] = 317455792;
dp[23][64] = 678639547;
dp[23][65] = 427050277;
dp[23][66] = 482884001;
dp[23][67] = 854060466;
dp[23][68] = 980543322;
dp[23][69] = 860769666;
dp[23][70] = 701293636;
dp[23][71] = 771136168;
dp[23][72] = 670745480;
dp[23][73] = 486701027;
dp[23][74] = 168461356;
dp[23][75] = 848787800;
dp[23][76] = 289825171;
dp[23][77] = 498776317;
dp[23][78] = 33320170;
dp[23][79] = 430165721;
dp[23][80] = 821516580;
dp[23][81] = 115533370;
dp[23][82] = 398776967;
dp[23][83] = 333310602;
dp[23][84] = 563097053;
dp[23][85] = 553134182;
dp[23][86] = 219816464;
dp[23][87] = 216637272;
dp[23][88] = 206027601;
dp[23][89] = 933677337;
dp[23][90] = 925510467;
dp[23][91] = 267639197;
dp[23][92] = 43693887;
dp[23][93] = 486722546;
dp[23][94] = 270929495;
dp[23][95] = 877730912;
dp[23][96] = 261947307;
dp[23][97] = 375318068;
dp[23][98] = 692508932;
dp[23][99] = 989184491;
dp[23][100] = 226696206;
dp[23][101] = 288508969;
dp[23][102] = 739837562;
dp[23][103] = 849035543;
dp[23][104] = 782296408;
dp[23][105] = 273955665;
dp[23][106] = 801085382;
dp[23][107] = 431898190;
dp[23][108] = 935043965;
dp[23][109] = 202752072;
dp[23][110] = 867866169;
dp[23][111] = 151133676;
dp[23][112] = 67940990;
dp[23][113] = 78118516;
dp[23][114] = 742654574;
dp[23][115] = 165553271;
dp[23][116] = 254022475;
dp[23][117] = 668960857;
dp[23][118] = 929973305;
dp[23][119] = 656759571;
dp[23][120] = 877339826;
dp[23][121] = 925206924;
dp[23][122] = 133648890;
dp[23][123] = 623964326;
dp[23][124] = 796176354;
dp[23][125] = 256442424;
dp[23][126] = 844384225;
dp[23][127] = 955053908;
dp[23][128] = 35821657;
dp[23][129] = 33969824;
dp[23][130] = 328610099;
dp[23][131] = 171474448;
dp[23][132] = 265634834;
dp[23][133] = 954990510;
dp[24][1] = 1;
dp[24][2] = 23;
dp[24][3] = 297;
dp[24][4] = 2779;
dp[24][5] = 20859;
dp[24][6] = 132473;
dp[24][7] = 735535;
dp[24][8] = 3649437;
dp[24][9] = 16435370;
dp[24][10] = 67971642;
dp[24][11] = 260491974;
dp[24][12] = 931772466;
dp[24][13] = 129241853;
dp[24][14] = 915880695;
dp[24][15] = 773220207;
dp[24][16] = 21124907;
dp[24][17] = 663657824;
dp[24][18] = 89235883;
dp[24][19] = 562087424;
dp[24][20] = 395633225;
dp[24][21] = 79602143;
dp[24][22] = 818737728;
dp[24][23] = 503346111;
dp[24][24] = 923762587;
dp[24][25] = 810187543;
dp[24][26] = 71950684;
dp[24][27] = 872552891;
dp[24][28] = 722894374;
dp[24][29] = 788701216;
dp[24][30] = 792043650;
dp[24][31] = 839896539;
dp[24][32] = 577542972;
dp[24][33] = 345484502;
dp[24][34] = 350106805;
dp[24][35] = 159630680;
dp[24][36] = 594479078;
dp[24][37] = 806985602;
dp[24][38] = 451202244;
dp[24][39] = 562057157;
dp[24][40] = 345406448;
dp[24][41] = 404888318;
dp[24][42] = 371479292;
dp[24][43] = 122121086;
dp[24][44] = 196184273;
dp[24][45] = 855722413;
dp[24][46] = 625056343;
dp[24][47] = 209132008;
dp[24][48] = 580725504;
dp[24][49] = 234791519;
dp[24][50] = 683270249;
dp[24][51] = 879431955;
dp[24][52] = 820639155;
dp[24][53] = 890517789;
dp[24][54] = 877206124;
dp[24][55] = 780147370;
dp[24][56] = 943542736;
dp[24][57] = 532169988;
dp[24][58] = 134361777;
dp[24][59] = 389279830;
dp[24][60] = 486085405;
dp[24][61] = 212150153;
dp[24][62] = 60309713;
dp[24][63] = 36144061;
dp[24][64] = 220641769;
dp[24][65] = 167907687;
dp[24][66] = 433032241;
dp[24][67] = 672669299;
dp[24][68] = 4840381;
dp[24][69] = 543970499;
dp[24][70] = 860603358;
dp[24][71] = 920463673;
dp[24][72] = 899153827;
dp[24][73] = 269139419;
dp[24][74] = 99866794;
dp[24][75] = 833550296;
dp[24][76] = 732963165;
dp[24][77] = 649634036;
dp[24][78] = 220976898;
dp[24][79] = 948879986;
dp[24][80] = 81746947;
dp[24][81] = 249278044;
dp[24][82] = 943429751;
dp[24][83] = 227240067;
dp[24][84] = 617290217;
dp[24][85] = 857759442;
dp[24][86] = 317672542;
dp[24][87] = 702411387;
dp[24][88] = 392102340;
dp[24][89] = 598392406;
dp[24][90] = 771484657;
dp[24][91] = 20769431;
dp[24][92] = 772211314;
dp[24][93] = 777981688;
dp[24][94] = 103043307;
dp[24][95] = 336611982;
dp[24][96] = 922346108;
dp[24][97] = 46010568;
dp[24][98] = 620920750;
dp[24][99] = 740298345;
dp[24][100] = 143296430;
dp[24][101] = 127113300;
dp[24][102] = 229361025;
dp[24][103] = 452883985;
dp[24][104] = 298773134;
dp[24][105] = 583669967;
dp[24][106] = 430943791;
dp[24][107] = 878469881;
dp[24][108] = 498554889;
dp[24][109] = 377075156;
dp[24][110] = 399618101;
dp[24][111] = 518539100;
dp[24][112] = 610655946;
dp[24][113] = 762624102;
dp[24][114] = 339746521;
dp[24][115] = 193491143;
dp[24][116] = 582788075;
dp[24][117] = 58498274;
dp[24][118] = 139175929;
dp[24][119] = 439487543;
dp[24][120] = 659039143;
dp[24][121] = 969039085;
dp[24][122] = 205473123;
dp[24][123] = 149794944;
dp[24][124] = 735361805;
dp[24][125] = 144310487;
dp[24][126] = 952281582;
dp[24][127] = 885994682;
dp[24][128] = 290034640;
dp[24][129] = 449859219;
dp[24][130] = 870975475;
dp[24][131] = 717604104;
dp[24][132] = 930837761;
dp[24][133] = 466542500;
dp[24][134] = 510501275;
dp[24][135] = 368063612;
dp[24][136] = 61813298;
dp[24][137] = 959329905;
dp[24][138] = 938922014;
dp[24][139] = 660077190;
dp[24][140] = 12025968;
dp[24][141] = 335011033;
dp[24][142] = 657136343;
dp[24][143] = 351072920;
dp[24][144] = 964781583;
dp[24][145] = 196462283;
dp[25][1] = 1;
dp[25][2] = 24;
dp[25][3] = 322;
dp[25][4] = 3124;
dp[25][5] = 24280;
dp[25][6] = 159528;
dp[25][7] = 915834;
dp[25][8] = 4696644;
dp[25][9] = 21857553;
dp[25][10] = 93405656;
dp[25][11] = 369882084;
dp[25][12] = 367190881;
dp[25][13] = 745178532;
dp[25][14] = 541448535;
dp[25][15] = 237690972;
dp[25][16] = 408537702;
dp[25][17] = 191376116;
dp[25][18] = 678513161;
dp[25][19] = 493570976;
dp[25][20] = 397907192;
dp[25][21] = 9101765;
dp[25][22] = 658714208;
dp[25][23] = 122356973;
dp[25][24] = 514532531;
dp[25][25] = 911169029;
dp[25][26] = 6916896;
dp[25][27] = 782796;
dp[25][28] = 910119724;
dp[25][29] = 942560918;
dp[25][30] = 62371227;
dp[25][31] = 773940129;
dp[25][32] = 523667340;
dp[25][33] = 669757203;
dp[25][34] = 42568262;
dp[25][35] = 891666384;
dp[25][36] = 467022993;
dp[25][37] = 486796667;
dp[25][38] = 727294526;
dp[25][39] = 413613585;
dp[25][40] = 787453753;
dp[25][41] = 599953158;
dp[25][42] = 417187968;
dp[25][43] = 359849625;
dp[25][44] = 117069116;
dp[25][45] = 879478181;
dp[25][46] = 12380000;
dp[25][47] = 910899870;
dp[25][48] = 838986319;
dp[25][49] = 102687453;
dp[25][50] = 103327364;
dp[25][51] = 376800830;
dp[25][52] = 429223538;
dp[25][53] = 780159138;
dp[25][54] = 706916356;
dp[25][55] = 587575355;
dp[25][56] = 971169352;
dp[25][57] = 36010810;
dp[25][58] = 483798044;
dp[25][59] = 344462034;
dp[25][60] = 787276711;
dp[25][61] = 359714668;
dp[25][62] = 737585540;
dp[25][63] = 514856433;
dp[25][64] = 506547585;
dp[25][65] = 7966248;
dp[25][66] = 935961;
dp[25][67] = 931790046;
dp[25][68] = 725219981;
dp[25][69] = 437246235;
dp[25][70] = 737823353;
dp[25][71] = 539625329;
dp[25][72] = 101294921;
dp[25][73] = 998345360;
dp[25][74] = 158678756;
dp[25][75] = 14552916;
dp[25][76] = 434899855;
dp[25][77] = 58679632;
dp[25][78] = 771567929;
dp[25][79] = 908041362;
dp[25][80] = 370603042;
dp[25][81] = 958461645;
dp[25][82] = 473954165;
dp[25][83] = 329932246;
dp[25][84] = 645017860;
dp[25][85] = 950250115;
dp[25][86] = 632956030;
dp[25][87] = 39737256;
dp[25][88] = 308287817;
dp[25][89] = 593859369;
dp[25][90] = 848980890;
dp[25][91] = 73354610;
dp[25][92] = 67983312;
dp[25][93] = 794665532;
dp[25][94] = 744501399;
dp[25][95] = 571146358;
dp[25][96] = 79777328;
dp[25][97] = 768540650;
dp[25][98] = 301591668;
dp[25][99] = 87146707;
dp[25][100] = 749547055;
dp[25][101] = 542914952;
dp[25][102] = 113807115;
dp[25][103] = 981646049;
dp[25][104] = 443442346;
dp[25][105] = 689844336;
dp[25][106] = 226785366;
dp[25][107] = 664441023;
dp[25][108] = 644644459;
dp[25][109] = 65534356;
dp[25][110] = 186334852;
dp[25][111] = 433121661;
dp[25][112] = 818953887;
dp[25][113] = 687026114;
dp[25][114] = 344822747;
dp[25][115] = 464015963;
dp[25][116] = 110899493;
dp[25][117] = 294091084;
dp[25][118] = 65199948;
dp[25][119] = 37449794;
dp[25][120] = 719226153;
dp[25][121] = 501099656;
dp[25][122] = 413337315;
dp[25][123] = 725255533;
dp[25][124] = 799293560;
dp[25][125] = 259962068;
dp[25][126] = 954615054;
dp[25][127] = 373654234;
dp[25][128] = 764439094;
dp[25][129] = 914044890;
dp[25][130] = 22085466;
dp[25][131] = 539035590;
dp[25][132] = 698634111;
dp[25][133] = 313016212;
dp[25][134] = 98993468;
dp[25][135] = 941478268;
dp[25][136] = 955683335;
dp[25][137] = 902077766;
dp[25][138] = 420565422;
dp[25][139] = 767959775;
dp[25][140] = 128648986;
dp[25][141] = 355285226;
dp[25][142] = 534029655;
dp[25][143] = 104714136;
dp[25][144] = 932643222;
dp[25][145] = 778200211;
dp[25][146] = 56428536;
dp[25][147] = 225880543;
dp[25][148] = 792355687;
dp[25][149] = 449940761;
dp[25][150] = 181471652;
dp[25][151] = 529937629;
dp[25][152] = 325235521;
dp[25][153] = 6575392;
dp[25][154] = 94094707;
dp[25][155] = 441392085;
dp[25][156] = 37264955;
dp[25][157] = 911557047;
dp[26][1] = 1;
dp[26][2] = 25;
dp[26][3] = 348;
dp[26][4] = 3496;
dp[26][5] = 28098;
dp[26][6] = 190746;
dp[26][7] = 1130768;
dp[26][8] = 5985744;
dp[26][9] = 28747851;
dp[26][10] = 126764795;
dp[26][11] = 517958180;
dp[26][12] = 975500521;
dp[26][13] = 75313899;
dp[26][14] = 914923483;
dp[26][15] = 611051644;
dp[26][16] = 458281681;
dp[26][17] = 932346365;
dp[26][18] = 712529240;
dp[26][19] = 185024083;
dp[26][20] = 463834094;
dp[26][21] = 950836649;
dp[26][22] = 286357381;
dp[26][23] = 871292163;
dp[26][24] = 434939852;
dp[26][25] = 58330077;
dp[26][26] = 629835295;
dp[26][27] = 27932676;
dp[26][28] = 66354549;
dp[26][29] = 10923173;
dp[26][30] = 590226200;
dp[26][31] = 526183672;
dp[26][32] = 176005584;
dp[26][33] = 809584977;
dp[26][34] = 222348292;
dp[26][35] = 260397896;
dp[26][36] = 396327746;
dp[26][37] = 178971085;
dp[26][38] = 774808076;
dp[26][39] = 78650222;
dp[26][40] = 507195902;
dp[26][41] = 144802453;
dp[26][42] = 299847298;
dp[26][43] = 581537053;
dp[26][44] = 724817078;
dp[26][45] = 350425193;
dp[26][46] = 503589319;
dp[26][47] = 654904119;
dp[26][48] = 595937600;
dp[26][49] = 992781673;
dp[26][50] = 82554146;
dp[26][51] = 868891604;
dp[26][52] = 769490422;
dp[26][53] = 119334199;
dp[26][54] = 287573489;
dp[26][55] = 85347169;
dp[26][56] = 118147346;
dp[26][57] = 949694675;
dp[26][58] = 540939467;
dp[26][59] = 927324362;
dp[26][60] = 545027201;
dp[26][61] = 610310429;
dp[26][62] = 769058023;
dp[26][63] = 21423;
dp[26][64] = 262519735;
dp[26][65] = 786795808;
dp[26][66] = 240407039;
dp[26][67] = 428554518;
dp[26][68] = 447092428;
dp[26][69] = 788617633;
dp[26][70] = 367724192;
dp[26][71] = 374279457;
dp[26][72] = 343082569;
dp[26][73] = 856162651;
dp[26][74] = 150954733;
dp[26][75] = 962857235;
dp[26][76] = 700751807;
dp[26][77] = 895999415;
dp[26][78] = 533537747;
dp[26][79] = 537990547;
dp[26][80] = 268357366;
dp[26][81] = 869434038;
dp[26][82] = 633081543;
dp[26][83] = 603452058;
dp[26][84] = 947934680;
dp[26][85] = 987367826;
dp[26][86] = 743179254;
dp[26][87] = 710352935;
dp[26][88] = 835787228;
dp[26][89] = 706586787;
dp[26][90] = 845202323;
dp[26][91] = 238777269;
dp[26][92] = 405136472;
dp[26][93] = 480736674;
dp[26][94] = 155194042;
dp[26][95] = 871452828;
dp[26][96] = 677921910;
dp[26][97] = 616952227;
dp[26][98] = 984554304;
dp[26][99] = 602482844;
dp[26][100] = 894952109;
dp[26][101] = 161534829;
dp[26][102] = 782737895;
dp[26][103] = 850072208;
dp[26][104] = 670793244;
dp[26][105] = 828100052;
dp[26][106] = 222399146;
dp[26][107] = 284700626;
dp[26][108] = 231919567;
dp[26][109] = 306545173;
dp[26][110] = 673216888;
dp[26][111] = 772842480;
dp[26][112] = 314744315;
dp[26][113] = 347738200;
dp[26][114] = 25002680;
dp[26][115] = 730048408;
dp[26][116] = 649455506;
dp[26][117] = 745857274;
dp[26][118] = 196252843;
dp[26][119] = 529935260;
dp[26][120] = 419302767;
dp[26][121] = 276709210;
dp[26][122] = 732855171;
dp[26][123] = 343508231;
dp[26][124] = 624945362;
dp[26][125] = 861002432;
dp[26][126] = 484757974;
dp[26][127] = 367927715;
dp[26][128] = 209929226;
dp[26][129] = 661865936;
dp[26][130] = 531107025;
dp[26][131] = 413469524;
dp[26][132] = 479519565;
dp[26][133] = 741904536;
dp[26][134] = 610072165;
dp[26][135] = 606639245;
dp[26][136] = 934344602;
dp[26][137] = 716197790;
dp[26][138] = 587584177;
dp[26][139] = 185414563;
dp[26][140] = 306822687;
dp[26][141] = 841034662;
dp[26][142] = 971868532;
dp[26][143] = 919896238;
dp[26][144] = 158358640;
dp[26][145] = 773475266;
dp[26][146] = 936203252;
dp[26][147] = 665923149;
dp[26][148] = 911486615;
dp[26][149] = 197651366;
dp[26][150] = 774528535;
dp[26][151] = 82937079;
dp[26][152] = 883806524;
dp[26][153] = 130206852;
dp[26][154] = 774201811;
dp[26][155] = 995994000;
dp[26][156] = 245370199;
dp[26][157] = 842572718;
dp[26][158] = 793423605;
dp[26][159] = 740588350;
dp[26][160] = 687616120;
dp[26][161] = 657690139;
dp[26][162] = 857790226;
dp[26][163] = 37323118;
dp[26][164] = 88399209;
dp[26][165] = 523321086;
dp[26][166] = 117621631;
dp[26][167] = 71036645;
dp[26][168] = 222192424;
dp[26][169] = 788926021;
dp[26][170] = 202125596;
dp[27][1] = 1;
dp[27][2] = 26;
dp[27][3] = 375;
dp[27][4] = 3896;
dp[27][5] = 32342;
dp[27][6] = 226580;
dp[27][7] = 1385350;
dp[27][8] = 7560544;
dp[27][9] = 37426495;
dp[27][10] = 170077814;
dp[27][11] = 716127109;
dp[27][12] = 814596482;
dp[27][13] = 388283574;
dp[27][14] = 187079164;
dp[27][15] = 480126707;
dp[27][16] = 290089727;
dp[27][17] = 38629756;
dp[27][18] = 54115650;
dp[27][19] = 64891257;
dp[27][20] = 901599546;
dp[27][21] = 718222041;
dp[27][22] = 911275669;
dp[27][23] = 323565019;
dp[27][24] = 817912019;
dp[27][25] = 805459451;
dp[27][26] = 803612364;
dp[27][27] = 201797073;
dp[27][28] = 732830955;
dp[27][29] = 80380678;
dp[27][30] = 23464457;
dp[27][31] = 701195891;
dp[27][32] = 272214917;
dp[27][33] = 913862649;
dp[27][34] = 132026200;
dp[27][35] = 669751010;
dp[27][36] = 759341231;
dp[27][37] = 973676755;
dp[27][38] = 794065196;
dp[27][39] = 967438659;
dp[27][40] = 308299894;
dp[27][41] = 10712690;
dp[27][42] = 949669597;
dp[27][43] = 781686555;
dp[27][44] = 88559004;
dp[27][45] = 727530543;
dp[27][46] = 318751597;
dp[27][47] = 278470531;
dp[27][48] = 434911202;
dp[27][49] = 804701133;
dp[27][50] = 324324750;
dp[27][51] = 981099143;
dp[27][52] = 232682614;
dp[27][53] = 987104568;
dp[27][54] = 776649739;
dp[27][55] = 786487389;
dp[27][56] = 442468777;
dp[27][57] = 569068005;
dp[27][58] = 663709268;
dp[27][59] = 881510700;
dp[27][60] = 203686642;
dp[27][61] = 57967683;
dp[27][62] = 568729400;
dp[27][63] = 236001193;
dp[27][64] = 623959074;
dp[27][65] = 703861418;
dp[27][66] = 908672716;
dp[27][67] = 70204475;
dp[27][68] = 867825588;
dp[27][69] = 827103298;
dp[27][70] = 241630317;
dp[27][71] = 362696969;
dp[27][72] = 415618616;
dp[27][73] = 805038660;
dp[27][74] = 598704556;
dp[27][75] = 10082872;
dp[27][76] = 643477587;
dp[27][77] = 415164213;
dp[27][78] = 703084166;
dp[27][79] = 477367476;
dp[27][80] = 20036406;
dp[27][81] = 629980785;
dp[27][82] = 802614294;
dp[27][83] = 952521645;
dp[27][84] = 17601466;
dp[27][85] = 311433959;
dp[27][86] = 830294700;
dp[27][87] = 548394039;
dp[27][88] = 535645146;
dp[27][89] = 521413012;
dp[27][90] = 929141249;
dp[27][91] = 283365227;
dp[27][92] = 727229980;
dp[27][93] = 443388093;
dp[27][94] = 410708269;
dp[27][95] = 286618040;
dp[27][96] = 319768543;
dp[27][97] = 938841603;
dp[27][98] = 93475597;
dp[27][99] = 394693465;
dp[27][100] = 931196821;
dp[27][101] = 495806189;
dp[27][102] = 902879580;
dp[27][103] = 707905623;
dp[27][104] = 303901454;
dp[27][105] = 576396872;
dp[27][106] = 484544924;
dp[27][107] = 486011674;
dp[27][108] = 564305854;
dp[27][109] = 311518869;
dp[27][110] = 856442237;
dp[27][111] = 372745088;
dp[27][112] = 366968335;
dp[27][113] = 813470622;
dp[27][114] = 720542245;
dp[27][115] = 551543931;
dp[27][116] = 596748971;
dp[27][117] = 778551123;
dp[27][118] = 354920979;
dp[27][119] = 984250497;
dp[27][120] = 691689872;
dp[27][121] = 327423759;
dp[27][122] = 52302396;
dp[27][123] = 920309409;
dp[27][124] = 457393341;
dp[27][125] = 162758194;
dp[27][126] = 401889329;
dp[27][127] = 760192486;
dp[27][128] = 361045291;
dp[27][129] = 58998809;
dp[27][130] = 845800809;
dp[27][131] = 8575285;
dp[27][132] = 649668894;
dp[27][133] = 501939170;
dp[27][134] = 542308042;
dp[27][135] = 574502757;
dp[27][136] = 192463535;
dp[27][137] = 690505425;
dp[27][138] = 204738512;
dp[27][139] = 689813836;
dp[27][140] = 483570629;
dp[27][141] = 525148782;
dp[27][142] = 216925832;
dp[27][143] = 952334594;
dp[27][144] = 68584858;
dp[27][145] = 946061868;
dp[27][146] = 229986068;
dp[27][147] = 113082103;
dp[27][148] = 705545851;
dp[27][149] = 563504064;
dp[27][150] = 430610853;
dp[27][151] = 209937938;
dp[27][152] = 608555345;
dp[27][153] = 578039088;
dp[27][154] = 750439353;
dp[27][155] = 944169681;
dp[27][156] = 417934823;
dp[27][157] = 74422181;
dp[27][158] = 960090808;
dp[27][159] = 568355902;
dp[27][160] = 435674968;
dp[27][161] = 894299009;
dp[27][162] = 15861008;
dp[27][163] = 618713868;
dp[27][164] = 509911155;
dp[27][165] = 168869978;
dp[27][166] = 339481775;
dp[27][167] = 369451744;
dp[27][168] = 600513141;
dp[27][169] = 71634326;
dp[27][170] = 781507214;
dp[27][171] = 857107917;
dp[27][172] = 106564183;
dp[27][173] = 736233715;
dp[27][174] = 362800524;
dp[27][175] = 615467708;
dp[27][176] = 519437498;
dp[27][177] = 342065337;
dp[27][178] = 206666492;
dp[27][179] = 505918934;
dp[27][180] = 308299385;
dp[27][181] = 20927738;
dp[27][182] = 106279730;
dp[27][183] = 457391057;
dp[28][1] = 1;
dp[28][2] = 27;
dp[28][3] = 403;
dp[28][4] = 4325;
dp[28][5] = 37042;
dp[28][6] = 267514;
dp[28][7] = 1685106;
dp[28][8] = 9470830;
dp[28][9] = 48268511;
dp[28][10] = 225792189;
dp[28][11] = 978561725;
dp[28][12] = 958557158;
dp[28][13] = 38052071;
dp[28][14] = 919433401;
dp[28][15] = 254995547;
dp[28][16] = 546697380;
dp[28][17] = 704487939;
dp[28][18] = 32839999;
dp[28][19] = 508901654;
dp[28][20] = 551556389;
dp[28][21] = 663564198;
dp[28][22] = 695178769;
dp[28][23] = 814009554;
dp[28][24] = 547143595;
dp[28][25] = 371559020;
dp[28][26] = 945387943;
dp[28][27] = 670094820;
dp[28][28] = 616330760;
dp[28][29] = 976064124;
dp[28][30] = 607380120;
dp[28][31] = 8699769;
dp[28][32] = 998280938;
dp[28][33] = 580008436;
dp[28][34] = 958036252;
dp[28][35] = 912203574;
dp[28][36] = 544195790;
dp[28][37] = 396609897;
dp[28][38] = 954428754;
dp[28][39] = 708902921;
dp[28][40] = 801338681;
dp[28][41] = 431017191;
dp[28][42] = 381717232;
dp[28][43] = 344144422;
dp[28][44] = 131861617;
dp[28][45] = 874277396;
dp[28][46] = 830300192;
dp[28][47] = 596462835;
dp[28][48] = 318671397;
dp[28][49] = 244894238;
dp[28][50] = 904557382;
dp[28][51] = 834593756;
dp[28][52] = 283869037;
dp[28][53] = 697514761;
dp[28][54] = 969250693;
dp[28][55] = 509524190;
dp[28][56] = 913260759;
dp[28][57] = 384371901;
dp[28][58] = 692021356;
dp[28][59] = 509945770;
dp[28][60] = 32685910;
dp[28][61] = 505430483;
dp[28][62] = 907189201;
dp[28][63] = 193340383;
dp[28][64] = 693205397;
dp[28][65] = 603006308;
dp[28][66] = 305262013;
dp[28][67] = 925218957;
dp[28][68] = 968092842;
dp[28][69] = 27052064;
dp[28][70] = 47727228;
dp[28][71] = 477199307;
dp[28][72] = 293774777;
dp[28][73] = 98292616;
dp[28][74] = 663047137;
dp[28][75] = 995897620;
dp[28][76] = 288543890;
dp[28][77] = 998081856;
dp[28][78] = 524487172;
dp[28][79] = 892499155;
dp[28][80] = 556044593;
dp[28][81] = 972323813;
dp[28][82] = 578208602;
dp[28][83] = 933674462;
dp[28][84] = 509188659;
dp[28][85] = 985492681;
dp[28][86] = 986901126;
dp[28][87] = 628028841;
dp[28][88] = 519717277;
dp[28][89] = 311965185;
dp[28][90] = 897395442;
dp[28][91] = 829761538;
dp[28][92] = 9680527;
dp[28][93] = 161715155;
dp[28][94] = 343759581;
dp[28][95] = 402616197;
dp[28][96] = 861303980;
dp[28][97] = 911400557;
dp[28][98] = 358697993;
dp[28][99] = 515548395;
dp[28][100] = 553147014;
dp[28][101] = 892738525;
dp[28][102] = 205604013;
dp[28][103] = 762111690;
dp[28][104] = 442223169;
dp[28][105] = 7841804;
dp[28][106] = 517369986;
dp[28][107] = 84729818;
dp[28][108] = 152655938;
dp[28][109] = 700957258;
dp[28][110] = 898706126;
dp[28][111] = 75157861;
dp[28][112] = 271201265;
dp[28][113] = 543855670;
dp[28][114] = 440588279;
dp[28][115] = 204308612;
dp[28][116] = 236683234;
dp[28][117] = 208667572;
dp[28][118] = 404506592;
dp[28][119] = 809547310;
dp[28][120] = 853106482;
dp[28][121] = 518815458;
dp[28][122] = 16491026;
dp[28][123] = 491832633;
dp[28][124] = 360120645;
dp[28][125] = 923872102;
dp[28][126] = 602086347;
dp[28][127] = 641452842;
dp[28][128] = 18221609;
dp[28][129] = 229080666;
dp[28][130] = 428455406;
dp[28][131] = 569262655;
dp[28][132] = 856993308;
dp[28][133] = 230900297;
dp[28][134] = 490066099;
dp[28][135] = 367669571;
dp[28][136] = 96292417;
dp[28][137] = 52365382;
dp[28][138] = 469261002;
dp[28][139] = 374633464;
dp[28][140] = 900617667;
dp[28][141] = 182287939;
dp[28][142] = 49700390;
dp[28][143] = 796588976;
dp[28][144] = 949085023;
dp[28][145] = 222503562;
dp[28][146] = 658471212;
dp[28][147] = 94278399;
dp[28][148] = 66098044;
dp[28][149] = 72459139;
dp[28][150] = 603916441;
dp[28][151] = 257635815;
dp[28][152] = 234793049;
dp[28][153] = 951525459;
dp[28][154] = 549173423;
dp[28][155] = 938321308;
dp[28][156] = 13662267;
dp[28][157] = 288258509;
dp[28][158] = 65326301;
dp[28][159] = 11071916;
dp[28][160] = 364716823;
dp[28][161] = 929353581;
dp[28][162] = 839483911;
dp[28][163] = 199241395;
dp[28][164] = 29486252;
dp[28][165] = 482468148;
dp[28][166] = 829994735;
dp[28][167] = 370892643;
dp[28][168] = 687560607;
dp[28][169] = 531658704;
dp[28][170] = 568187724;
dp[28][171] = 486108828;
dp[28][172] = 475403750;
dp[28][173] = 227529481;
dp[28][174] = 124500798;
dp[28][175] = 228110006;
dp[28][176] = 56292488;
dp[28][177] = 958873404;
dp[28][178] = 963718586;
dp[28][179] = 481659835;
dp[28][180] = 183136868;
dp[28][181] = 593123751;
dp[28][182] = 622015148;
dp[28][183] = 469053734;
dp[28][184] = 211587807;
dp[28][185] = 928091671;
dp[28][186] = 481375722;
dp[28][187] = 612130911;
dp[28][188] = 134707706;
dp[28][189] = 334981252;
dp[28][190] = 784422204;
dp[28][191] = 712253942;
dp[28][192] = 698883770;
dp[28][193] = 390222722;
dp[28][194] = 25478322;
dp[28][195] = 28778175;
dp[28][196] = 349558455;
dp[28][197] = 616616543;
dp[29][1] = 1;
dp[29][2] = 28;
dp[29][3] = 432;
dp[29][4] = 4784;
dp[29][5] = 42229;
dp[29][6] = 314064;
dp[29][7] = 2036108;
dp[29][8] = 11772944;
dp[29][9] = 61710789;
dp[29][10] = 296841956;
dp[29][11] = 322742117;
dp[29][12] = 501368237;
dp[29][13] = 486564198;
dp[29][14] = 208215103;
dp[29][15] = 787564548;
dp[29][16] = 236938424;
dp[29][17] = 301578523;
dp[29][18] = 866593178;
dp[29][19] = 461034739;
dp[29][20] = 153403692;
dp[29][21] = 741061604;
dp[29][22] = 268366308;
dp[29][23] = 41671958;
dp[29][24] = 999969805;
dp[29][25] = 820629183;
dp[29][26] = 540097933;
dp[29][27] = 348143198;
dp[29][28] = 290585123;
dp[29][29] = 709901036;
dp[29][30] = 830657214;
dp[29][31] = 397773343;
dp[29][32] = 205345230;
dp[29][33] = 80836479;
dp[29][34] = 744283025;
dp[29][35] = 767371096;
dp[29][36] = 13280133;
dp[29][37] = 166091858;
dp[29][38] = 688213267;
dp[29][39] = 405245759;
dp[29][40] = 999129285;
dp[29][41] = 957885801;
dp[29][42] = 125598090;
dp[29][43] = 229197648;
dp[29][44] = 232621259;
dp[29][45] = 771781842;
dp[29][46] = 15692966;
dp[29][47] = 623498734;
dp[29][48] = 209019752;
dp[29][49] = 451480479;
dp[29][50] = 405116698;
dp[29][51] = 905232949;
dp[29][52] = 522429827;
dp[29][53] = 160392239;
dp[29][54] = 911337480;
dp[29][55] = 463779522;
dp[29][56] = 870625842;
dp[29][57] = 997849245;
dp[29][58] = 364479050;
dp[29][59] = 834828;
dp[29][60] = 300785526;
dp[29][61] = 10186705;
dp[29][62] = 265101999;
dp[29][63] = 566806573;
dp[29][64] = 614983712;
dp[29][65] = 685595755;
dp[29][66] = 48653250;
dp[29][67] = 344390997;
dp[29][68] = 673637797;
dp[29][69] = 896886255;
dp[29][70] = 108856368;
dp[29][71] = 31386606;
dp[29][72] = 486989879;
dp[29][73] = 489263782;
dp[29][74] = 517653845;
dp[29][75] = 976993581;
dp[29][76] = 117774221;
dp[29][77] = 829510874;
dp[29][78] = 294191687;
dp[29][79] = 233225993;
dp[29][80] = 831800739;
dp[29][81] = 448583977;
dp[29][82] = 657291524;
dp[29][83] = 649603801;
dp[29][84] = 456575978;
dp[29][85] = 536862581;
dp[29][86] = 855051723;
dp[29][87] = 994222346;
dp[29][88] = 302476269;
dp[29][89] = 502749737;
dp[29][90] = 322446053;
dp[29][91] = 790323255;
dp[29][92] = 357338908;
dp[29][93] = 887312147;
dp[29][94] = 181428924;
dp[29][95] = 536100952;
dp[29][96] = 55330164;
dp[29][97] = 160205355;
dp[29][98] = 190454705;
dp[29][99] = 365581727;
dp[29][100] = 201998030;
dp[29][101] = 826748536;
dp[29][102] = 400273437;
dp[29][103] = 624522779;
dp[29][104] = 849319472;
dp[29][105] = 800147953;
dp[29][106] = 80982274;
dp[29][107] = 447705256;
dp[29][108] = 168185200;
dp[29][109] = 97822479;
dp[29][110] = 309878269;
dp[29][111] = 678607548;
dp[29][112] = 912097410;
dp[29][113] = 927785144;
dp[29][114] = 334246635;
dp[29][115] = 662138658;
dp[29][116] = 715198385;
dp[29][117] = 260363473;
dp[29][118] = 461374975;
dp[29][119] = 89468114;
dp[29][120] = 651175074;
dp[29][121] = 575096135;
dp[29][122] = 130470890;
dp[29][123] = 71518840;
dp[29][124] = 879845193;
dp[29][125] = 486812125;
dp[29][126] = 128678982;
dp[29][127] = 647847215;
dp[29][128] = 49005945;
dp[29][129] = 59417027;
dp[29][130] = 550597313;
dp[29][131] = 85275582;
dp[29][132] = 589669875;
dp[29][133] = 488581288;
dp[29][134] = 579391253;
dp[29][135] = 238935007;
dp[29][136] = 307933774;
dp[29][137] = 801626662;
dp[29][138] = 991248834;
dp[29][139] = 831660242;
dp[29][140] = 2289249;
dp[29][141] = 939337934;
dp[29][142] = 170802252;
dp[29][143] = 112167473;
dp[29][144] = 712496239;
dp[29][145] = 45742853;
dp[29][146] = 482400666;
dp[29][147] = 341362938;
dp[29][148] = 957391891;
dp[29][149] = 147812751;
dp[29][150] = 376451585;
dp[29][151] = 832724562;
dp[29][152] = 418101830;
dp[29][153] = 38563919;
dp[29][154] = 274362964;
dp[29][155] = 819817184;
dp[29][156] = 400041713;
dp[29][157] = 313141267;
dp[29][158] = 806456583;
dp[29][159] = 999307614;
dp[29][160] = 670677205;
dp[29][161] = 585839782;
dp[29][162] = 845991536;
dp[29][163] = 831623045;
dp[29][164] = 109161241;
dp[29][165] = 554327240;
dp[29][166] = 822718306;
dp[29][167] = 173814042;
dp[29][168] = 363700239;
dp[29][169] = 22366070;
dp[29][170] = 479904205;
dp[29][171] = 190929878;
dp[29][172] = 554951008;
dp[29][173] = 774006606;
dp[29][174] = 279182950;
dp[29][175] = 109357938;
dp[29][176] = 401823952;
dp[29][177] = 575672540;
dp[29][178] = 860574847;
dp[29][179] = 593910748;
dp[29][180] = 547825741;
dp[29][181] = 217594637;
dp[29][182] = 989467389;
dp[29][183] = 184852185;
dp[29][184] = 331539318;
dp[29][185] = 325720467;
dp[29][186] = 383229710;
dp[29][187] = 654245987;
dp[29][188] = 146654996;
dp[29][189] = 209385163;
dp[29][190] = 560462909;
dp[29][191] = 965812836;
dp[29][192] = 65583448;
dp[29][193] = 508391947;
dp[29][194] = 709539829;
dp[29][195] = 955465325;
dp[29][196] = 214525022;
dp[29][197] = 394005813;
dp[29][198] = 531700924;
dp[29][199] = 773028650;
dp[29][200] = 417539579;
dp[29][201] = 326670161;
dp[29][202] = 406612199;
dp[29][203] = 165245;
dp[29][204] = 699092510;
dp[29][205] = 550837077;
dp[29][206] = 14964582;
dp[29][207] = 527720684;
dp[29][208] = 440459594;
dp[29][209] = 268905155;
dp[29][210] = 297293091;
dp[29][211] = 881879628;
dp[30][1] = 1;
dp[30][2] = 29;
dp[30][3] = 462;
dp[30][4] = 5274;
dp[30][5] = 47935;
dp[30][6] = 366779;
dp[30][7] = 2445008;
dp[30][8] = 14530396;
dp[30][9] = 78259797;
dp[30][10] = 386723841;
dp[30][11] = 770080067;
dp[30][12] = 561338901;
dp[30][13] = 331351593;
dp[30][14] = 839635833;
dp[30][15] = 167817400;
dp[30][16] = 497149119;
dp[30][17] = 881282118;
dp[30][18] = 352201610;
dp[30][19] = 471630724;
dp[30][20] = 181160121;
dp[30][21] = 88806794;
dp[30][22] = 987377178;
dp[30][23] = 289689361;
dp[30][24] = 946592969;
dp[30][25] = 656979867;
dp[30][26] = 594487341;
dp[30][27] = 196240769;
dp[30][28] = 948508749;
dp[30][29] = 810784209;
dp[30][30] = 709855728;
dp[30][31] = 576276359;
dp[30][32] = 518417791;
dp[30][33] = 87667236;
dp[30][34] = 667014934;
dp[30][35] = 181628700;
dp[30][36] = 79050911;
dp[30][37] = 337053925;
dp[30][38] = 373883684;
dp[30][39] = 560120551;
dp[30][40] = 458872893;
dp[30][41] = 815731972;
dp[30][42] = 827954345;
dp[30][43] = 771964062;
dp[30][44] = 380463298;
dp[30][45] = 190074568;
dp[30][46] = 335845313;
dp[30][47] = 308369049;
dp[30][48] = 297128477;
dp[30][49] = 730684746;
dp[30][50] = 742600059;
dp[30][51] = 263592454;
dp[30][52] = 96421517;
dp[30][53] = 206168581;
dp[30][54] = 306386280;
dp[30][55] = 238588046;
dp[30][56] = 136275025;
dp[30][57] = 509837233;
dp[30][58] = 285349782;
dp[30][59] = 467079296;
dp[30][60] = 44733505;
dp[30][61] = 132275281;
dp[30][62] = 829959933;
dp[30][63] = 391862643;
dp[30][64] = 62600608;
dp[30][65] = 253168338;
dp[30][66] = 426879146;
dp[30][67] = 365435454;
dp[30][68] = 91732486;
dp[30][69] = 471304236;
dp[30][70] = 543190875;
dp[30][71] = 798110387;
dp[30][72] = 894371900;
dp[30][73] = 696428631;
dp[30][74] = 750022470;
dp[30][75] = 726550236;
dp[30][76] = 936549828;
dp[30][77] = 542410178;
dp[30][78] = 939184541;
dp[30][79] = 791578453;
dp[30][80] = 983635297;
dp[30][81] = 823881369;
dp[30][82] = 150676558;
dp[30][83] = 585328209;
dp[30][84] = 653882077;
dp[30][85] = 963087655;
dp[30][86] = 950795211;
dp[30][87] = 936066317;
dp[30][88] = 71868369;
dp[30][89] = 440124326;
dp[30][90] = 965151462;
dp[30][91] = 175368387;
dp[30][92] = 40663323;
dp[30][93] = 699428294;
dp[30][94] = 108367130;
dp[30][95] = 332044307;
dp[30][96] = 970432796;
dp[30][97] = 572024201;
dp[30][98] = 885659377;
dp[30][99] = 539317691;
dp[30][100] = 132218646;
dp[30][101] = 139253073;
dp[30][102] = 467726930;
dp[30][103] = 45351751;
dp[30][104] = 297376822;
dp[30][105] = 508633325;
dp[30][106] = 703469419;
dp[30][107] = 746467332;
dp[30][108] = 503668629;
dp[30][109] = 112630766;
dp[30][110] = 930570931;
dp[30][111] = 962347630;
dp[30][112] = 576196343;
dp[30][113] = 698904389;
dp[30][114] = 167199167;
dp[30][115] = 333129737;
dp[30][116] = 608922442;
dp[30][117] = 222067115;
dp[30][118] = 688206452;
dp[30][119] = 802821275;
dp[30][120] = 954540394;
dp[30][121] = 911151138;
dp[30][122] = 906746447;
dp[30][123] = 902608727;
dp[30][124] = 890863920;
dp[30][125] = 307268385;
dp[30][126] = 54404696;
dp[30][127] = 104370759;
dp[30][128] = 495676754;
dp[30][129] = 441341576;
dp[30][130] = 829087999;
dp[30][131] = 88911607;
dp[30][132] = 975336543;
dp[30][133] = 381836343;
dp[30][134] = 298727399;
dp[30][135] = 758323163;
dp[30][136] = 709721214;
dp[30][137] = 146811076;
dp[30][138] = 322114121;
dp[30][139] = 909574264;
dp[30][140] = 955852236;
dp[30][141] = 803216000;
dp[30][142] = 511491931;
dp[30][143] = 157225317;
dp[30][144] = 671670053;
dp[30][145] = 367885171;
dp[30][146] = 612666342;
dp[30][147] = 842261160;
dp[30][148] = 508147005;
dp[30][149] = 345029386;
dp[30][150] = 809990068;
dp[30][151] = 981225972;
dp[30][152] = 241279545;
dp[30][153] = 458275632;
dp[30][154] = 172983843;
dp[30][155] = 48836190;
dp[30][156] = 961296645;
dp[30][157] = 538132589;
dp[30][158] = 271432367;
dp[30][159] = 877708377;
dp[30][160] = 386417805;
dp[30][161] = 815731556;
dp[30][162] = 463571419;
dp[30][163] = 404450924;
dp[30][164] = 113136747;
dp[30][165] = 549319603;
dp[30][166] = 219464194;
dp[30][167] = 220054123;
dp[30][168] = 907114544;
dp[30][169] = 328856175;
dp[30][170] = 265047793;
dp[30][171] = 589592614;
dp[30][172] = 328159953;
dp[30][173] = 809008569;
dp[30][174] = 510434161;
dp[30][175] = 420313068;
dp[30][176] = 107873733;
dp[30][177] = 868895119;
dp[30][178] = 895337042;
dp[30][179] = 156863206;
dp[30][180] = 48004547;
dp[30][181] = 666506430;
dp[30][182] = 727609186;
dp[30][183] = 85858741;
dp[30][184] = 59205240;
dp[30][185] = 78940637;
dp[30][186] = 545962715;
dp[30][187] = 139572749;
dp[30][188] = 421355881;
dp[30][189] = 858507471;
dp[30][190] = 952603331;
dp[30][191] = 401020118;
dp[30][192] = 942925111;
dp[30][193] = 296295597;
dp[30][194] = 997986384;
dp[30][195] = 115737481;
dp[30][196] = 677010850;
dp[30][197] = 282276283;
dp[30][198] = 274892540;
dp[30][199] = 163700485;
dp[30][200] = 118592549;
dp[30][201] = 846472792;
dp[30][202] = 136765224;
dp[30][203] = 236032397;
dp[30][204] = 179431589;
dp[30][205] = 539549211;
dp[30][206] = 214067143;
dp[30][207] = 923131121;
dp[30][208] = 999465547;
dp[30][209] = 232088789;
dp[30][210] = 610013691;
dp[30][211] = 896204760;
dp[30][212] = 478686995;
dp[30][213] = 218989077;
dp[30][214] = 91096939;
dp[30][215] = 221616643;
dp[30][216] = 243944261;
dp[30][217] = 454787573;
dp[30][218] = 542927414;
dp[30][219] = 355318220;
dp[30][220] = 147354818;
dp[30][221] = 482630;
dp[30][222] = 675619041;
dp[30][223] = 634351197;
dp[30][224] = 478341164;
dp[30][225] = 574509037;
dp[30][226] = 738721209;
dp[31][1] = 1;
dp[31][2] = 30;
dp[31][3] = 493;
dp[31][4] = 5796;
dp[31][5] = 54193;
dp[31][6] = 426242;
dp[31][7] = 2919073;
dp[31][8] = 17814512;
dp[31][9] = 98499977;
dp[31][10] = 499582398;
dp[31][11] = 346636279;
dp[31][12] = 286311246;
dp[31][13] = 338970899;
dp[31][14] = 482987014;
dp[31][15] = 740494022;
dp[31][16] = 522312682;
dp[31][17] = 389124982;
dp[31][18] = 438269373;
dp[31][19] = 295660905;
dp[31][20] = 384589942;
dp[31][21] = 269003911;
dp[31][22] = 190728878;
dp[31][23] = 21841107;
dp[31][24] = 394443500;
dp[31][25] = 159301748;
dp[31][26] = 885681179;
dp[31][27] = 869073529;
dp[31][28] = 396029106;
dp[31][29] = 969827087;
dp[31][30] = 16747334;
dp[31][31] = 474716791;
dp[31][32] = 259235367;
dp[31][33] = 753984455;
dp[31][34] = 365768194;
dp[31][35] = 423375006;
dp[31][36] = 957390875;
dp[31][37] = 407261764;
dp[31][38] = 592999097;
dp[31][39] = 928039310;
dp[31][40] = 529328158;
dp[31][41] = 133251022;
dp[31][42] = 533719572;
dp[31][43] = 434981329;
dp[31][44] = 779487889;
dp[31][45] = 212784950;
dp[31][46] = 467080112;
dp[31][47] = 287628298;
dp[31][48] = 91658981;
dp[31][49] = 576061624;
dp[31][50] = 322787361;
dp[31][51] = 682746649;
dp[31][52] = 234833733;
dp[31][53] = 676878118;
dp[31][54] = 220869554;
dp[31][55] = 982232103;
dp[31][56] = 879428014;
dp[31][57] = 742840902;
dp[31][58] = 65876039;
dp[31][59] = 230084790;
dp[31][60] = 68776407;
dp[31][61] = 988541480;
dp[31][62] = 113769367;
dp[31][63] = 288661011;
dp[31][64] = 898604342;
dp[31][65] = 790158821;
dp[31][66] = 811679832;
dp[31][67] = 416532461;
dp[31][68] = 643426286;
dp[31][69] = 357304561;
dp[31][70] = 904850873;
dp[31][71] = 143689492;
dp[31][72] = 643378934;
dp[31][73] = 217587561;
dp[31][74] = 816799579;
dp[31][75] = 741653213;
dp[31][76] = 950522177;
dp[31][77] = 519192837;
dp[31][78] = 195766899;
dp[31][79] = 875531753;
dp[31][80] = 913462122;
dp[31][81] = 931740864;
dp[31][82] = 147485151;
dp[31][83] = 73473743;
dp[31][84] = 881407231;
dp[31][85] = 943949423;
dp[31][86] = 19375017;
dp[31][87] = 95185407;
dp[31][88] = 658198820;
dp[31][89] = 654223830;
dp[31][90] = 78841384;
dp[31][91] = 487272636;
dp[31][92] = 810454297;
dp[31][93] = 156111172;
dp[31][94] = 108214345;
dp[31][95] = 594083015;
dp[31][96] = 721613382;
dp[31][97] = 413639222;
dp[31][98] = 199581479;
dp[31][99] = 219296986;
dp[31][100] = 983776208;
dp[31][101] = 50034813;
dp[31][102] = 434669652;
dp[31][103] = 336761553;
dp[31][104] = 553659069;
dp[31][105] = 443256837;
dp[31][106] = 867959007;
dp[31][107] = 649693919;
dp[31][108] = 829394710;
dp[31][109] = 511124003;
dp[31][110] = 801382432;
dp[31][111] = 809258820;
dp[31][112] = 440312724;
dp[31][113] = 549557631;
dp[31][114] = 57091967;
dp[31][115] = 619973166;
dp[31][116] = 38255131;
dp[31][117] = 989252595;
dp[31][118] = 296849831;
dp[31][119] = 126449228;
dp[31][120] = 992478958;
dp[31][121] = 948085171;
dp[31][122] = 398912012;
dp[31][123] = 308493194;
dp[31][124] = 585304989;
dp[31][125] = 581850817;
dp[31][126] = 704472537;
dp[31][127] = 457658359;
dp[31][128] = 706849064;
dp[31][129] = 974235300;
dp[31][130] = 322942033;
dp[31][131] = 801441410;
dp[31][132] = 806760539;
dp[31][133] = 930211369;
dp[31][134] = 674605925;
dp[31][135] = 140615032;
dp[31][136] = 804334982;
dp[31][137] = 654022727;
dp[31][138] = 747554604;
dp[31][139] = 304695097;
dp[31][140] = 670935186;
dp[31][141] = 973200118;
dp[31][142] = 899755340;
dp[31][143] = 43016718;
dp[31][144] = 33443894;
dp[31][145] = 486649937;
dp[31][146] = 183173093;
dp[31][147] = 28680647;
dp[31][148] = 612676891;
dp[31][149] = 17478829;
dp[31][150] = 208078434;
dp[31][151] = 467131016;
dp[31][152] = 651933212;
dp[31][153] = 464433186;
dp[31][154] = 3993644;
dp[31][155] = 959280435;
dp[31][156] = 310671435;
dp[31][157] = 524438940;
dp[31][158] = 540166082;
dp[31][159] = 143663989;
dp[31][160] = 984026973;
dp[31][161] = 596317769;
dp[31][162] = 299039541;
dp[31][163] = 925611762;
dp[31][164] = 115137245;
dp[31][165] = 238184581;
dp[31][166] = 798462400;
dp[31][167] = 902062936;
dp[31][168] = 499673997;
dp[31][169] = 696053154;
dp[31][170] = 121959061;
dp[31][171] = 376644235;
dp[31][172] = 378356623;
dp[31][173] = 996412950;
dp[31][174] = 115590297;
dp[31][175] = 517087995;
dp[31][176] = 817795384;
dp[31][177] = 731733847;
dp[31][178] = 61225249;
dp[31][179] = 930096903;
dp[31][180] = 292653780;
dp[31][181] = 149516053;
dp[31][182] = 503527083;
dp[31][183] = 233497811;
dp[31][184] = 781589564;
dp[31][185] = 87992011;
dp[31][186] = 514696635;
dp[31][187] = 495015483;
dp[31][188] = 151617728;
dp[31][189] = 478098704;
dp[31][190] = 773499685;
dp[31][191] = 621536652;
dp[31][192] = 787266199;
dp[31][193] = 440325002;
dp[31][194] = 249898342;
dp[31][195] = 747360642;
dp[31][196] = 671517137;
dp[31][197] = 216648293;
dp[31][198] = 686506084;
dp[31][199] = 544204132;
dp[31][200] = 949750238;
dp[31][201] = 249236969;
dp[31][202] = 319054830;
dp[31][203] = 756596931;
dp[31][204] = 233403453;
dp[31][205] = 594672369;
dp[31][206] = 158463779;
dp[31][207] = 809106181;
dp[31][208] = 249481644;
dp[31][209] = 610711719;
dp[31][210] = 262167344;
dp[31][211] = 179138909;
dp[31][212] = 270160113;
dp[31][213] = 278492510;
dp[31][214] = 490828032;
dp[31][215] = 946977816;
dp[31][216] = 803242084;
dp[31][217] = 541036271;
dp[31][218] = 624688984;
dp[31][219] = 204404014;
dp[31][220] = 881539240;
dp[31][221] = 779609382;
dp[31][222] = 561095932;
dp[31][223] = 524976628;
dp[31][224] = 888316278;
dp[31][225] = 139701497;
dp[31][226] = 712146362;
dp[31][227] = 413036824;
dp[31][228] = 810411985;
dp[31][229] = 241441787;
dp[31][230] = 247390036;
dp[31][231] = 695355554;
dp[31][232] = 122993697;
dp[31][233] = 227371919;
dp[31][234] = 399947791;
dp[31][235] = 833892197;
dp[31][236] = 899399938;
dp[31][237] = 781528108;
dp[31][238] = 656359733;
dp[31][239] = 551706967;
dp[31][240] = 845829828;
dp[31][241] = 900357325;
dp[32][1] = 1;
dp[32][2] = 31;
dp[32][3] = 525;
dp[32][4] = 6351;
dp[32][5] = 61037;
dp[32][6] = 493071;
dp[32][7] = 3466221;
dp[32][8] = 21705119;
dp[32][9] = 123102861;
dp[32][10] = 640304911;
dp[32][11] = 83941000;
dp[32][12] = 859775332;
dp[32][13] = 485271727;
dp[32][14] = 929183599;
dp[32][15] = 393442380;
dp[32][16] = 976105677;
dp[32][17] = 287805815;
dp[32][18] = 238271867;
dp[32][19] = 74391877;
dp[32][20] = 765979021;
dp[32][21] = 335546599;
dp[32][22] = 709265303;
dp[32][23] = 808915958;
dp[32][24] = 907593582;
dp[32][25] = 463983041;
dp[32][26] = 147572225;
dp[32][27] = 888153362;
dp[32][28] = 391439968;
dp[32][29] = 221443415;
dp[32][30] = 801779213;
dp[32][31] = 245226914;
dp[32][32] = 866175931;
dp[32][33] = 810047153;
dp[32][34] = 267980729;
dp[32][35] = 805674759;
dp[32][36] = 955321032;
dp[32][37] = 906824500;
dp[32][38] = 367243333;
dp[32][39] = 486256638;
dp[32][40] = 145115859;
dp[32][41] = 530769671;
dp[32][42] = 290945081;
dp[32][43] = 932311137;
dp[32][44] = 51068986;
dp[32][45] = 807551107;
dp[32][46] = 185085629;
dp[32][47] = 261181005;
dp[32][48] = 959829857;
dp[32][49] = 118218336;
dp[32][50] = 295880881;
dp[32][51] = 506261294;
dp[32][52] = 848742193;
dp[32][53] = 936582961;
dp[32][54] = 153400705;
dp[32][55] = 578662225;
dp[32][56] = 341741810;
dp[32][57] = 161659811;
dp[32][58] = 816049772;
dp[32][59] = 839223846;
dp[32][60] = 559301757;
dp[32][61] = 400427189;
dp[32][62] = 216771109;
dp[32][63] = 207016492;
dp[32][64] = 505237766;
dp[32][65] = 795055758;
dp[32][66] = 945605740;
dp[32][67] = 555992642;
dp[32][68] = 907845643;
dp[32][69] = 982951177;
dp[32][70] = 401043526;
dp[32][71] = 597396374;
dp[32][72] = 84431994;
dp[32][73] = 362552441;
dp[32][74] = 746539639;
dp[32][75] = 303946121;
dp[32][76] = 357484364;
dp[32][77] = 893505269;
dp[32][78] = 526515449;
dp[32][79] = 560103044;
dp[32][80] = 121894895;
dp[32][81] = 445706213;
dp[32][82] = 592793631;
dp[32][83] = 713670463;
dp[32][84] = 810676671;
dp[32][85] = 143889731;
dp[32][86] = 392244416;
dp[32][87] = 73126772;
dp[32][88] = 488568958;
dp[32][89] = 542583029;
dp[32][90] = 752584772;
dp[32][91] = 7383345;
dp[32][92] = 155007498;
dp[32][93] = 994039957;
dp[32][94] = 804821801;
dp[32][95] = 379264833;
dp[32][96] = 525210782;
dp[32][97] = 239847467;
dp[32][98] = 126254398;
dp[32][99] = 219331239;
dp[32][100] = 753237922;
dp[32][101] = 434345445;
dp[32][102] = 635807399;
dp[32][103] = 872366121;
dp[32][104] = 133933893;
dp[32][105] = 590603804;
dp[32][106] = 32230684;
dp[32][107] = 70841222;
dp[32][108] = 840236255;
dp[32][109] = 909722819;
dp[32][110] = 689521789;
dp[32][111] = 529248821;
dp[32][112] = 178846494;
dp[32][113] = 980363222;
dp[32][114] = 548654005;
dp[32][115] = 434479841;
dp[32][116] = 697553680;
dp[32][117] = 35011089;
dp[32][118] = 544881135;
dp[32][119] = 260563063;
dp[32][120] = 695816358;
dp[32][121] = 44173506;
dp[32][122] = 726085055;
dp[32][123] = 671716390;
dp[32][124] = 781464159;
dp[32][125] = 450226987;
dp[32][126] = 146813053;
dp[32][127] = 877951734;
dp[32][128] = 991641337;
dp[32][129] = 221699230;
dp[32][130] = 419417817;
dp[32][131] = 794832550;
dp[32][132] = 810418558;
dp[32][133] = 969705412;
dp[32][134] = 219055178;
dp[32][135] = 274301546;
dp[32][136] = 503413612;
dp[32][137] = 695160244;
dp[32][138] = 74090275;
dp[32][139] = 26176299;
dp[32][140] = 695070748;
dp[32][141] = 341801549;
dp[32][142] = 897892431;
dp[32][143] = 470380437;
dp[32][144] = 3467372;
dp[32][145] = 448525308;
dp[32][146] = 439337134;
dp[32][147] = 724845391;
dp[32][148] = 9187155;
dp[32][149] = 585558376;
dp[32][150] = 372261444;
dp[32][151] = 277930003;
dp[32][152] = 34819054;
dp[32][153] = 431482585;
dp[32][154] = 279947765;
dp[32][155] = 492267585;
dp[32][156] = 818516372;
dp[32][157] = 484582901;
dp[32][158] = 390623889;
dp[32][159] = 856573701;
dp[32][160] = 179325546;
dp[32][161] = 611189228;
dp[32][162] = 688765384;
dp[32][163] = 847931848;
dp[32][164] = 534263758;
dp[32][165] = 557397045;
dp[32][166] = 116495491;
dp[32][167] = 85868985;
dp[32][168] = 610969731;
dp[32][169] = 478650084;
dp[32][170] = 585159686;
dp[32][171] = 14772190;
dp[32][172] = 776211983;
dp[32][173] = 474268574;
dp[32][174] = 460744792;
dp[32][175] = 134988124;
dp[32][176] = 912707317;
dp[32][177] = 105964987;
dp[32][178] = 809266690;
dp[32][179] = 785401545;
dp[32][180] = 161419686;
dp[32][181] = 653370610;
dp[32][182] = 499797235;
dp[32][183] = 534961655;
dp[32][184] = 323936668;
dp[32][185] = 802659551;
dp[32][186] = 370287438;
dp[32][187] = 326963010;
dp[32][188] = 342959476;
dp[32][189] = 313044094;
dp[32][190] = 148582386;
dp[32][191] = 976795271;
dp[32][192] = 120954501;
dp[32][193] = 724957759;
dp[32][194] = 860215558;
dp[32][195] = 270001726;
dp[32][196] = 640931921;
dp[32][197] = 833230238;
dp[32][198] = 701256342;
dp[32][199] = 242231076;
dp[32][200] = 286286219;
dp[32][201] = 13632467;
dp[32][202] = 253663042;
dp[32][203] = 129411109;
dp[32][204] = 603714672;
dp[32][205] = 564008356;
dp[32][206] = 523901279;
dp[32][207] = 216864213;
dp[32][208] = 524434304;
dp[32][209] = 182659511;
dp[32][210] = 983267072;
dp[32][211] = 644616701;
dp[32][212] = 707181007;
dp[32][213] = 618980658;
dp[32][214] = 405751838;
dp[32][215] = 571460922;
dp[32][216] = 136629759;
dp[32][217] = 744395053;
dp[32][218] = 539608518;
dp[32][219] = 963053644;
dp[32][220] = 97893406;
dp[32][221] = 866038338;
dp[32][222] = 265757870;
dp[32][223] = 944699732;
dp[32][224] = 964525924;
dp[32][225] = 892464175;
dp[32][226] = 168006507;
dp[32][227] = 562926324;
dp[32][228] = 742708490;
dp[32][229] = 132927348;
dp[32][230] = 526909479;
dp[32][231] = 79557205;
dp[32][232] = 129052432;
dp[32][233] = 157042523;
dp[32][234] = 659309142;
dp[32][235] = 834183171;
dp[32][236] = 802572815;
dp[32][237] = 517259737;
dp[32][238] = 256356803;
dp[32][239] = 353227137;
dp[32][240] = 87135975;
dp[32][241] = 224995979;
dp[32][242] = 596580540;
dp[32][243] = 402931204;
dp[32][244] = 515099940;
dp[32][245] = 793833445;
dp[32][246] = 691900231;
dp[32][247] = 589149123;
dp[32][248] = 114327507;
dp[32][249] = 887760880;
dp[32][250] = 389703467;
dp[32][251] = 830251700;
dp[32][252] = 783657579;
dp[32][253] = 433484966;
dp[32][254] = 412892473;
dp[32][255] = 432995349;
dp[32][256] = 911076886;
dp[32][257] = 112628181;
dp[33][1] = 1;
dp[33][2] = 32;
dp[33][3] = 558;
dp[33][4] = 6940;
dp[33][5] = 68502;
dp[33][6] = 567920;
dp[33][7] = 4095058;
dp[33][8] = 26291268;
dp[33][9] = 152836946;
dp[33][10] = 814626856;
dp[33][11] = 19929138;
dp[33][12] = 508014078;
dp[33][13] = 3627542;
dp[33][14] = 383619686;
dp[33][15] = 178749032;
dp[33][16] = 257695016;
dp[33][17] = 714018516;
dp[33][18] = 472708243;
dp[33][19] = 782289684;
dp[33][20] = 785010736;
dp[33][21] = 673452130;
dp[33][22] = 967313791;
dp[33][23] = 416615851;
dp[33][24] = 594708501;
dp[33][25] = 823838568;
dp[33][26] = 374885539;
dp[33][27] = 520875465;
dp[33][28] = 462873691;
dp[33][29] = 866641568;
dp[33][30] = 110422771;
dp[33][31] = 371334024;
dp[33][32] = 597629306;
dp[33][33] = 954905318;
dp[33][34] = 192386746;
dp[33][35] = 711820060;
dp[33][36] = 202869372;
dp[33][37] = 886359460;
dp[33][38] = 670157944;
dp[33][39] = 884126969;
dp[33][40] = 502946720;
dp[33][41] = 582271977;
dp[33][42] = 402610790;
dp[33][43] = 343533084;
dp[33][44] = 511648372;
dp[33][45] = 517557636;
dp[33][46] = 170605372;
dp[33][47] = 597697292;
dp[33][48] = 829559995;
dp[33][49] = 983984749;
dp[33][50] = 601678152;
dp[33][51] = 265076525;
dp[33][52] = 200313780;
dp[33][53] = 586898347;
dp[33][54] = 936910249;
dp[33][55] = 473920775;
dp[33][56] = 97417050;
dp[33][57] = 844866738;
dp[33][58] = 973357211;
dp[33][59] = 106398807;
dp[33][60] = 531568235;
dp[33][61] = 220592830;
dp[33][62] = 72245680;
dp[33][63] = 709223174;
dp[33][64] = 966562898;
dp[33][65] = 364453034;
dp[33][66] = 204299565;
dp[33][67] = 516186616;
dp[33][68] = 388239153;
dp[33][69] = 70201813;
dp[33][70] = 72763421;
dp[33][71] = 794896998;
dp[33][72] = 14537122;
dp[33][73] = 759848271;
dp[33][74] = 370782607;
dp[33][75] = 723372604;
dp[33][76] = 610938893;
dp[33][77] = 161728308;
dp[33][78] = 212501210;
dp[33][79] = 376508968;
dp[33][80] = 271352258;
dp[33][81] = 323852567;
dp[33][82] = 552136716;
dp[33][83] = 801650724;
dp[33][84] = 615740271;
dp[33][85] = 208656790;
dp[33][86] = 224034222;
dp[33][87] = 747809272;
dp[33][88] = 617340476;
dp[33][89] = 153891047;
dp[33][90] = 285642015;
dp[33][91] = 901118362;
dp[33][92] = 123777425;
dp[33][93] = 16228193;
dp[33][94] = 623027527;
dp[33][95] = 937436377;
dp[33][96] = 60747289;
dp[33][97] = 714381298;
dp[33][98] = 882770713;
dp[33][99] = 15381170;
dp[33][100] = 999192137;
dp[33][101] = 197256049;
dp[33][102] = 480638655;
dp[33][103] = 953137460;
dp[33][104] = 883599778;
dp[33][105] = 148656904;
dp[33][106] = 722191509;
dp[33][107] = 39402136;
dp[33][108] = 582147050;
dp[33][109] = 757441169;
dp[33][110] = 260428827;
dp[33][111] = 253172482;
dp[33][112] = 508174417;
dp[33][113] = 834955862;
dp[33][114] = 157349819;
dp[33][115] = 261175551;
dp[33][116] = 247577251;
dp[33][117] = 264652493;
dp[33][118] = 595186522;
dp[33][119] = 812752039;
dp[33][120] = 875384578;
dp[33][121] = 747313263;
dp[33][122] = 224431706;
dp[33][123] = 462673707;
dp[33][124] = 39074204;
dp[33][125] = 237357876;
dp[33][126] = 896371707;
dp[33][127] = 361524710;
dp[33][128] = 10299862;
dp[33][129] = 761952483;
dp[33][130] = 924315000;
dp[33][131] = 304463541;
dp[33][132] = 831385606;
dp[33][133] = 228637562;
dp[33][134] = 845205390;
dp[33][135] = 599099308;
dp[33][136] = 177524018;
dp[33][137] = 209006125;
dp[33][138] = 256908838;
dp[33][139] = 355221513;
dp[33][140] = 792061054;
dp[33][141] = 713446694;
dp[33][142] = 397486564;
dp[33][143] = 756107839;
dp[33][144] = 527866716;
dp[33][145] = 337624854;
dp[33][146] = 575430320;
dp[33][147] = 456754471;
dp[33][148] = 959728018;
dp[33][149] = 921786900;
dp[33][150] = 102983773;
dp[33][151] = 936936381;
dp[33][152] = 473475121;
dp[33][153] = 131588049;
dp[33][154] = 189268154;
dp[33][155] = 863126769;
dp[33][156] = 700571091;
dp[33][157] = 871530822;
dp[33][158] = 832046604;
dp[33][159] = 609629520;
dp[33][160] = 45186676;
dp[33][161] = 853387560;
dp[33][162] = 464311797;
dp[33][163] = 368430192;
dp[33][164] = 151536782;
dp[33][165] = 691919878;
dp[33][166] = 176735598;
dp[33][167] = 972465597;
dp[33][168] = 804610607;
dp[33][169] = 50289062;
dp[33][170] = 722819065;
dp[33][171] = 20410813;
dp[33][172] = 11987321;
dp[33][173] = 648373171;
dp[33][174] = 889715409;
dp[33][175] = 778512390;
dp[33][176] = 280809979;
dp[33][177] = 767453391;
dp[33][178] = 155472064;
dp[33][179] = 275305459;
dp[33][180] = 296611231;
dp[33][181] = 377220752;
dp[33][182] = 229158487;
dp[33][183] = 259857310;
dp[33][184] = 987705391;
dp[33][185] = 873889855;
dp[33][186] = 448418244;
dp[33][187] = 657467052;
dp[33][188] = 301028637;
dp[33][189] = 400332864;
dp[33][190] = 304525446;
dp[33][191] = 853531448;
dp[33][192] = 201469133;
dp[33][193] = 757430782;
dp[33][194] = 288842043;
dp[33][195] = 292821474;
dp[33][196] = 389580374;
dp[33][197] = 148645279;
dp[33][198] = 450672899;
dp[33][199] = 404696472;
dp[33][200] = 399758661;
dp[33][201] = 549392647;
dp[33][202] = 972607841;
dp[33][203] = 459482261;
dp[33][204] = 344863732;
dp[33][205] = 405989209;
dp[33][206] = 14412475;
dp[33][207] = 913865943;
dp[33][208] = 988039851;
dp[33][209] = 302203080;
dp[33][210] = 293916756;
dp[33][211] = 28383491;
dp[33][212] = 502818531;
dp[33][213] = 791480646;
dp[33][214] = 619991127;
dp[33][215] = 151573496;
dp[33][216] = 311251301;
dp[33][217] = 362738947;
dp[33][218] = 457688580;
dp[33][219] = 884177111;
dp[33][220] = 390413172;
dp[33][221] = 889218635;
dp[33][222] = 530910268;
dp[33][223] = 818241216;
dp[33][224] = 542232757;
dp[33][225] = 765042883;
dp[33][226] = 885001834;
dp[33][227] = 10229128;
dp[33][228] = 574524301;
dp[33][229] = 836418812;
dp[33][230] = 984923781;
dp[33][231] = 235783687;
dp[33][232] = 868003012;
dp[33][233] = 379478756;
dp[33][234] = 832878398;
dp[33][235] = 751487743;
dp[33][236] = 496700139;
dp[33][237] = 587857943;
dp[33][238] = 624473538;
dp[33][239] = 510088706;
dp[33][240] = 778144708;
dp[33][241] = 214176553;
dp[33][242] = 953029206;
dp[33][243] = 646822434;
dp[33][244] = 252787767;
dp[33][245] = 281229254;
dp[33][246] = 401166205;
dp[33][247] = 434753895;
dp[33][248] = 343430684;
dp[33][249] = 941989547;
dp[33][250] = 465870277;
dp[33][251] = 861407908;
dp[33][252] = 387687010;
dp[33][253] = 216509894;
dp[33][254] = 375279811;
dp[33][255] = 453878600;
dp[33][256] = 982073623;
dp[33][257] = 677731113;
dp[33][258] = 95924240;
dp[33][259] = 198468867;
dp[33][260] = 861679672;
dp[33][261] = 204003039;
dp[33][262] = 472066136;
dp[33][263] = 228890861;
dp[33][264] = 880462406;
dp[33][265] = 133638984;
dp[33][266] = 924365283;
dp[33][267] = 274136081;
dp[33][268] = 742318625;
dp[33][269] = 898640542;
dp[33][270] = 85174164;
dp[33][271] = 775817726;
dp[33][272] = 982947180;
dp[33][273] = 716729952;
dp[34][1] = 1;
dp[34][2] = 33;
dp[34][3] = 592;
dp[34][4] = 7564;
dp[34][5] = 76624;
dp[34][6] = 651480;
dp[34][7] = 4814916;
dp[34][8] = 31671996;
dp[34][9] = 188578368;
dp[34][10] = 29248753;
dp[34][11] = 200002145;
dp[34][12] = 508415428;
dp[34][13] = 442411092;
dp[34][14] = 823607844;
dp[34][15] = 339155380;
dp[34][16] = 84465338;
dp[34][17] = 814093820;
dp[34][18] = 347929398;
dp[34][19] = 722645092;
dp[34][20] = 146033429;
dp[34][21] = 312847170;
dp[34][22] = 460125097;
dp[34][23] = 915837300;
dp[34][24] = 530134554;
dp[34][25] = 683613860;
dp[34][26] = 22911398;
dp[34][27] = 950166343;
dp[34][28] = 297700883;
dp[34][29] = 874171812;
dp[34][30] = 779302544;
dp[34][31] = 705201416;
dp[34][32] = 91735442;
dp[34][33] = 764568060;
dp[34][34] = 448540109;
dp[34][35] = 794383951;
dp[34][36] = 50664826;
dp[34][37] = 501387621;
dp[34][38] = 764478731;
dp[34][39] = 392332791;
dp[34][40] = 697065547;
dp[34][41] = 136584719;
dp[34][42] = 904822171;
dp[34][43] = 811342153;
dp[34][44] = 498086442;
dp[34][45] = 66346910;
dp[34][46] = 903864157;
dp[34][47] = 648069920;
dp[34][48] = 294527566;
dp[34][49] = 68277872;
dp[34][50] = 192952288;
dp[34][51] = 465503414;
dp[34][52] = 89641650;
dp[34][53] = 342876181;
dp[34][54] = 975687654;
dp[34][55] = 849073744;
dp[34][56] = 732768838;
dp[34][57] = 299144725;
dp[34][58] = 960087859;
dp[34][59] = 432060633;
dp[34][60] = 521050995;
dp[34][61] = 669642411;
dp[34][62] = 783220798;
dp[34][63] = 964761936;
dp[34][64] = 888496451;
dp[34][65] = 578822675;
dp[34][66] = 774117896;
dp[34][67] = 595815330;
dp[34][68] = 556187991;
dp[34][69] = 328078421;
dp[34][70] = 497539038;
dp[34][71] = 461150544;
dp[34][72] = 593197759;
dp[34][73] = 454579240;
dp[34][74] = 228665398;
dp[34][75] = 675695769;
dp[34][76] = 189021504;
dp[34][77] = 506127036;
dp[34][78] = 683711210;
dp[34][79] = 767254008;
dp[34][80] = 372876392;
dp[34][81] = 950363733;
dp[34][82] = 781425867;
dp[34][83] = 518441353;
dp[34][84] = 618578159;
dp[34][85] = 210702480;
dp[34][86] = 146366158;
dp[34][87] = 211092828;
dp[34][88] = 25645664;
dp[34][89] = 252569415;
dp[34][90] = 768287264;
dp[34][91] = 315751220;
dp[34][92] = 46304131;
dp[34][93] = 875313001;
dp[34][94] = 63062094;
dp[34][95] = 41563387;
dp[34][96] = 521548621;
dp[34][97] = 882111752;
dp[34][98] = 325592507;
dp[34][99] = 674715724;
dp[34][100] = 754661696;
dp[34][101] = 386558110;
dp[34][102] = 154963091;
dp[34][103] = 238088464;
dp[34][104] = 48050421;
dp[34][105] = 639662963;
dp[34][106] = 70331570;
dp[34][107] = 315682289;
dp[34][108] = 290604457;
dp[34][109] = 553625701;
dp[34][110] = 114470501;
dp[34][111] = 286499320;
dp[34][112] = 302628334;
dp[34][113] = 934963054;
dp[34][114] = 90280656;
dp[34][115] = 946037777;
dp[34][116] = 701374947;
dp[34][117] = 21339121;
dp[34][118] = 663053978;
dp[34][119] = 944685826;
dp[34][120] = 452543047;
dp[34][121] = 117230904;
dp[34][122] = 560747251;
dp[34][123] = 199227363;
dp[34][124] = 16627409;
dp[34][125] = 318622953;
dp[34][126] = 147892287;
dp[34][127] = 924956445;
dp[34][128] = 813803967;
dp[34][129] = 785002825;
dp[34][130] = 524657750;
dp[34][131] = 94619872;
dp[34][132] = 228326183;
dp[34][133] = 399365341;
dp[34][134] = 370689535;
dp[34][135] = 675442405;
dp[34][136] = 908504726;
dp[34][137] = 873312142;
dp[34][138] = 624281896;
dp[34][139] = 910865167;
dp[34][140] = 214431914;
dp[34][141] = 356568789;
dp[34][142] = 649815619;
dp[34][143] = 48684312;
dp[34][144] = 203060656;
dp[34][145] = 723151845;
dp[34][146] = 388405201;
dp[34][147] = 798060040;
dp[34][148] = 729614446;
dp[34][149] = 977682164;
dp[34][150] = 533436928;
dp[34][151] = 146813819;
dp[34][152] = 149571082;
dp[34][153] = 895803037;
dp[34][154] = 777214043;
dp[34][155] = 552248021;
dp[34][156] = 204656845;
dp[34][157] = 982800841;
dp[34][158] = 733286978;
dp[34][159] = 63964308;
dp[34][160] = 481147156;
dp[34][161] = 389291330;
dp[34][162] = 76639625;
dp[34][163] = 311176854;
dp[34][164] = 441157810;
dp[34][165] = 671041225;
dp[34][166] = 83215916;
dp[34][167] = 462900391;
dp[34][168] = 792922861;
dp[34][169] = 933493638;
dp[34][170] = 911064426;
dp[34][171] = 640299582;
dp[34][172] = 658369868;
dp[34][173] = 816565473;
dp[34][174] = 95242536;
dp[34][175] = 385493380;
dp[34][176] = 848295064;
dp[34][177] = 737403618;
dp[34][178] = 437312030;
dp[34][179] = 117969370;
dp[34][180] = 718173112;
dp[34][181] = 995019578;
dp[34][182] = 309321859;
dp[34][183] = 756181744;
dp[34][184] = 40101942;
dp[34][185] = 426476878;
dp[34][186] = 702396178;
dp[34][187] = 795715493;
dp[34][188] = 835764511;
dp[34][189] = 743326504;
dp[34][190] = 209546865;
dp[34][191] = 430615231;
dp[34][192] = 826070511;
dp[34][193] = 334341237;
dp[34][194] = 118979238;
dp[34][195] = 371120144;
dp[34][196] = 839568659;
dp[34][197] = 676120384;
dp[34][198] = 72519;
dp[34][199] = 845333099;
dp[34][200] = 357629799;
dp[34][201] = 910834209;
dp[34][202] = 593346831;
dp[34][203] = 104377605;
dp[34][204] = 380654497;
dp[34][205] = 634970517;
dp[34][206] = 115890735;
dp[34][207] = 793059350;
dp[34][208] = 887063630;
dp[34][209] = 651636452;
dp[34][210] = 507749972;
dp[34][211] = 783577804;
dp[34][212] = 143656503;
dp[34][213] = 242083869;
dp[34][214] = 911105370;
dp[34][215] = 970085702;
dp[34][216] = 524972130;
dp[34][217] = 465698950;
dp[34][218] = 325374351;
dp[34][219] = 536364599;
dp[34][220] = 196104291;
dp[34][221] = 139239152;
dp[34][222] = 633851401;
dp[34][223] = 256158579;
dp[34][224] = 919175466;
dp[34][225] = 894613648;
dp[34][226] = 315818683;
dp[34][227] = 5141779;
dp[34][228] = 876022828;
dp[34][229] = 934709255;
dp[34][230] = 681050535;
dp[34][231] = 191918360;
dp[34][232] = 662583345;
dp[34][233] = 207316521;
dp[34][234] = 848780031;
dp[34][235] = 272975543;
dp[34][236] = 702356884;
dp[34][237] = 769886013;
dp[34][238] = 961041057;
dp[34][239] = 6500208;
dp[34][240] = 70262300;
dp[34][241] = 494310602;
dp[34][242] = 739703998;
dp[34][243] = 384177576;
dp[34][244] = 343193798;
dp[34][245] = 693062586;
dp[34][246] = 969762392;
dp[34][247] = 66952659;
dp[34][248] = 685150241;
dp[34][249] = 630304511;
dp[34][250] = 413041585;
dp[34][251] = 515441116;
dp[34][252] = 191001103;
dp[34][253] = 912006289;
dp[34][254] = 473846745;
dp[34][255] = 605301455;
dp[34][256] = 795067847;
dp[34][257] = 856671001;
dp[34][258] = 508821454;
dp[34][259] = 735406667;
dp[34][260] = 258084054;
dp[34][261] = 117733205;
dp[34][262] = 780290039;
dp[34][263] = 23367661;
dp[34][264] = 593944851;
dp[34][265] = 692132515;
dp[34][266] = 4650353;
dp[34][267] = 187487602;
dp[34][268] = 151055135;
dp[34][269] = 898863554;
dp[34][270] = 673507355;
dp[34][271] = 215091232;
dp[34][272] = 603704193;
dp[34][273] = 594167428;
dp[34][274] = 682519378;
dp[34][275] = 496434131;
dp[34][276] = 965159536;
dp[34][277] = 430378180;
dp[34][278] = 248402836;
dp[34][279] = 470772870;
dp[34][280] = 307340881;
dp[34][281] = 347656961;
dp[34][282] = 749714755;
dp[34][283] = 122062081;
dp[34][284] = 558277910;
dp[34][285] = 169666679;
dp[34][286] = 941915597;
dp[34][287] = 277380477;
dp[34][288] = 270070849;
dp[34][289] = 652088255;
dp[34][290] = 549544085;
dp[35][1] = 1;
dp[35][2] = 34;
dp[35][3] = 627;
dp[35][4] = 8224;
dp[35][5] = 85440;
dp[35][6] = 744480;
dp[35][7] = 5635892;
dp[35][8] = 37957128;
dp[35][9] = 231322416;
dp[35][10] = 291965329;
dp[35][11] = 678229698;
dp[35][12] = 199102832;
dp[35][13] = 733159273;
dp[35][14] = 432255582;
dp[35][15] = 825398987;
dp[35][16] = 945721657;
dp[35][17] = 530531857;
dp[35][18] = 605903605;
dp[35][19] = 198451639;
dp[35][20] = 405128341;
dp[35][21] = 881104650;
dp[35][22] = 95712824;
dp[35][23] = 87475937;
dp[35][24] = 88052462;
dp[35][25] = 854657880;
dp[35][26] = 671362129;
dp[35][27] = 345256719;
dp[35][28] = 279913923;
dp[35][29] = 405600244;
dp[35][30] = 791623773;
dp[35][31] = 184158289;
dp[35][32] = 548244621;
dp[35][33] = 559931899;
dp[35][34] = 811302745;
dp[35][35] = 822463013;
dp[35][36] = 829884052;
dp[35][37] = 612803610;
dp[35][38] = 114370483;
dp[35][39] = 717655175;
dp[35][40] = 250670751;
dp[35][41] = 158660853;
dp[35][42] = 996989593;
dp[35][43] = 922821653;
dp[35][44] = 403693850;
dp[35][45] = 640224917;
dp[35][46] = 726696528;
dp[35][47] = 558324649;
dp[35][48] = 504260316;
dp[35][49] = 457498775;
dp[35][50] = 235424755;
dp[35][51] = 214797729;
dp[35][52] = 595578763;
dp[35][53] = 703649058;
dp[35][54] = 668639597;
dp[35][55] = 273743575;
dp[35][56] = 830864733;
dp[35][57] = 8621856;
dp[35][58] = 152359528;
dp[35][59] = 351252345;
dp[35][60] = 54682531;
dp[35][61] = 631863641;
dp[35][62] = 533130514;
dp[35][63] = 548187372;
dp[35][64] = 212107229;
dp[35][65] = 690348600;
dp[35][66] = 269650465;
dp[35][67] = 644636821;
dp[35][68] = 588449397;
dp[35][69] = 716956418;
dp[35][70] = 569059993;
dp[35][71] = 571818753;
dp[35][72] = 620732748;
dp[35][73] = 238441683;
dp[35][74] = 628780105;
dp[35][75] = 73251606;
dp[35][76] = 77232245;
dp[35][77] = 265685085;
dp[35][78] = 860541096;
dp[35][79] = 181038883;
dp[35][80] = 995121568;
dp[35][81] = 787161997;
dp[35][82] = 984175916;
dp[35][83] = 994855981;
dp[35][84] = 70309595;
dp[35][85] = 279951259;
dp[35][86] = 412871815;
dp[35][87] = 881913054;
dp[35][88] = 268261177;
dp[35][89] = 575207129;
dp[35][90] = 196951994;
dp[35][91] = 610045829;
dp[35][92] = 705950877;
dp[35][93] = 200402175;
dp[35][94] = 179100085;
dp[35][95] = 912730914;
dp[35][96] = 795237101;
dp[35][97] = 264189519;
dp[35][98] = 756871237;
dp[35][99] = 840795855;
dp[35][100] = 477498958;
dp[35][101] = 568161700;
dp[35][102] = 101820158;
dp[35][103] = 478938140;
dp[35][104] = 546807900;
dp[35][105] = 824972458;
dp[35][106] = 320572966;
dp[35][107] = 375535061;
dp[35][108] = 712736750;
dp[35][109] = 146215080;
dp[35][110] = 296045377;
dp[35][111] = 892271196;
dp[35][112] = 198915619;
dp[35][113] = 973312163;
dp[35][114] = 292266224;
dp[35][115] = 766955048;
dp[35][116] = 774760742;
dp[35][117] = 724672108;
dp[35][118] = 189810671;
dp[35][119] = 590576941;
dp[35][120] = 955913056;
dp[35][121] = 705860403;
dp[35][122] = 956268133;
dp[35][123] = 120026477;
dp[35][124] = 977289531;
dp[35][125] = 897970234;
dp[35][126] = 594373646;
dp[35][127] = 802624855;
dp[35][128] = 16139526;
dp[35][129] = 294245189;
dp[35][130] = 661099173;
dp[35][131] = 505327457;
dp[35][132] = 687552139;
dp[35][133] = 570417673;
dp[35][134] = 288750674;
dp[35][135] = 928298666;
dp[35][136] = 124243321;
dp[35][137] = 103493234;
dp[35][138] = 782666425;
dp[35][139] = 810561902;
dp[35][140] = 479140046;
dp[35][141] = 567654010;
dp[35][142] = 66398299;
dp[35][143] = 87173858;
dp[35][144] = 171094018;
dp[35][145] = 401077961;
dp[35][146] = 201022453;
dp[35][147] = 649177770;
dp[35][148] = 751032860;
dp[35][149] = 458665510;
dp[35][150] = 583069945;
dp[35][151] = 3741921;
dp[35][152] = 644139368;
dp[35][153] = 777863779;
dp[35][154] = 427938859;
dp[35][155] = 574083500;
dp[35][156] = 968708036;
dp[35][157] = 5259009;
dp[35][158] = 14753514;
dp[35][159] = 566158894;
dp[35][160] = 428971413;
dp[35][161] = 29779639;
dp[35][162] = 601893398;
dp[35][163] = 934948155;
dp[35][164] = 463945886;
dp[35][165] = 442386091;
dp[35][166] = 787098075;
dp[35][167] = 294593703;
dp[35][168] = 467511028;
dp[35][169] = 998601384;
dp[35][170] = 749411810;
dp[35][171] = 495421040;
dp[35][172] = 283658473;
dp[35][173] = 287441865;
dp[35][174] = 687819162;
dp[35][175] = 964614928;
dp[35][176] = 353638623;
dp[35][177] = 648210867;
dp[35][178] = 238886215;
dp[35][179] = 893364457;
dp[35][180] = 158958124;
dp[35][181] = 29345292;
dp[35][182] = 800368429;
dp[35][183] = 595552294;
dp[35][184] = 572640574;
dp[35][185] = 913495958;
dp[35][186] = 705720935;
dp[35][187] = 850127566;
dp[35][188] = 83220185;
dp[35][189] = 799386246;
dp[35][190] = 848828465;
dp[35][191] = 335228800;
dp[35][192] = 498492912;
dp[35][193] = 819731260;
dp[35][194] = 972790229;
dp[35][195] = 191002130;
dp[35][196] = 289923062;
dp[35][197] = 997108332;
dp[35][198] = 479589354;
dp[35][199] = 13686350;
dp[35][200] = 377632380;
dp[35][201] = 915241611;
dp[35][202] = 38445376;
dp[35][203] = 115515812;
dp[35][204] = 312111610;
dp[35][205] = 862313776;
dp[35][206] = 36444206;
dp[35][207] = 491509332;
dp[35][208] = 899038496;
dp[35][209] = 494299749;
dp[35][210] = 577210085;
dp[35][211] = 925017398;
dp[35][212] = 377889538;
dp[35][213] = 129014425;
dp[35][214] = 544007299;
dp[35][215] = 134491550;
dp[35][216] = 77644047;
dp[35][217] = 150186363;
dp[35][218] = 549177782;
dp[35][219] = 243194000;
dp[35][220] = 889811949;
dp[35][221] = 476414356;
dp[35][222] = 302027816;
dp[35][223] = 934223010;
dp[35][224] = 116351600;
dp[35][225] = 936035078;
dp[35][226] = 728736728;
dp[35][227] = 99057293;
dp[35][228] = 233685532;
dp[35][229] = 715949090;
dp[35][230] = 484999785;
dp[35][231] = 527817757;
dp[35][232] = 40017975;
dp[35][233] = 403976200;
dp[35][234] = 963752121;
dp[35][235] = 230480821;
dp[35][236] = 165554215;
dp[35][237] = 501580240;
dp[35][238] = 480519751;
dp[35][239] = 374582722;
dp[35][240] = 588438105;
dp[35][241] = 13652788;
dp[35][242] = 835399525;
dp[35][243] = 909982574;
dp[35][244] = 63720437;
dp[35][245] = 165170490;
dp[35][246] = 768431894;
dp[35][247] = 385829327;
dp[35][248] = 268804006;
dp[35][249] = 950180874;
dp[35][250] = 398363435;
dp[35][251] = 512876602;
dp[35][252] = 149304949;
dp[35][253] = 858796870;
dp[35][254] = 305796565;
dp[35][255] = 80654592;
dp[35][256] = 209088881;
dp[35][257] = 365995652;
dp[35][258] = 741417209;
dp[35][259] = 580938286;
dp[35][260] = 849913699;
dp[35][261] = 209592153;
dp[35][262] = 430983500;
dp[35][263] = 292682916;
dp[35][264] = 89781822;
dp[35][265] = 346251985;
dp[35][266] = 899920810;
dp[35][267] = 490814818;
dp[35][268] = 319818650;
dp[35][269] = 865676138;
dp[35][270] = 199552930;
dp[35][271] = 49606030;
dp[35][272] = 396988194;
dp[35][273] = 289382805;
dp[35][274] = 394082926;
dp[35][275] = 680976370;
dp[35][276] = 125444750;
dp[35][277] = 312554820;
dp[35][278] = 11884810;
dp[35][279] = 730982055;
dp[35][280] = 36906819;
dp[35][281] = 144996838;
dp[35][282] = 532313029;
dp[35][283] = 339360681;
dp[35][284] = 509568859;
dp[35][285] = 763509787;
dp[35][286] = 79118993;
dp[35][287] = 930179491;
dp[35][288] = 756170211;
dp[35][289] = 627420026;
dp[35][290] = 161269793;
dp[35][291] = 542072728;
dp[35][292] = 498021200;
dp[35][293] = 392693531;
dp[35][294] = 523036960;
dp[35][295] = 919765468;
dp[35][296] = 367278574;
dp[35][297] = 755839168;
dp[35][298] = 466305341;
dp[35][299] = 613534367;
dp[35][300] = 534169086;
dp[35][301] = 166110829;
dp[35][302] = 107021592;
dp[35][303] = 280650539;
dp[35][304] = 268761091;
dp[35][305] = 590645300;
dp[35][306] = 269909358;
dp[35][307] = 234042842;
dp[36][1] = 1;
dp[36][2] = 35;
dp[36][3] = 663;
dp[36][4] = 8921;
dp[36][5] = 94988;
dp[36][6] = 847688;
dp[36][7] = 6568888;
dp[36][8] = 45268120;
dp[36][9] = 282195928;
dp[36][10] = 611807809;
dp[36][11] = 518705216;
dp[36][12] = 990050297;
dp[36][13] = 271051698;
dp[36][14] = 122408000;
dp[36][15] = 405189613;
dp[36][16] = 94926808;
dp[36][17] = 864141322;
dp[36][18] = 53735275;
dp[36][19] = 24011733;
dp[36][20] = 736554738;
dp[36][21] = 929218491;
dp[36][22] = 904644261;
dp[36][23] = 780020466;
dp[36][24] = 504939462;
dp[36][25] = 734736582;
dp[36][26] = 905177688;
dp[36][27] = 612557341;
dp[36][28] = 964587741;
dp[36][29] = 714487014;
dp[36][30] = 841745335;
dp[36][31] = 939266470;
dp[36][32] = 221175663;
dp[36][33] = 553510265;
dp[36][34] = 427922711;
dp[36][35] = 816845808;
dp[36][36] = 551876447;
dp[36][37] = 104782423;
dp[36][38] = 432788437;
dp[36][39] = 75343637;
dp[36][40] = 98990584;
dp[36][41] = 780296494;
dp[36][42] = 401590023;
dp[36][43] = 184896774;
dp[36][44] = 39759619;
dp[36][45] = 46187357;
dp[36][46] = 134251301;
dp[36][47] = 342702573;
dp[36][48] = 517720;
dp[36][49] = 358976055;
dp[36][50] = 583636644;
dp[36][51] = 962541900;
dp[36][52] = 167548822;
dp[36][53] = 161325057;
dp[36][54] = 550357824;
dp[36][55] = 277594189;
dp[36][56] = 165080443;
dp[36][57] = 231182951;
dp[36][58] = 735855208;
dp[36][59] = 908711807;
dp[36][60] = 571176463;
dp[36][61] = 42569340;
dp[36][62] = 237272417;
dp[36][63] = 790920442;
dp[36][64] = 624258522;
dp[36][65] = 720842250;
dp[36][66] = 768667158;
dp[36][67] = 451444080;
dp[36][68] = 122083868;
dp[36][69] = 366641147;
dp[36][70] = 308868590;
dp[36][71] = 806102171;
dp[36][72] = 616667978;
dp[36][73] = 212552319;
dp[36][74] = 508058403;
dp[36][75] = 321794596;
dp[36][76] = 570313528;
dp[36][77] = 460066496;
dp[36][78] = 737582233;
dp[36][79] = 710064955;
dp[36][80] = 691296552;
dp[36][81] = 63281621;
dp[36][82] = 675218599;
dp[36][83] = 955697061;
dp[36][84] = 110510427;
dp[36][85] = 512018248;
dp[36][86] = 153536802;
dp[36][87] = 745040214;
dp[36][88] = 175960352;
dp[36][89] = 594730127;
dp[36][90] = 864516601;
dp[36][91] = 686994354;
dp[36][92] = 671193730;
dp[36][93] = 758082482;
dp[36][94] = 651219990;
dp[36][95] = 268055455;
dp[36][96] = 209604272;
dp[36][97] = 794711886;
dp[36][98] = 922988292;
dp[36][99] = 233697499;
dp[36][100] = 855180879;
dp[36][101] = 757331520;
dp[36][102] = 952855529;
dp[36][103] = 712373324;
dp[36][104] = 501054908;
dp[36][105] = 610479660;
dp[36][106] = 988305583;
dp[36][107] = 359797155;
dp[36][108] = 981016202;
dp[36][109] = 392046260;
dp[36][110] = 222705767;
dp[36][111] = 339379031;
dp[36][112] = 255395660;
dp[36][113] = 760704862;
dp[36][114] = 824907580;
dp[36][115] = 377018926;
dp[36][116] = 100950434;
dp[36][117] = 568292199;
dp[36][118] = 345612839;
dp[36][119] = 702169410;
dp[36][120] = 76425882;
dp[36][121] = 316244660;
dp[36][122] = 633878521;
dp[36][123] = 345805531;
dp[36][124] = 43908232;
dp[36][125] = 498746978;
dp[36][126] = 171201976;
dp[36][127] = 618174067;
dp[36][128] = 828038701;
dp[36][129] = 451921110;
dp[36][130] = 452033897;
dp[36][131] = 911744318;
dp[36][132] = 64098066;
dp[36][133] = 83924105;
dp[36][134] = 595571257;
dp[36][135] = 147937863;
dp[36][136] = 948006101;
dp[36][137] = 514496555;
dp[36][138] = 77289879;
dp[36][139] = 282007238;
dp[36][140] = 421799065;
dp[36][141] = 804334778;
dp[36][142] = 765393189;
dp[36][143] = 193008022;
dp[36][144] = 263503242;
dp[36][145] = 355816072;
dp[36][146] = 278012511;
dp[36][147] = 227861525;
dp[36][148] = 902054870;
dp[36][149] = 618486736;
dp[36][150] = 979710805;
dp[36][151] = 971590402;
dp[36][152] = 61042704;
dp[36][153] = 664850817;
dp[36][154] = 113175896;
dp[36][155] = 488535341;
dp[36][156] = 617582794;
dp[36][157] = 612947413;
dp[36][158] = 45804546;
dp[36][159] = 259073867;
dp[36][160] = 263038734;
dp[36][161] = 265569066;
dp[36][162] = 162645795;
dp[36][163] = 60875191;
dp[36][164] = 359494871;
dp[36][165] = 979749311;
dp[36][166] = 139358127;
dp[36][167] = 29529290;
dp[36][168] = 309151363;
dp[36][169] = 279422923;
dp[36][170] = 345089768;
dp[36][171] = 87598058;
dp[36][172] = 700337527;
dp[36][173] = 479652910;
dp[36][174] = 994907927;
dp[36][175] = 933976635;
dp[36][176] = 324751070;
dp[36][177] = 167729179;
dp[36][178] = 810904540;
dp[36][179] = 230096199;
dp[36][180] = 33195878;
dp[36][181] = 559883815;
dp[36][182] = 674302503;
dp[36][183] = 158162721;
dp[36][184] = 997344757;
dp[36][185] = 974400760;
dp[36][186] = 476723636;
dp[36][187] = 933671908;
dp[36][188] = 372458552;
dp[36][189] = 487353300;
dp[36][190] = 603836216;
dp[36][191] = 903251923;
dp[36][192] = 461631785;
dp[36][193] = 620155186;
dp[36][194] = 664707969;
dp[36][195] = 139328434;
dp[36][196] = 135802315;
dp[36][197] = 547850780;
dp[36][198] = 544085832;
dp[36][199] = 243757336;
dp[36][200] = 714792500;
dp[36][201] = 277247444;
dp[36][202] = 736724545;
dp[36][203] = 7257213;
dp[36][204] = 104433298;
dp[36][205] = 33077964;
dp[36][206] = 133546300;
dp[36][207] = 658470668;
dp[36][208] = 407613385;
dp[36][209] = 15549086;
dp[36][210] = 409602732;
dp[36][211] = 220607605;
dp[36][212] = 154437658;
dp[36][213] = 434924060;
dp[36][214] = 212726357;
dp[36][215] = 432662346;
dp[36][216] = 953726155;
dp[36][217] = 55947205;
dp[36][218] = 221865215;
dp[36][219] = 896738564;
dp[36][220] = 702917595;
dp[36][221] = 219549259;
dp[36][222] = 784888336;
dp[36][223] = 998968443;
dp[36][224] = 737927890;
dp[36][225] = 111474776;
dp[36][226] = 479544893;
dp[36][227] = 204531672;
dp[36][228] = 722344756;
dp[36][229] = 339644359;
dp[36][230] = 296335713;
dp[36][231] = 172390948;
dp[36][232] = 145219000;
dp[36][233] = 740849986;
dp[36][234] = 175518952;
dp[36][235] = 876047366;
dp[36][236] = 775536223;
dp[36][237] = 909308844;
dp[36][238] = 333180421;
dp[36][239] = 96764559;
dp[36][240] = 528034987;
dp[36][241] = 396799645;
dp[36][242] = 413114766;
dp[36][243] = 622993858;
dp[36][244] = 563074288;
dp[36][245] = 710510893;
dp[36][246] = 900874806;
dp[36][247] = 315196225;
dp[36][248] = 993816000;
dp[36][249] = 623166550;
dp[36][250] = 642968249;
dp[36][251] = 328645521;
dp[36][252] = 844280596;
dp[36][253] = 556521945;
dp[36][254] = 272458659;
dp[36][255] = 580772239;
dp[36][256] = 284457451;
dp[36][257] = 186994948;
dp[36][258] = 909094031;
dp[36][259] = 935768265;
dp[36][260] = 319893231;
dp[36][261] = 114481887;
dp[36][262] = 109302906;
dp[36][263] = 586737223;
dp[36][264] = 466388545;
dp[36][265] = 717893242;
dp[36][266] = 342269015;
dp[36][267] = 164207650;
dp[36][268] = 394855609;
dp[36][269] = 330099455;
dp[36][270] = 836592042;
dp[36][271] = 939058426;
dp[36][272] = 541984626;
dp[36][273] = 852636994;
dp[36][274] = 524042858;
dp[36][275] = 358495217;
dp[36][276] = 921118657;
dp[36][277] = 464191254;
dp[36][278] = 284341637;
dp[36][279] = 363378706;
dp[36][280] = 679058686;
dp[36][281] = 917272314;
dp[36][282] = 562488937;
dp[36][283] = 105215359;
dp[36][284] = 614330571;
dp[36][285] = 404183151;
dp[36][286] = 365378837;
dp[36][287] = 280141835;
dp[36][288] = 594380252;
dp[36][289] = 79371576;
dp[36][290] = 739360814;
dp[36][291] = 210010442;
dp[36][292] = 10232401;
dp[36][293] = 449147207;
dp[36][294] = 97531383;
dp[36][295] = 696215921;
dp[36][296] = 900156881;
dp[36][297] = 51327507;
dp[36][298] = 224992261;
dp[36][299] = 946786023;
dp[36][300] = 685932368;
dp[36][301] = 729503576;
dp[36][302] = 741723150;
dp[36][303] = 479111191;
dp[36][304] = 872812474;
dp[36][305] = 454570174;
dp[36][306] = 217639787;
dp[36][307] = 553029674;
dp[36][308] = 745481673;
dp[36][309] = 194164134;
dp[36][310] = 241094015;
dp[36][311] = 672191097;
dp[36][312] = 520725696;
dp[36][313] = 177728245;
dp[36][314] = 485102929;
dp[36][315] = 511421076;
dp[36][316] = 349030122;
dp[36][317] = 157631252;
dp[36][318] = 431267952;
dp[36][319] = 813510823;
dp[36][320] = 604978728;
dp[36][321] = 799539100;
dp[36][322] = 871169236;
dp[36][323] = 265066919;
dp[36][324] = 191499414;
dp[36][325] = 52282294;
dp[37][1] = 1;
dp[37][2] = 36;
dp[37][3] = 700;
dp[37][4] = 9656;
dp[37][5] = 105307;
dp[37][6] = 961912;
dp[37][7] = 7625652;
dp[37][8] = 53738944;
dp[37][9] = 342470612;
dp[37][10] = 999200441;
dp[37][11] = 797070294;
dp[37][12] = 375863958;
dp[37][13] = 9523173;
dp[37][14] = 166271514;
dp[37][15] = 481765400;
dp[37][16] = 879554808;
dp[37][17] = 535680694;
dp[37][18] = 467340394;
dp[37][19] = 413500052;
dp[37][20] = 692064693;
dp[37][21] = 580959888;
dp[37][22] = 369347871;
dp[37][23] = 169821810;
dp[37][24] = 621921924;
dp[37][25] = 137911737;
dp[37][26] = 940784828;
dp[37][27] = 741570244;
dp[37][28] = 905517670;
dp[37][29] = 551817302;
dp[37][30] = 657369119;
dp[37][31] = 721648393;
dp[37][32] = 536831850;
dp[37][33] = 500879720;
dp[37][34] = 726253305;
dp[37][35] = 296162041;
dp[37][36] = 891225164;
dp[37][37] = 880747817;
dp[37][38] = 182180719;
dp[37][39] = 544050763;
dp[37][40] = 654393489;
dp[37][41] = 357200480;
dp[37][42] = 356889637;
dp[37][43] = 635049309;
dp[37][44] = 374948412;
dp[37][45] = 486169649;
dp[37][46] = 407475615;
dp[37][47] = 51228607;
dp[37][48] = 535369936;
dp[37][49] = 325305756;
dp[37][50] = 74215114;
dp[37][51] = 944988254;
dp[37][52] = 919680639;
dp[37][53] = 647644667;
dp[37][54] = 526651696;
dp[37][55] = 763479161;
dp[37][56] = 278201627;
dp[37][57] = 103508412;
dp[37][58] = 387580497;
dp[37][59] = 561661113;
dp[37][60] = 38190290;
dp[37][61] = 310583115;
dp[37][62] = 569811056;
dp[37][63] = 351262691;
dp[37][64] = 985051203;
dp[37][65] = 403138813;
dp[37][66] = 643132429;
dp[37][67] = 289980808;
dp[37][68] = 570569544;
dp[37][69] = 550559442;
dp[37][70] = 934893929;
dp[37][71] = 352045239;
dp[37][72] = 810200946;
dp[37][73] = 61218795;
dp[37][74] = 42358563;
dp[37][75] = 89293505;
dp[37][76] = 506603831;
dp[37][77] = 400595820;
dp[37][78] = 117891860;
dp[37][79] = 469015294;
dp[37][80] = 166372283;
dp[37][81] = 320554017;
dp[37][82] = 155147268;
dp[37][83] = 955469333;
dp[37][84] = 896730515;
dp[37][85] = 826039051;
dp[37][86] = 931193995;
dp[37][87] = 36098122;
dp[37][88] = 893366407;
dp[37][89] = 522834450;
dp[37][90] = 917130400;
dp[37][91] = 759016216;
dp[37][92] = 23584371;
dp[37][93] = 48884561;
dp[37][94] = 844352920;
dp[37][95] = 604253909;
dp[37][96] = 886656394;
dp[37][97] = 548946691;
dp[37][98] = 688504947;
dp[37][99] = 972899398;
dp[37][100] = 721435398;
dp[37][101] = 409845929;
dp[37][102] = 399680456;
dp[37][103] = 284950632;
dp[37][104] = 796741351;
dp[37][105] = 217452678;
dp[37][106] = 611033399;
dp[37][107] = 592790059;
dp[37][108] = 219084711;
dp[37][109] = 504058472;
dp[37][110] = 277505825;
dp[37][111] = 120276345;
dp[37][112] = 694287126;
dp[37][113] = 35416589;
dp[37][114] = 305976723;
dp[37][115] = 447309020;
dp[37][116] = 969824889;
dp[37][117] = 565684997;
dp[37][118] = 62139306;
dp[37][119] = 857693940;
dp[37][120] = 901163636;
dp[37][121] = 262850397;
dp[37][122] = 927594387;
dp[37][123] = 721909425;
dp[37][124] = 958991660;
dp[37][125] = 471789360;
dp[37][126] = 260033992;
dp[37][127] = 544270783;
dp[37][128] = 877013007;
dp[37][129] = 153311613;
dp[37][130] = 85679796;
dp[37][131] = 660447085;
dp[37][132] = 213261352;
dp[37][133] = 954007371;
dp[37][134] = 8266647;
dp[37][135] = 75417194;
dp[37][136] = 28241545;
dp[37][137] = 733410215;
dp[37][138] = 579803150;
dp[37][139] = 41901427;
dp[37][140] = 876245480;
dp[37][141] = 900022334;
dp[37][142] = 813145019;
dp[37][143] = 668096269;
dp[37][144] = 73987267;
dp[37][145] = 175135030;
dp[37][146] = 724217744;
dp[37][147] = 139403302;
dp[37][148] = 77167168;
dp[37][149] = 775504145;
dp[37][150] = 397863476;
dp[37][151] = 816272710;
dp[37][152] = 221129133;
dp[37][153] = 242347768;
dp[37][154] = 885383757;
dp[37][155] = 728565085;
dp[37][156] = 947647994;
dp[37][157] = 605379205;
dp[37][158] = 598139075;
dp[37][159] = 269419404;
dp[37][160] = 178994132;
dp[37][161] = 603450690;
dp[37][162] = 652850980;
dp[37][163] = 19254430;
dp[37][164] = 182635911;
dp[37][165] = 57268581;
dp[37][166] = 239936865;
dp[37][167] = 878358438;
dp[37][168] = 515315850;
dp[37][169] = 141611162;
dp[37][170] = 665647032;
dp[37][171] = 700517198;
dp[37][172] = 807335907;
dp[37][173] = 965806030;
dp[37][174] = 897617342;
dp[37][175] = 773532343;
dp[37][176] = 924389029;
dp[37][177] = 419741954;
dp[37][178] = 420757062;
dp[37][179] = 581633294;
dp[37][180] = 179995348;
dp[37][181] = 34733596;
dp[37][182] = 923518220;
dp[37][183] = 731757774;
dp[37][184] = 573741822;
dp[37][185] = 531242380;
dp[37][186] = 813544540;
dp[37][187] = 336821038;
dp[37][188] = 442738016;
dp[37][189] = 551572674;
dp[37][190] = 470067223;
dp[37][191] = 638102335;
dp[37][192] = 989538200;
dp[37][193] = 956007535;
dp[37][194] = 613954394;
dp[37][195] = 401563904;
dp[37][196] = 103519975;
dp[37][197] = 569290006;
dp[37][198] = 144046622;
dp[37][199] = 689996849;
dp[37][200] = 638589501;
dp[37][201] = 358099514;
dp[37][202] = 725282594;
dp[37][203] = 691632053;
dp[37][204] = 702244532;
dp[37][205] = 284031792;
dp[37][206] = 473014945;
dp[37][207] = 465414316;
dp[37][208] = 116886234;
dp[37][209] = 142777936;
dp[37][210] = 342518645;
dp[37][211] = 138051544;
dp[37][212] = 347505254;
dp[37][213] = 57716395;
dp[37][214] = 939744642;
dp[37][215] = 114873890;
dp[37][216] = 359397343;
dp[37][217] = 671360195;
dp[37][218] = 724489266;
dp[37][219] = 683013222;
dp[37][220] = 345781236;
dp[37][221] = 550104449;
dp[37][222] = 877003874;
dp[37][223] = 63443231;
dp[37][224] = 224660360;
dp[37][225] = 658626409;
dp[37][226] = 133687251;
dp[37][227] = 933261032;
dp[37][228] = 273131705;
dp[37][229] = 48202694;
dp[37][230] = 144323990;
dp[37][231] = 559827621;
dp[37][232] = 779609382;
dp[37][233] = 930553156;
dp[37][234] = 35267489;
dp[37][235] = 493151974;
dp[37][236] = 645090534;
dp[37][237] = 517431516;
dp[37][238] = 368634145;
dp[37][239] = 540405134;
dp[37][240] = 215255527;
dp[37][241] = 144656993;
dp[37][242] = 549192120;
dp[37][243] = 659960465;
dp[37][244] = 217236722;
dp[37][245] = 742258783;
dp[37][246] = 538378955;
dp[37][247] = 211409043;
dp[37][248] = 760044403;
dp[37][249] = 389330065;
dp[37][250] = 692548510;
dp[37][251] = 583181570;
dp[37][252] = 627949137;
dp[37][253] = 829194932;
dp[37][254] = 234693932;
dp[37][255] = 651493437;
dp[37][256] = 707321269;
dp[37][257] = 828284674;
dp[37][258] = 652751037;
dp[37][259] = 873736576;
dp[37][260] = 267300299;
dp[37][261] = 729754896;
dp[37][262] = 429920674;
dp[37][263] = 875733754;
dp[37][264] = 60888792;
dp[37][265] = 225478637;
dp[37][266] = 39002446;
dp[37][267] = 407176220;
dp[37][268] = 761384762;
dp[37][269] = 131879783;
dp[37][270] = 661443680;
dp[37][271] = 51638267;
dp[37][272] = 568172852;
dp[37][273] = 186052558;
dp[37][274] = 637968267;
dp[37][275] = 556455031;
dp[37][276] = 313451921;
dp[37][277] = 238551452;
dp[37][278] = 644714578;
dp[37][279] = 449541818;
dp[37][280] = 640800540;
dp[37][281] = 923965193;
dp[37][282] = 38909678;
dp[37][283] = 41940756;
dp[37][284] = 338485997;
dp[37][285] = 888949941;
dp[37][286] = 526610135;
dp[37][287] = 48150535;
dp[37][288] = 778944981;
dp[37][289] = 480892059;
dp[37][290] = 874500608;
dp[37][291] = 900322190;
dp[37][292] = 973783674;
dp[37][293] = 468787609;
dp[37][294] = 618167632;
dp[37][295] = 913754856;
dp[37][296] = 327797543;
dp[37][297] = 845404908;
dp[37][298] = 752246622;
dp[37][299] = 831422464;
dp[37][300] = 484541178;
dp[37][301] = 501948673;
dp[37][302] = 647306990;
dp[37][303] = 882577308;
dp[37][304] = 771072569;
dp[37][305] = 171273117;
dp[37][306] = 620085552;
dp[37][307] = 385025714;
dp[37][308] = 126556571;
dp[37][309] = 472404266;
dp[37][310] = 664907284;
dp[37][311] = 284895728;
dp[37][312] = 860747643;
dp[37][313] = 285481155;
dp[37][314] = 480968189;
dp[37][315] = 426457284;
dp[37][316] = 579997870;
dp[37][317] = 253315436;
dp[37][318] = 264967992;
dp[37][319] = 325506073;
dp[37][320] = 407074927;
dp[37][321] = 289125366;
dp[37][322] = 710111895;
dp[37][323] = 168902913;
dp[37][324] = 39893459;
dp[37][325] = 264014099;
dp[37][326] = 335462311;
dp[37][327] = 284068808;
dp[37][328] = 624620216;
dp[37][329] = 265346008;
dp[37][330] = 330183605;
dp[37][331] = 301153063;
dp[37][332] = 136165951;
dp[37][333] = 223572391;
dp[37][334] = 416076696;
dp[37][335] = 791322793;
dp[37][336] = 440956632;
dp[37][337] = 812128221;
dp[37][338] = 56870528;
dp[37][339] = 529001955;
dp[37][340] = 157225171;
dp[37][341] = 153110824;
dp[37][342] = 659760559;
dp[37][343] = 934444871;
dp[38][1] = 1;
dp[38][2] = 37;
dp[38][3] = 738;
dp[38][4] = 10430;
dp[38][5] = 116437;
dp[38][6] = 1088001;
dp[38][7] = 8818820;
dp[38][8] = 63517016;
dp[38][9] = 413577336;
dp[38][10] = 466132154;
dp[38][11] = 602224077;
dp[38][12] = 950429493;
dp[38][13] = 571044537;
dp[38][14] = 948550192;
dp[38][15] = 759622519;
dp[38][16] = 360792951;
dp[38][17] = 40404471;
dp[38][18] = 549575252;
dp[38][19] = 331339348;
dp[38][20] = 353289303;
dp[38][21] = 642561133;
dp[38][22] = 959520386;
dp[38][23] = 811439523;
dp[38][24] = 113998222;
dp[38][25] = 306747368;
dp[38][26] = 686402540;
dp[38][27] = 608623079;
dp[38][28] = 625536502;
dp[38][29] = 102898449;
dp[38][30] = 513583096;
dp[38][31] = 310389938;
dp[38][32] = 861964034;
dp[38][33] = 144673299;
dp[38][34] = 459932354;
dp[38][35] = 368865341;
dp[38][36] = 656127608;
dp[38][37] = 909171212;
dp[38][38] = 807159815;
dp[38][39] = 446679967;
dp[38][40] = 582385365;
dp[38][41] = 827063804;
dp[38][42] = 980667706;
dp[38][43] = 264330272;
dp[38][44] = 600794253;
dp[38][45] = 740948802;
dp[38][46] = 906942889;
dp[38][47] = 945728377;
dp[38][48] = 18846332;
dp[38][49] = 985664112;
dp[38][50] = 7701519;
dp[38][51] = 115050801;
dp[38][52] = 870345183;
dp[38][53] = 606442987;
dp[38][54] = 443069595;
dp[38][55] = 817056595;
dp[38][56] = 621418778;
dp[38][57] = 690512206;
dp[38][58] = 255049968;
dp[38][59] = 161633922;
dp[38][60] = 402904753;
dp[38][61] = 372549674;
dp[38][62] = 317848199;
dp[38][63] = 779510849;
dp[38][64] = 454579621;
dp[38][65] = 366999138;
dp[38][66] = 955388684;
dp[38][67] = 940196190;
dp[38][68] = 710141532;
dp[38][69] = 289889641;
dp[38][70] = 400266971;
dp[38][71] = 473006189;
dp[38][72] = 518001144;
dp[38][73] = 203532149;
dp[38][74] = 277752196;
dp[38][75] = 73653399;
dp[38][76] = 957077834;
dp[38][77] = 580796815;
dp[38][78] = 797359407;
dp[38][79] = 33679102;
dp[38][80] = 974181950;
dp[38][81] = 229170666;
dp[38][82] = 221016673;
dp[38][83] = 753153481;
dp[38][84] = 718492334;
dp[38][85] = 480056326;
dp[38][86] = 134801483;
dp[38][87] = 829292600;
dp[38][88] = 87160542;
dp[38][89] = 624566954;
dp[38][90] = 157188714;
dp[38][91] = 912350324;
dp[38][92] = 248797376;
dp[38][93] = 864861712;
dp[38][94] = 311625650;
dp[38][95] = 564724833;
dp[38][96] = 638897879;
dp[38][97] = 211767349;
dp[38][98] = 670618766;
dp[38][99] = 182357348;
dp[38][100] = 406247054;
dp[38][101] = 335828971;
dp[38][102] = 235855014;
dp[38][103] = 766599169;
dp[38][104] = 873180801;
dp[38][105] = 943988159;
dp[38][106] = 797515463;
dp[38][107] = 949064434;
dp[38][108] = 37355164;
dp[38][109] = 366387587;
dp[38][110] = 992037332;
dp[38][111] = 39085136;
dp[38][112] = 457008562;
dp[38][113] = 710738441;
dp[38][114] = 147115812;
dp[38][115] = 245127944;
dp[38][116] = 221285308;
dp[38][117] = 44913339;
dp[38][118] = 750687382;
dp[38][119] = 166494925;
dp[38][120] = 487773254;
dp[38][121] = 2533400;
dp[38][122] = 294773545;
dp[38][123] = 964749926;
dp[38][124] = 838352064;
dp[38][125] = 354747747;
dp[38][126] = 983055334;
dp[38][127] = 906311260;
dp[38][128] = 773970452;
dp[38][129] = 136280712;
dp[38][130] = 732037766;
dp[38][131] = 304757958;
dp[38][132] = 868694356;
dp[38][133] = 9717274;
dp[38][134] = 686595153;
dp[38][135] = 845171773;
dp[38][136] = 715645486;
dp[38][137] = 457517675;
dp[38][138] = 868876321;
dp[38][139] = 257821804;
dp[38][140] = 398717354;
dp[38][141] = 952878758;
dp[38][142] = 459394839;
dp[38][143] = 735151005;
dp[38][144] = 982831573;
dp[38][145] = 597714383;
dp[38][146] = 483469574;
dp[38][147] = 396276440;
dp[38][148] = 147004054;
dp[38][149] = 275175512;
dp[38][150] = 449695021;
dp[38][151] = 280047682;
dp[38][152] = 322443740;
dp[38][153] = 657859781;
dp[38][154] = 236891682;
dp[38][155] = 338855034;
dp[38][156] = 771308208;
dp[38][157] = 208042945;
dp[38][158] = 611383416;
dp[38][159] = 470020781;
dp[38][160] = 959351211;
dp[38][161] = 871193372;
dp[38][162] = 314812327;
dp[38][163] = 417008584;
dp[38][164] = 157794928;
dp[38][165] = 30304137;
dp[38][166] = 772193806;
dp[38][167] = 92880268;
dp[38][168] = 735754383;
dp[38][169] = 725090032;
dp[38][170] = 678769251;
dp[38][171] = 695572650;
dp[38][172] = 713627047;
dp[38][173] = 220917673;
dp[38][174] = 996272940;
dp[38][175] = 711499227;
dp[38][176] = 615337951;
dp[38][177] = 732510553;
dp[38][178] = 265860373;
dp[38][179] = 10346269;
dp[38][180] = 946167168;
dp[38][181] = 327969286;
dp[38][182] = 691646116;
dp[38][183] = 588894836;
dp[38][184] = 556718107;
dp[38][185] = 891256057;
dp[38][186] = 29035235;
dp[38][187] = 193826291;
dp[38][188] = 413628097;
dp[38][189] = 951441661;
dp[38][190] = 812044940;
dp[38][191] = 432676044;
dp[38][192] = 866499015;
dp[38][193] = 139084375;
dp[38][194] = 351784477;
dp[38][195] = 900166473;
dp[38][196] = 781089061;
dp[38][197] = 914118385;
dp[38][198] = 818686834;
dp[38][199] = 857340116;
dp[38][200] = 329139077;
dp[38][201] = 237478891;
dp[38][202] = 284468211;
dp[38][203] = 215304591;
dp[38][204] = 458481845;
dp[38][205] = 227432873;
dp[38][206] = 865995208;
dp[38][207] = 554027168;
dp[38][208] = 463893384;
dp[38][209] = 221077016;
dp[38][210] = 374577314;
dp[38][211] = 119759917;
dp[38][212] = 360383422;
dp[38][213] = 704486222;
dp[38][214] = 404678036;
dp[38][215] = 137104816;
dp[38][216] = 809074680;
dp[38][217] = 755219457;
dp[38][218] = 826569646;
dp[38][219] = 867839827;
dp[38][220] = 768754773;
dp[38][221] = 89100960;
dp[38][222] = 257194726;
dp[38][223] = 724398193;
dp[38][224] = 973188469;
dp[38][225] = 858913715;
dp[38][226] = 18463743;
dp[38][227] = 680309520;
dp[38][228] = 450458743;
dp[38][229] = 140048366;
dp[38][230] = 764912130;
dp[38][231] = 371007014;
dp[38][232] = 456635116;
dp[38][233] = 735728421;
dp[38][234] = 778688084;
dp[38][235] = 152973997;
dp[38][236] = 434969799;
dp[38][237] = 574794869;
dp[38][238] = 212648988;
dp[38][239] = 728361716;
dp[38][240] = 542931287;
dp[38][241] = 302379989;
dp[38][242] = 751579729;
dp[38][243] = 92390154;
dp[38][244] = 220181191;
dp[38][245] = 407743441;
dp[38][246] = 315151252;
dp[38][247] = 520426045;
dp[38][248] = 407908622;
dp[38][249] = 679231575;
dp[38][250] = 395003916;
dp[38][251] = 794034847;
dp[38][252] = 347654216;
dp[38][253] = 68808817;
dp[38][254] = 829211530;
dp[38][255] = 81601558;
dp[38][256] = 162714123;
dp[38][257] = 30761100;
dp[38][258] = 394951130;
dp[38][259] = 268715057;
dp[38][260] = 283612447;
dp[38][261] = 241955302;
dp[38][262] = 623210420;
dp[38][263] = 275963878;
dp[38][264] = 159211117;
dp[38][265] = 252162685;
dp[38][266] = 595441437;
dp[38][267] = 529655660;
dp[38][268] = 437222092;
dp[38][269] = 841111836;
dp[38][270] = 179960886;
dp[38][271] = 135660761;
dp[38][272] = 917237477;
dp[38][273] = 768051317;
dp[38][274] = 444580903;
dp[38][275] = 506791801;
dp[38][276] = 487181239;
dp[38][277] = 875489229;
dp[38][278] = 680194597;
dp[38][279] = 205928376;
dp[38][280] = 680445786;
dp[38][281] = 683783933;
dp[38][282] = 969592088;
dp[38][283] = 132367844;
dp[38][284] = 396994570;
dp[38][285] = 832926454;
dp[38][286] = 630581401;
dp[38][287] = 505495558;
dp[38][288] = 385734337;
dp[38][289] = 641541057;
dp[38][290] = 95095471;
dp[38][291] = 989574773;
dp[38][292] = 911275608;
dp[38][293] = 518514268;
dp[38][294] = 282262989;
dp[38][295] = 419271827;
dp[38][296] = 469001628;
dp[38][297] = 420271862;
dp[38][298] = 947083037;
dp[38][299] = 407529572;
dp[38][300] = 59976989;
dp[38][301] = 434008630;
dp[38][302] = 863717239;
dp[38][303] = 945875935;
dp[38][304] = 75676474;
dp[38][305] = 215313835;
dp[38][306] = 250745830;
dp[38][307] = 87811894;
dp[38][308] = 264747800;
dp[38][309] = 37018493;
dp[38][310] = 98597371;
dp[38][311] = 710706515;
dp[38][312] = 142785594;
dp[38][313] = 391940962;
dp[38][314] = 336466122;
dp[38][315] = 341268838;
dp[38][316] = 21508490;
dp[38][317] = 413865364;
dp[38][318] = 232101532;
dp[38][319] = 92701632;
dp[38][320] = 8053527;
dp[38][321] = 412757119;
dp[38][322] = 757312194;
dp[38][323] = 403681966;
dp[38][324] = 949009531;
dp[38][325] = 880975038;
dp[38][326] = 37050684;
dp[38][327] = 272465075;
dp[38][328] = 678404684;
dp[38][329] = 193438246;
dp[38][330] = 672480427;
dp[38][331] = 700064004;
dp[38][332] = 142628578;
dp[38][333] = 802581416;
dp[38][334] = 279140871;
dp[38][335] = 973655892;
dp[38][336] = 800905741;
dp[38][337] = 598005728;
dp[38][338] = 935768930;
dp[38][339] = 668573394;
dp[38][340] = 207197197;
dp[38][341] = 649003003;
dp[38][342] = 270174246;
dp[38][343] = 76144766;
dp[38][344] = 315632510;
dp[38][345] = 875459369;
dp[38][346] = 359185050;
dp[38][347] = 528086919;
dp[38][348] = 473525359;
dp[38][349] = 758981160;
dp[38][350] = 249109513;
dp[38][351] = 189948776;
dp[38][352] = 344668617;
dp[38][353] = 795917722;
dp[38][354] = 549344159;
dp[38][355] = 348920520;
dp[38][356] = 486734532;
dp[38][357] = 302843834;
dp[38][358] = 285724416;
dp[38][359] = 810790165;
dp[38][360] = 350603652;
dp[38][361] = 574459989;
dp[38][362] = 873908008;
dp[39][1] = 1;
dp[39][2] = 38;
dp[39][3] = 777;
dp[39][4] = 11244;
dp[39][5] = 128419;
dp[39][6] = 1226846;
dp[39][7] = 10161959;
dp[39][8] = 74764168;
dp[39][9] = 497121432;
dp[39][10] = 26344483;
dp[39][11] = 38234873;
dp[39][12] = 423642505;
dp[39][13] = 376339808;
dp[39][14] = 863392989;
dp[39][15] = 917340710;
dp[39][16] = 353019266;
dp[39][17] = 355701734;
dp[39][18] = 828153534;
dp[39][19] = 204362640;
dp[39][20] = 374924405;
dp[39][21] = 607928554;
dp[39][22] = 963790885;
dp[39][23] = 940721850;
dp[39][24] = 687219775;
dp[39][25] = 764705852;
dp[39][26] = 876861874;
dp[39][27] = 763291630;
dp[39][28] = 981930457;
dp[39][29] = 551085656;
dp[39][30] = 980270580;
dp[39][31] = 505906881;
dp[39][32] = 983294521;
dp[39][33] = 135354674;
dp[39][34] = 135665519;
dp[39][35] = 630173290;
dp[39][36] = 212355830;
dp[39][37] = 143623144;
dp[39][38] = 227056594;
dp[39][39] = 817242891;
dp[39][40] = 163435465;
dp[39][41] = 418550307;
dp[39][42] = 731605596;
dp[39][43] = 289566443;
dp[39][44] = 285968813;
dp[39][45] = 433396374;
dp[39][46] = 290335437;
dp[39][47] = 260134359;
dp[39][48] = 257166798;
dp[39][49] = 296375223;
dp[39][50] = 99595679;
dp[39][51] = 459082068;
dp[39][52] = 507135523;
dp[39][53] = 972388714;
dp[39][54] = 133158519;
dp[39][55] = 975205558;
dp[39][56] = 982374421;
dp[39][57] = 644050428;
dp[39][58] = 996778111;
dp[39][59] = 162109063;
dp[39][60] = 746906113;
dp[39][61] = 514292299;
dp[39][62] = 926426755;
dp[39][63] = 356009260;
dp[39][64] = 196659267;
dp[39][65] = 409916170;
dp[39][66] = 325494529;
dp[39][67] = 655002543;
dp[39][68] = 558511285;
dp[39][69] = 36446396;
dp[39][70] = 471095084;
dp[39][71] = 174722764;
dp[39][72] = 671116976;
dp[39][73] = 160891233;
dp[39][74] = 868903396;
dp[39][75] = 304037581;
dp[39][76] = 23612943;
dp[39][77] = 337881011;
dp[39][78] = 234387037;
dp[39][79] = 370561646;
dp[39][80] = 356075504;
dp[39][81] = 698718914;
dp[39][82] = 535181667;
dp[39][83] = 514726084;
dp[39][84] = 815242029;
dp[39][85] = 608023573;
dp[39][86] = 448544035;
dp[39][87] = 835833664;
dp[39][88] = 991058290;
dp[39][89] = 399256230;
dp[39][90] = 20531824;
dp[39][91] = 669361826;
dp[39][92] = 539724566;
dp[39][93] = 760387110;
dp[39][94] = 830813942;
dp[39][95] = 547045707;
dp[39][96] = 178050500;
dp[39][97] = 929198630;
dp[39][98] = 6813905;
dp[39][99] = 110412371;
dp[39][100] = 858816899;
dp[39][101] = 809729618;
dp[39][102] = 833864785;
dp[39][103] = 232951975;
dp[39][104] = 485491061;
dp[39][105] = 613385270;
dp[39][106] = 553071180;
dp[39][107] = 627954610;
dp[39][108] = 952757220;
dp[39][109] = 692906182;
dp[39][110] = 748961577;
dp[39][111] = 662247263;
dp[39][112] = 52513186;
dp[39][113] = 149763764;
dp[39][114] = 145530822;
dp[39][115] = 33882391;
dp[39][116] = 453364543;
dp[39][117] = 997405166;
dp[39][118] = 992558694;
dp[39][119] = 759602854;
dp[39][120] = 84367345;
dp[39][121] = 100239977;
dp[39][122] = 854081961;
dp[39][123] = 858205595;
dp[39][124] = 486024240;
dp[39][125] = 91555639;
dp[39][126] = 177882871;
dp[39][127] = 949083392;
dp[39][128] = 519037398;
dp[39][129] = 556513157;
dp[39][130] = 228484413;
dp[39][131] = 492836072;
dp[39][132] = 589348909;
dp[39][133] = 196163508;
dp[39][134] = 266626335;
dp[39][135] = 11245627;
dp[39][136] = 157404436;
dp[39][137] = 270481031;
dp[39][138] = 638406640;
dp[39][139] = 490889097;
dp[39][140] = 527976504;
dp[39][141] = 370488458;
dp[39][142] = 823400678;
dp[39][143] = 322868722;
dp[39][144] = 206357234;
dp[39][145] = 647142926;
dp[39][146] = 768625346;
dp[39][147] = 265191551;
dp[39][148] = 148038615;
dp[39][149] = 363341916;
dp[39][150] = 267722164;
dp[39][151] = 893118504;
dp[39][152] = 738977503;
dp[39][153] = 565582757;
dp[39][154] = 762106365;
dp[39][155] = 849369394;
dp[39][156] = 766495732;
dp[39][157] = 13155357;
dp[39][158] = 515888816;
dp[39][159] = 523640060;
dp[39][160] = 647203814;
dp[39][161] = 437352666;
dp[39][162] = 546684558;
dp[39][163] = 961386555;
dp[39][164] = 7614498;
dp[39][165] = 893885274;
dp[39][166] = 936701598;
dp[39][167] = 428062192;
dp[39][168] = 113231261;
dp[39][169] = 402917050;
dp[39][170] = 409965843;
dp[39][171] = 165984892;
dp[39][172] = 799921270;
dp[39][173] = 659405770;
dp[39][174] = 509144023;
dp[39][175] = 774701607;
dp[39][176] = 842603658;
dp[39][177] = 487390464;
dp[39][178] = 251731862;
dp[39][179] = 581859608;
dp[39][180] = 922860080;
dp[39][181] = 258383681;
dp[39][182] = 201597752;
dp[39][183] = 292594441;
dp[39][184] = 460903867;
dp[39][185] = 638298912;
dp[39][186] = 848020590;
dp[39][187] = 765105850;
dp[39][188] = 965506327;
dp[39][189] = 844776867;
dp[39][190] = 575276415;
dp[39][191] = 85481014;
dp[39][192] = 653985938;
dp[39][193] = 197424999;
dp[39][194] = 197600210;
dp[39][195] = 989591463;
dp[39][196] = 112466859;
dp[39][197] = 918937916;
dp[39][198] = 878289962;
dp[39][199] = 30252094;
dp[39][200] = 561367106;
dp[39][201] = 701604983;
dp[39][202] = 794157139;
dp[39][203] = 205106586;
dp[39][204] = 358551581;
dp[39][205] = 218730442;
dp[39][206] = 820317821;
dp[39][207] = 718077344;
dp[39][208] = 742273426;
dp[39][209] = 343977802;
dp[39][210] = 723940137;
dp[39][211] = 91227055;
dp[39][212] = 889419899;
dp[39][213] = 835334285;
dp[39][214] = 445942872;
dp[39][215] = 874169472;
dp[39][216] = 806494972;
dp[39][217] = 841559090;
dp[39][218] = 34902341;
dp[39][219] = 936247116;
dp[39][220] = 742348345;
dp[39][221] = 932764662;
dp[39][222] = 776531786;
dp[39][223] = 136341990;
dp[39][224] = 609226011;
dp[39][225] = 962126351;
dp[39][226] = 692609037;
dp[39][227] = 492230872;
dp[39][228] = 512261831;
dp[39][229] = 61424189;
dp[39][230] = 202712100;
dp[39][231] = 557188069;
dp[39][232] = 23267751;
dp[39][233] = 10862209;
dp[39][234] = 780311892;
dp[39][235] = 698216821;
dp[39][236] = 610626474;
dp[39][237] = 445698906;
dp[39][238] = 548927052;
dp[39][239] = 791636623;
dp[39][240] = 278469086;
dp[39][241] = 802570473;
dp[39][242] = 843652647;
dp[39][243] = 214889050;
dp[39][244] = 950325814;
dp[39][245] = 545811188;
dp[39][246] = 732525066;
dp[39][247] = 799299048;
dp[39][248] = 547938769;
dp[39][249] = 119233118;
dp[39][250] = 836166054;
dp[39][251] = 515368215;
dp[39][252] = 821018309;
dp[39][253] = 703809789;
dp[39][254] = 385697728;
dp[39][255] = 474302192;
dp[39][256] = 326687407;
dp[39][257] = 701322950;
dp[39][258] = 753939342;
dp[39][259] = 860741461;
dp[39][260] = 608860184;
dp[39][261] = 481069405;
dp[39][262] = 497217661;
dp[39][263] = 107822505;
dp[39][264] = 538149776;
dp[39][265] = 65872865;
dp[39][266] = 267685484;
dp[39][267] = 630211463;
dp[39][268] = 833714775;
dp[39][269] = 127007356;
dp[39][270] = 988488267;
dp[39][271] = 704390393;
dp[39][272] = 326686679;
dp[39][273] = 330510067;
dp[39][274] = 968474337;
dp[39][275] = 860095258;
dp[39][276] = 865223840;
dp[39][277] = 3530159;
dp[39][278] = 602833824;
dp[39][279] = 943838253;
dp[39][280] = 510792598;
dp[39][281] = 862215682;
dp[39][282] = 804647558;
dp[39][283] = 57277705;
dp[39][284] = 379631476;
dp[39][285] = 611335785;
dp[39][286] = 827032941;
dp[39][287] = 500396827;
dp[39][288] = 166974973;
dp[39][289] = 950996383;
dp[39][290] = 97277257;
dp[39][291] = 336237474;
dp[39][292] = 527425945;
dp[39][293] = 836169765;
dp[39][294] = 13569792;
dp[39][295] = 45600126;
dp[39][296] = 103702022;
dp[39][297] = 589110361;
dp[39][298] = 158793934;
dp[39][299] = 917834123;
dp[39][300] = 750227633;
dp[39][301] = 450511448;
dp[39][302] = 228174293;
dp[39][303] = 380815071;
dp[39][304] = 984828008;
dp[39][305] = 35225572;
dp[39][306] = 19924799;
dp[39][307] = 316530723;
dp[39][308] = 169463852;
dp[39][309] = 11894443;
dp[39][310] = 83625994;
dp[39][311] = 27918722;
dp[39][312] = 725825514;
dp[39][313] = 510537357;
dp[39][314] = 901592447;
dp[39][315] = 560692763;
dp[39][316] = 386943274;
dp[39][317] = 409576331;
dp[39][318] = 409681305;
dp[39][319] = 19743037;
dp[39][320] = 901841314;
dp[39][321] = 504205848;
dp[39][322] = 287987501;
dp[39][323] = 95070522;
dp[39][324] = 999713439;
dp[39][325] = 52172335;
dp[39][326] = 458657276;
dp[39][327] = 716446234;
dp[39][328] = 960325619;
dp[39][329] = 967217606;
dp[39][330] = 29400294;
dp[39][331] = 323715881;
dp[39][332] = 571473809;
dp[39][333] = 542099425;
dp[39][334] = 838958945;
dp[39][335] = 826022366;
dp[39][336] = 215456133;
dp[39][337] = 111542899;
dp[39][338] = 27057122;
dp[39][339] = 264098733;
dp[39][340] = 414451664;
dp[39][341] = 367598279;
dp[39][342] = 660361161;
dp[39][343] = 317432327;
dp[39][344] = 788309656;
dp[39][345] = 482969647;
dp[39][346] = 453723335;
dp[39][347] = 307123116;
dp[39][348] = 46250346;
dp[39][349] = 156036134;
dp[39][350] = 550671015;
dp[39][351] = 501877998;
dp[39][352] = 918162544;
dp[39][353] = 672414507;
dp[39][354] = 744250791;
dp[39][355] = 519150731;
dp[39][356] = 449335541;
dp[39][357] = 717241257;
dp[39][358] = 798831268;
dp[39][359] = 772517138;
dp[39][360] = 286300330;
dp[39][361] = 910111510;
dp[39][362] = 66350225;
dp[39][363] = 850058429;
dp[39][364] = 996528049;
dp[39][365] = 454249733;
dp[39][366] = 463645138;
dp[39][367] = 33673728;
dp[39][368] = 195487971;
dp[39][369] = 700828817;
dp[39][370] = 25012182;
dp[39][371] = 447505308;
dp[39][372] = 968790402;
dp[39][373] = 312778627;
dp[39][374] = 684898658;
dp[39][375] = 698549052;
dp[39][376] = 965513947;
dp[39][377] = 825161447;
dp[39][378] = 410399245;
dp[39][379] = 428579579;
dp[39][380] = 669192144;
dp[39][381] = 82412074;
dp[40][1] = 1;
dp[40][2] = 39;
dp[40][3] = 817;
dp[40][4] = 12099;
dp[40][5] = 141295;
dp[40][6] = 1379381;
dp[40][7] = 11669611;
dp[40][8] = 87657665;
dp[40][9] = 594899060;
dp[40][10] = 695536795;
dp[40][11] = 226472285;
dp[40][12] = 640458905;
dp[40][13] = 794561570;
dp[40][14] = 378189352;
dp[40][15] = 472728269;
dp[40][16] = 218438573;
dp[40][17] = 56516519;
dp[40][18] = 255055733;
dp[40][19] = 845027144;
dp[40][20] = 588332091;
dp[40][21] = 652544873;
dp[40][22] = 575593478;
dp[40][23] = 251899261;
dp[40][24] = 421780632;
dp[40][25] = 446749115;
dp[40][26] = 397384403;
dp[40][27] = 967249876;
dp[40][28] = 562965804;
dp[40][29] = 307548860;
dp[40][30] = 910064219;
dp[40][31] = 267557957;
dp[40][32] = 532097834;
dp[40][33] = 694036707;
dp[40][34] = 378870548;
dp[40][35] = 124206593;
dp[40][36] = 109699395;
dp[40][37] = 5415029;
dp[40][38] = 722948552;
dp[40][39] = 875697847;
dp[40][40] = 694452268;
dp[40][41] = 7553293;
dp[40][42] = 132421363;
dp[40][43] = 106964105;
dp[40][44] = 391245927;
dp[40][45] = 870340375;
dp[40][46] = 243365738;
dp[40][47] = 69805673;
dp[40][48] = 199865008;
dp[40][49] = 75486973;
dp[40][50] = 171179760;
dp[40][51] = 109991897;
dp[40][52] = 220793643;
dp[40][53] = 513746719;
dp[40][54] = 106419838;
dp[40][55] = 540171765;
dp[40][56] = 580499245;
dp[40][57] = 759007158;
dp[40][58] = 982900537;
dp[40][59] = 645687882;
dp[40][60] = 590392656;
dp[40][61] = 601803737;
dp[40][62] = 221575615;
dp[40][63] = 697448067;
dp[40][64] = 153409333;
dp[40][65] = 368742411;
dp[40][66] = 593478736;
dp[40][67] = 779784392;
dp[40][68] = 983542304;
dp[40][69] = 533669091;
dp[40][70] = 167997680;
dp[40][71] = 729893362;
dp[40][72] = 841704349;
dp[40][73] = 760614624;
dp[40][74] = 47743042;
dp[40][75] = 998724205;
dp[40][76] = 972938209;
dp[40][77] = 77600320;
dp[40][78] = 536850090;
dp[40][79] = 695359058;
dp[40][80] = 769331095;
dp[40][81] = 966134679;
dp[40][82] = 528777379;
dp[40][83] = 695035445;
dp[40][84] = 387545073;
dp[40][85] = 911151592;
dp[40][86] = 242062595;
dp[40][87] = 521446824;
dp[40][88] = 889535341;
dp[40][89] = 920252167;
dp[40][90] = 112865832;
dp[40][91] = 806555197;
dp[40][92] = 118151259;
dp[40][93] = 625842139;
dp[40][94] = 701618487;
dp[40][95] = 790273468;
dp[40][96] = 694977537;
dp[40][97] = 572862214;
dp[40][98] = 473466414;
dp[40][99] = 246109368;
dp[40][100] = 48621359;
dp[40][101] = 353657541;
dp[40][102] = 554932622;
dp[40][103] = 499105369;
dp[40][104] = 867797665;
dp[40][105] = 487345603;
dp[40][106] = 842033962;
dp[40][107] = 519557065;
dp[40][108] = 245850790;
dp[40][109] = 335288378;
dp[40][110] = 782811146;
dp[40][111] = 892240358;
dp[40][112] = 338051309;
dp[40][113] = 826545456;
dp[40][114] = 41171254;
dp[40][115] = 334148733;
dp[40][116] = 152569170;
dp[40][117] = 144665017;
dp[40][118] = 941279118;
dp[40][119] = 897754414;
dp[40][120] = 89241104;
dp[40][121] = 416864510;
dp[40][122] = 41530804;
dp[40][123] = 299074740;
dp[40][124] = 73588196;
dp[40][125] = 959211062;
dp[40][126] = 109470038;
dp[40][127] = 500259918;
dp[40][128] = 366443802;
dp[40][129] = 403320596;
dp[40][130] = 183957534;
dp[40][131] = 992196343;
dp[40][132] = 652194487;
dp[40][133] = 652679636;
dp[40][134] = 980112362;
dp[40][135] = 896443763;
dp[40][136] = 694053263;
dp[40][137] = 85474084;
dp[40][138] = 793481845;
dp[40][139] = 36502549;
dp[40][140] = 113761902;
dp[40][141] = 13660255;
dp[40][142] = 295744749;
dp[40][143] = 768030597;
dp[40][144] = 559676644;
dp[40][145] = 267907464;
dp[40][146] = 329732897;
dp[40][147] = 34721556;
dp[40][148] = 481917917;
dp[40][149] = 470669881;
dp[40][150] = 496023609;
dp[40][151] = 35319413;
dp[40][152] = 426881953;
dp[40][153] = 436183525;
dp[40][154] = 539581676;
dp[40][155] = 797395436;
dp[40][156] = 949513087;
dp[40][157] = 636400441;
dp[40][158] = 684066319;
dp[40][159] = 283217124;
dp[40][160] = 456809507;
dp[40][161] = 742722246;
dp[40][162] = 708837224;
dp[40][163] = 1825110;
dp[40][164] = 845476655;
dp[40][165] = 721485134;
dp[40][166] = 509524702;
dp[40][167] = 571748192;
dp[40][168] = 313097600;
dp[40][169] = 164720049;
dp[40][170] = 83489702;
dp[40][171] = 463694600;
dp[40][172] = 122519767;
dp[40][173] = 438333196;
dp[40][174] = 350973050;
dp[40][175] = 742760174;
dp[40][176] = 292313656;
dp[40][177] = 699166885;
dp[40][178] = 733491013;
dp[40][179] = 480543050;
dp[40][180] = 245749577;
dp[40][181] = 741817620;
dp[40][182] = 207993307;
dp[40][183] = 244579067;
dp[40][184] = 622422144;
dp[40][185] = 604751887;
dp[40][186] = 899189402;
dp[40][187] = 151409381;
dp[40][188] = 217727618;
dp[40][189] = 880477312;
dp[40][190] = 214663719;
dp[40][191] = 394263729;
dp[40][192] = 196688383;
dp[40][193] = 548030201;
dp[40][194] = 726215545;
dp[40][195] = 464673145;
dp[40][196] = 261250632;
dp[40][197] = 625458514;
dp[40][198] = 838784252;
dp[40][199] = 982491280;
dp[40][200] = 700533618;
dp[40][201] = 585918514;
dp[40][202] = 160625577;
dp[40][203] = 639912412;
dp[40][204] = 329107337;
dp[40][205] = 639996475;
dp[40][206] = 820595096;
dp[40][207] = 822718095;
dp[40][208] = 278815123;
dp[40][209] = 496262265;
dp[40][210] = 918547360;
dp[40][211] = 8027724;
dp[40][212] = 726754416;
dp[40][213] = 823448457;
dp[40][214] = 260321413;
dp[40][215] = 863184482;
dp[40][216] = 650858805;
dp[40][217] = 276099402;
dp[40][218] = 685460415;
dp[40][219] = 954079520;
dp[40][220] = 733965175;
dp[40][221] = 676833996;
dp[40][222] = 368637623;
dp[40][223] = 143549481;
dp[40][224] = 304621819;
dp[40][225] = 472579474;
dp[40][226] = 749596748;
dp[40][227] = 116386311;
dp[40][228] = 410243381;
dp[40][229] = 633945382;
dp[40][230] = 411647917;
dp[40][231] = 177570608;
dp[40][232] = 616578162;
dp[40][233] = 767744928;
dp[40][234] = 61290651;
dp[40][235] = 523112125;
dp[40][236] = 276619822;
dp[40][237] = 15151789;
dp[40][238] = 253528389;
dp[40][239] = 167816966;
dp[40][240] = 891846580;
dp[40][241] = 541892511;
dp[40][242] = 341041750;
dp[40][243] = 391023167;
dp[40][244] = 293092921;
dp[40][245] = 243156326;
dp[40][246] = 622723871;
dp[40][247] = 473135257;
dp[40][248] = 726189187;
dp[40][249] = 379573236;
dp[40][250] = 555335821;
dp[40][251] = 257038714;
dp[40][252] = 482079083;
dp[40][253] = 723871307;
dp[40][254] = 606515981;
dp[40][255] = 65251208;
dp[40][256] = 632383753;
dp[40][257] = 147352575;
dp[40][258] = 594192641;
dp[40][259] = 924833549;
dp[40][260] = 483314326;
dp[40][261] = 808069004;
dp[40][262] = 770319259;
dp[40][263] = 427864560;
dp[40][264] = 25642674;
dp[40][265] = 464671587;
dp[40][266] = 569308215;
dp[40][267] = 637300329;
dp[40][268] = 923466624;
dp[40][269] = 23057035;
dp[40][270] = 86870702;
dp[40][271] = 983746124;
dp[40][272] = 846059215;
dp[40][273] = 574808201;
dp[40][274] = 554549209;
dp[40][275] = 446310553;
dp[40][276] = 959681948;
dp[40][277] = 778636627;
dp[40][278] = 211592095;
dp[40][279] = 516682914;
dp[40][280] = 291911580;
dp[40][281] = 587928798;
dp[40][282] = 427680003;
dp[40][283] = 894209596;
dp[40][284] = 866648165;
dp[40][285] = 679666232;
dp[40][286] = 460484096;
dp[40][287] = 854394115;
dp[40][288] = 982195268;
dp[40][289] = 822495481;
dp[40][290] = 835383529;
dp[40][291] = 431162040;
dp[40][292] = 830468499;
dp[40][293] = 195346596;
dp[40][294] = 57036658;
dp[40][295] = 866149457;
dp[40][296] = 860543178;
dp[40][297] = 818146210;
dp[40][298] = 279107618;
dp[40][299] = 892401239;
dp[40][300] = 225036974;
dp[40][301] = 868558986;
dp[40][302] = 685134666;
dp[40][303] = 744469605;
dp[40][304] = 156127522;
dp[40][305] = 187537334;
dp[40][306] = 788919638;
dp[40][307] = 909025900;
dp[40][308] = 672187019;
dp[40][309] = 217419201;
dp[40][310] = 384265406;
dp[40][311] = 616374282;
dp[40][312] = 378322214;
dp[40][313] = 141913342;
dp[40][314] = 501653295;
dp[40][315] = 461070473;
dp[40][316] = 25985020;
dp[40][317] = 589549638;
dp[40][318] = 109433868;
dp[40][319] = 888240019;
dp[40][320] = 931367280;
dp[40][321] = 762349235;
dp[40][322] = 234613827;
dp[40][323] = 765084315;
dp[40][324] = 611038359;
dp[40][325] = 758764450;
dp[40][326] = 286873014;
dp[40][327] = 382512476;
dp[40][328] = 382119459;
dp[40][329] = 20294058;
dp[40][330] = 943700532;
dp[40][331] = 211933192;
dp[40][332] = 58390954;
dp[40][333] = 180966724;
dp[40][334] = 929698288;
dp[40][335] = 805610393;
dp[40][336] = 509211182;
dp[40][337] = 866583662;
dp[40][338] = 775212548;
dp[40][339] = 88368846;
dp[40][340] = 726939816;
dp[40][341] = 185342247;
dp[40][342] = 229877142;
dp[40][343] = 705155204;
dp[40][344] = 200856219;
dp[40][345] = 36832958;
dp[40][346] = 610458570;
dp[40][347] = 660966337;
dp[40][348] = 749737121;
dp[40][349] = 592806565;
dp[40][350] = 894272325;
dp[40][351] = 480779946;
dp[40][352] = 649154472;
dp[40][353] = 88597955;
dp[40][354] = 74084666;
dp[40][355] = 744113332;
dp[40][356] = 528684751;
dp[40][357] = 282107891;
dp[40][358] = 100372245;
dp[40][359] = 756922141;
dp[40][360] = 58776739;
dp[40][361] = 981772435;
dp[40][362] = 924634098;
dp[40][363] = 951039927;
dp[40][364] = 397719622;
dp[40][365] = 577729727;
dp[40][366] = 762973087;
dp[40][367] = 736969640;
dp[40][368] = 674672356;
dp[40][369] = 297937804;
dp[40][370] = 986319572;
dp[40][371] = 149411109;
dp[40][372] = 496025335;
dp[40][373] = 118765897;
dp[40][374] = 173573997;
dp[40][375] = 13186371;
dp[40][376] = 696131467;
dp[40][377] = 139811703;
dp[40][378] = 497652080;
dp[40][379] = 238358226;
dp[40][380] = 252091863;
dp[40][381] = 126575962;
dp[40][382] = 416549513;
dp[40][383] = 112043953;
dp[40][384] = 769546766;
dp[40][385] = 210139961;
dp[40][386] = 218718185;
dp[40][387] = 975953506;
dp[40][388] = 930028805;
dp[40][389] = 845629302;
dp[40][390] = 57030776;
dp[40][391] = 852433935;
dp[40][392] = 836915594;
dp[40][393] = 400219298;
dp[40][394] = 622051773;
dp[40][395] = 829969111;
dp[40][396] = 114603161;
dp[40][397] = 10751254;
dp[40][398] = 909008878;
dp[40][399] = 579282117;
dp[40][400] = 214070865;
dp[40][401] = 563200757;
dp[41][1] = 1;
dp[41][2] = 40;
dp[41][3] = 858;
dp[41][4] = 12996;
dp[41][5] = 155108;
dp[41][6] = 1546584;
dp[41][7] = 13357338;
dp[41][8] = 102391268;
dp[41][9] = 708914679;
dp[41][10] = 491589996;
dp[41][11] = 307979410;
dp[41][12] = 602522471;
dp[41][13] = 317222127;
dp[41][14] = 290284759;
dp[41][15] = 54099411;
dp[41][16] = 989042041;
dp[41][17] = 349750818;
dp[41][18] = 106531062;
dp[41][19] = 706143382;
dp[41][20] = 63807262;
dp[41][21] = 819412921;
dp[41][22] = 144007031;
dp[41][23] = 937903432;
dp[41][24] = 671633208;
dp[41][25] = 144280187;
dp[41][26] = 535961584;
dp[41][27] = 391683158;
dp[41][28] = 665684992;
dp[41][29] = 173615217;
dp[41][30] = 173957993;
dp[41][31] = 353557533;
dp[41][32] = 689224661;
dp[41][33] = 70346145;
dp[41][34] = 249590014;
dp[41][35] = 418977958;
dp[41][36] = 826283746;
dp[41][37] = 394602103;
dp[41][38] = 916349862;
dp[41][39] = 513826761;
dp[41][40] = 491750575;
dp[41][41] = 183159109;
dp[41][42] = 757685121;
dp[41][43] = 418341803;
dp[41][44] = 274891227;
dp[41][45] = 642914114;
dp[41][46] = 790796259;
dp[41][47] = 588464975;
dp[41][48] = 740365449;
dp[41][49] = 551222753;
dp[41][50] = 10565934;
dp[41][51] = 35820801;
dp[41][52] = 515689568;
dp[41][53] = 211177017;
dp[41][54] = 828019707;
dp[41][55] = 68961130;
dp[41][56] = 155306993;
dp[41][57] = 295844962;
dp[41][58] = 698696703;
dp[41][59] = 264483577;
dp[41][60] = 967049520;
dp[41][61] = 615265667;
dp[41][62] = 559761896;
dp[41][63] = 719262960;
dp[41][64] = 509462378;
dp[41][65] = 575657367;
dp[41][66] = 591920899;
dp[41][67] = 676732702;
dp[41][68] = 723371825;
dp[41][69] = 327050158;
dp[41][70] = 311506131;
dp[41][71] = 94078284;
dp[41][72] = 608080285;
dp[41][73] = 992236405;
dp[41][74] = 137506625;
dp[41][75] = 399044419;
dp[41][76] = 458634324;
dp[41][77] = 553334522;
dp[41][78] = 801149022;
dp[41][79] = 685520978;
dp[41][80] = 446537546;
dp[41][81] = 993927587;
dp[41][82] = 293142441;
dp[41][83] = 349812890;
dp[41][84] = 364132070;
dp[41][85] = 129851348;
dp[41][86] = 857298051;
dp[41][87] = 877404263;
dp[41][88] = 877505804;
dp[41][89] = 63808796;
dp[41][90] = 43779853;
dp[41][91] = 597054006;
dp[41][92] = 757518688;
dp[41][93] = 847719064;
dp[41][94] = 814336009;
dp[41][95] = 295491019;
dp[41][96] = 566317327;
dp[41][97] = 427355879;
dp[41][98] = 99632937;
dp[41][99] = 271930495;
dp[41][100] = 211594531;
dp[41][101] = 907085661;
dp[41][102] = 370381473;
dp[41][103] = 40651392;
dp[41][104] = 893659649;
dp[41][105] = 363630034;
dp[41][106] = 486697292;
dp[41][107] = 957988008;
dp[41][108] = 762036357;
dp[41][109] = 927839193;
dp[41][110] = 855832860;
dp[41][111] = 336383816;
dp[41][112] = 307639758;
dp[41][113] = 266751066;
dp[41][114] = 682795763;
dp[41][115] = 757933830;
dp[41][116] = 702637096;
dp[41][117] = 416587519;
dp[41][118] = 241670221;
dp[41][119] = 803239702;
dp[41][120] = 991067388;
dp[41][121] = 753770489;
dp[41][122] = 69318095;
dp[41][123] = 379601638;
dp[41][124] = 829408102;
dp[41][125] = 918333643;
dp[41][126] = 833524181;
dp[41][127] = 647446668;
dp[41][128] = 999853061;
dp[41][129] = 600717076;
dp[41][130] = 736359930;
dp[41][131] = 166694847;
dp[41][132] = 912637361;
dp[41][133] = 883248816;
dp[41][134] = 334184966;
dp[41][135] = 360770954;
dp[41][136] = 907814459;
dp[41][137] = 571070899;
dp[41][138] = 760625736;
dp[41][139] = 543003305;
dp[41][140] = 12232839;
dp[41][141] = 27415041;
dp[41][142] = 235755079;
dp[41][143] = 155935992;
dp[41][144] = 895456358;
dp[41][145] = 299525687;
dp[41][146] = 387663753;
dp[41][147] = 430722193;
dp[41][148] = 845849975;
dp[41][149] = 389897647;
dp[41][150] = 157165043;
dp[41][151] = 232374231;
dp[41][152] = 709459451;
dp[41][153] = 819494807;
dp[41][154] = 873294798;
dp[41][155] = 982307907;
dp[41][156] = 723241456;
dp[41][157] = 529916420;
dp[41][158] = 190269000;
dp[41][159] = 832006535;
dp[41][160] = 157577121;
dp[41][161] = 119818595;
dp[41][162] = 751958343;
dp[41][163] = 818604698;
dp[41][164] = 923214476;
dp[41][165] = 455357809;
dp[41][166] = 664208514;
dp[41][167] = 204222119;
dp[41][168] = 358021985;
dp[41][169] = 507909159;
dp[41][170] = 532713722;
dp[41][171] = 447934290;
dp[41][172] = 550255949;
dp[41][173] = 9030523;
dp[41][174] = 204809569;
dp[41][175] = 704696131;
dp[41][176] = 798537153;
dp[41][177] = 779574805;
dp[41][178] = 146334295;
dp[41][179] = 422444856;
dp[41][180] = 763243391;
dp[41][181] = 968318292;
dp[41][182] = 409596303;
dp[41][183] = 730176788;
dp[41][184] = 661449533;
dp[41][185] = 145680243;
dp[41][186] = 291092743;
dp[41][187] = 406566554;
dp[41][188] = 840725280;
dp[41][189] = 859336604;
dp[41][190] = 385485264;
dp[41][191] = 540592314;
dp[41][192] = 491573347;
dp[41][193] = 430591599;
dp[41][194] = 799102625;
dp[41][195] = 349645352;
dp[41][196] = 953856191;
dp[41][197] = 685505744;
dp[41][198] = 968883032;
dp[41][199] = 548153198;
dp[41][200] = 991972402;
dp[41][201] = 298640488;
dp[41][202] = 335784052;
dp[41][203] = 560792641;
dp[41][204] = 200482497;
dp[41][205] = 534424478;
dp[41][206] = 835919822;
dp[41][207] = 256133832;
dp[41][208] = 789502694;
dp[41][209] = 815463653;
dp[41][210] = 367192054;
dp[41][211] = 711296060;
dp[41][212] = 505894941;
dp[41][213] = 749371649;
dp[41][214] = 586599852;
dp[41][215] = 478956964;
dp[41][216] = 771301542;
dp[41][217] = 936596369;
dp[41][218] = 641013477;
dp[41][219] = 895880622;
dp[41][220] = 275251735;
dp[41][221] = 709512313;
dp[41][222] = 675062513;
dp[41][223] = 900057226;
dp[41][224] = 864601515;
dp[41][225] = 604121575;
dp[41][226] = 213439255;
dp[41][227] = 718556713;
dp[41][228] = 352300658;
dp[41][229] = 293209273;
dp[41][230] = 62461535;
dp[41][231] = 212741657;
dp[41][232] = 925233457;
dp[41][233] = 601757735;
dp[41][234] = 357273411;
dp[41][235] = 900952265;
dp[41][236] = 337965737;
dp[41][237] = 654516053;
dp[41][238] = 138964736;
dp[41][239] = 683012438;
dp[41][240] = 388413281;
dp[41][241] = 151113816;
dp[41][242] = 328964247;
dp[41][243] = 191920444;
dp[41][244] = 84786019;
dp[41][245] = 179152386;
dp[41][246] = 346561188;
dp[41][247] = 643354711;
dp[41][248] = 718267295;
dp[41][249] = 169193229;
dp[41][250] = 252223726;
dp[41][251] = 887596939;
dp[41][252] = 657097686;
dp[41][253] = 142103925;
dp[41][254] = 40078284;
dp[41][255] = 150004901;
dp[41][256] = 459569297;
dp[41][257] = 459199105;
dp[41][258] = 789641065;
dp[41][259] = 6481222;
dp[41][260] = 858687076;
dp[41][261] = 375816137;
dp[41][262] = 147145108;
dp[41][263] = 520309635;
dp[41][264] = 748217920;
dp[41][265] = 667457550;
dp[41][266] = 716254093;
dp[41][267] = 186260954;
dp[41][268] = 725808394;
dp[41][269] = 626037945;
dp[41][270] = 743543562;
dp[41][271] = 764478177;
dp[41][272] = 601933842;
dp[41][273] = 797462265;
dp[41][274] = 777370200;
dp[41][275] = 654651513;
dp[41][276] = 156072819;
dp[41][277] = 707272486;
dp[41][278] = 178868661;
dp[41][279] = 27986290;
dp[41][280] = 925976600;
dp[41][281] = 457000898;
dp[41][282] = 540704905;
dp[41][283] = 843382395;
dp[41][284] = 769084631;
dp[41][285] = 760118502;
dp[41][286] = 476552208;
dp[41][287] = 749317409;
dp[41][288] = 710185045;
dp[41][289] = 964800796;
dp[41][290] = 516878606;
dp[41][291] = 266237510;
dp[41][292] = 913933501;
dp[41][293] = 813693982;
dp[41][294] = 336046538;
dp[41][295] = 762072594;
dp[41][296] = 997287607;
dp[41][297] = 756174558;
dp[41][298] = 615699332;
dp[41][299] = 325935068;
dp[41][300] = 478725181;
dp[41][301] = 294206110;
dp[41][302] = 71125626;
dp[41][303] = 862744505;
dp[41][304] = 369229533;
dp[41][305] = 687983312;
dp[41][306] = 908265361;
dp[41][307] = 496504119;
dp[41][308] = 960935105;
dp[41][309] = 69879109;
dp[41][310] = 315010091;
dp[41][311] = 778995602;
dp[41][312] = 757128123;
dp[41][313] = 249975621;
dp[41][314] = 699329744;
dp[41][315] = 984761141;
dp[41][316] = 255696873;
dp[41][317] = 966070938;
dp[41][318] = 214893935;
dp[41][319] = 551564463;
dp[41][320] = 316442626;
dp[41][321] = 532269369;
dp[41][322] = 314110968;
dp[41][323] = 128028415;
dp[41][324] = 969165598;
dp[41][325] = 561496103;
dp[41][326] = 817486578;
dp[41][327] = 282697706;
dp[41][328] = 480617072;
dp[41][329] = 509205119;
dp[41][330] = 834540584;
dp[41][331] = 277705122;
dp[41][332] = 660874354;
dp[41][333] = 778117470;
dp[41][334] = 366056531;
dp[41][335] = 831243822;
dp[41][336] = 903068403;
dp[41][337] = 672944646;
dp[41][338] = 441340373;
dp[41][339] = 340680954;
dp[41][340] = 617276976;
dp[41][341] = 849516577;
dp[41][342] = 560088434;
dp[41][343] = 230800586;
dp[41][344] = 10428026;
dp[41][345] = 372559113;
dp[41][346] = 922230949;
dp[41][347] = 889642650;
dp[41][348] = 244184042;
dp[41][349] = 533938488;
dp[41][350] = 841639506;
dp[41][351] = 817920213;
dp[41][352] = 336934324;
dp[41][353] = 44823033;
dp[41][354] = 565545678;
dp[41][355] = 701086145;
dp[41][356] = 241957483;
dp[41][357] = 114182239;
dp[41][358] = 850726147;
dp[41][359] = 526783422;
dp[41][360] = 115816117;
dp[41][361] = 835376982;
dp[41][362] = 659266467;
dp[41][363] = 815849396;
dp[41][364] = 168028335;
dp[41][365] = 255187925;
dp[41][366] = 748491938;
dp[41][367] = 622185783;
dp[41][368] = 663040863;
dp[41][369] = 743392515;
dp[41][370] = 163408177;
dp[41][371] = 383060357;
dp[41][372] = 31556416;
dp[41][373] = 794030948;
dp[41][374] = 934245344;
dp[41][375] = 258437764;
dp[41][376] = 379321408;
dp[41][377] = 40236316;
dp[41][378] = 660469577;
dp[41][379] = 655665845;
dp[41][380] = 690942361;
dp[41][381] = 375378322;
dp[41][382] = 568352979;
dp[41][383] = 602028119;
dp[41][384] = 317437606;
dp[41][385] = 657543398;
dp[41][386] = 100015852;
dp[41][387] = 252684947;
dp[41][388] = 481051042;
dp[41][389] = 964341166;
dp[41][390] = 522946308;
dp[41][391] = 280791483;
dp[41][392] = 467949044;
dp[41][393] = 475945690;
dp[41][394] = 972019230;
dp[41][395] = 462068105;
dp[41][396] = 580258224;
dp[41][397] = 819125286;
dp[41][398] = 65219413;
dp[41][399] = 675919204;
dp[41][400] = 938373431;
dp[41][401] = 246074242;
dp[41][402] = 416112669;
dp[41][403] = 990084376;
dp[41][404] = 992206586;
dp[41][405] = 174382581;
dp[41][406] = 694468435;
dp[41][407] = 670357482;
dp[41][408] = 52707698;
dp[41][409] = 430228891;
dp[41][410] = 194064984;
dp[41][411] = 374269653;
dp[41][412] = 873105421;
dp[41][413] = 89789806;
dp[41][414] = 360326019;
dp[41][415] = 422866288;
dp[41][416] = 247972613;
dp[41][417] = 990139142;
dp[41][418] = 766813630;
dp[41][419] = 25619403;
dp[41][420] = 929658745;
dp[41][421] = 91230876;
dp[42][1] = 1;
dp[42][2] = 41;
dp[42][3] = 900;
dp[42][4] = 13936;
dp[42][5] = 169902;
dp[42][6] = 1729478;
dp[42][7] = 15241768;
dp[42][8] = 119176344;
dp[42][9] = 841399673;
dp[42][10] = 434809990;
dp[42][11] = 446105964;
dp[42][12] = 492649140;
dp[42][13] = 758977149;
dp[42][14] = 206041682;
dp[42][15] = 323715565;
dp[42][16] = 660084286;
dp[42][17] = 595902939;
dp[42][18] = 912996958;
dp[42][19] = 734408694;
dp[42][20] = 639760787;
dp[42][21] = 253066665;
dp[42][22] = 208103163;
dp[42][23] = 518638879;
dp[42][24] = 141246298;
dp[42][25] = 316067064;
dp[42][26] = 932295902;
dp[42][27] = 638352197;
dp[42][28] = 835906694;
dp[42][29] = 518593201;
dp[42][30] = 772224592;
dp[42][31] = 710767801;
dp[42][32] = 155069328;
dp[42][33] = 87760296;
dp[42][34] = 888628863;
dp[42][35] = 85616127;
dp[42][36] = 159719113;
dp[42][37] = 852745152;
dp[42][38] = 116208329;
dp[42][39] = 603162784;
dp[42][40] = 598162586;
dp[42][41] = 214665773;
dp[42][42] = 928212607;
dp[42][43] = 364268988;
dp[42][44] = 422947444;
dp[42][45] = 91651894;
dp[42][46] = 294508512;
dp[42][47] = 306449339;
dp[42][48] = 29129368;
dp[42][49] = 721764444;
dp[42][50] = 23720919;
dp[42][51] = 155935808;
dp[42][52] = 134434641;
dp[42][53] = 906918132;
dp[42][54] = 581645037;
dp[42][55] = 673925534;
dp[42][56] = 656820458;
dp[42][57] = 712140580;
dp[42][58] = 940311261;
dp[42][59] = 639783029;
dp[42][60] = 193680127;
dp[42][61] = 625191701;
dp[42][62] = 485391283;
dp[42][63] = 454129733;
dp[42][64] = 912047676;
dp[42][65] = 531795443;
dp[42][66] = 151893083;
dp[42][67] = 16212124;
dp[42][68] = 506754047;
dp[42][69] = 491882623;
dp[42][70] = 143293012;
dp[42][71] = 25311790;
dp[42][72] = 265858487;
dp[42][73] = 730580376;
dp[42][74] = 281408346;
dp[42][75] = 313354998;
dp[42][76] = 904477185;
dp[42][77] = 246774679;
dp[42][78] = 76212745;
dp[42][79] = 790588368;
dp[42][80] = 952519623;
dp[42][81] = 156839403;
dp[42][82] = 194467618;
dp[42][83] = 872887052;
dp[42][84] = 91963369;
dp[42][85] = 534129628;
dp[42][86] = 238356180;
dp[42][87] = 632320800;
dp[42][88] = 58443419;
dp[42][89] = 722943306;
dp[42][90] = 618550091;
dp[42][91] = 33518175;
dp[42][92] = 519583410;
dp[42][93] = 960079192;
dp[42][94] = 538023159;
dp[42][95] = 305123951;
dp[42][96] = 486152058;
dp[42][97] = 294482726;
dp[42][98] = 518323725;
dp[42][99] = 455607677;
dp[42][100] = 182021187;
dp[42][101] = 748135143;
dp[42][102] = 512410493;
dp[42][103] = 35362801;
dp[42][104] = 719659644;
dp[42][105] = 317014598;
dp[42][106] = 528329960;
dp[42][107] = 583008290;
dp[42][108] = 443175574;
dp[42][109] = 659178079;
dp[42][110] = 174647583;
dp[42][111] = 349497845;
dp[42][112] = 577399146;
dp[42][113] = 818913619;
dp[42][114] = 271472027;
dp[42][115] = 656817275;
dp[42][116] = 494680790;
dp[42][117] = 969710982;
dp[42][118] = 229444476;
dp[42][119] = 267631925;
dp[42][120] = 175671131;
dp[42][121] = 35511369;
dp[42][122] = 58752774;
dp[42][123] = 135202754;
dp[42][124] = 944159958;
dp[42][125] = 464206230;
dp[42][126] = 475819996;
dp[42][127] = 314325811;
dp[42][128] = 754861491;
dp[42][129] = 276808552;
dp[42][130] = 810159244;
dp[42][131] = 91192489;
dp[42][132] = 626570800;
dp[42][133] = 590621471;
dp[42][134] = 514780234;
dp[42][135] = 305537247;
dp[42][136] = 801654104;
dp[42][137] = 149383516;
dp[42][138] = 787215362;
dp[42][139] = 114530579;
dp[42][140] = 859617326;
dp[42][141] = 613074050;
dp[42][142] = 468568467;
dp[42][143] = 919259772;
dp[42][144] = 617744284;
dp[42][145] = 340905322;
dp[42][146] = 985953212;
dp[42][147] = 372028816;
dp[42][148] = 217079653;
dp[42][149] = 938494776;
dp[42][150] = 284906842;
dp[42][151] = 769978385;
dp[42][152] = 515786223;
dp[42][153] = 285120775;
dp[42][154] = 375534381;
dp[42][155] = 675385916;
dp[42][156] = 665832700;
dp[42][157] = 133450834;
dp[42][158] = 3874364;
dp[42][159] = 408375526;
dp[42][160] = 770616302;
dp[42][161] = 276273159;
dp[42][162] = 413928636;
dp[42][163] = 723794836;
dp[42][164] = 198571707;
dp[42][165] = 678091222;
dp[42][166] = 296508406;
dp[42][167] = 529916658;
dp[42][168] = 588863591;
dp[42][169] = 413257244;
dp[42][170] = 498474249;
dp[42][171] = 915935032;
dp[42][172] = 120501359;
dp[42][173] = 836927142;
dp[42][174] = 230121084;
dp[42][175] = 774509032;
dp[42][176] = 870826787;
dp[42][177] = 489996192;
dp[42][178] = 917057075;
dp[42][179] = 196187219;
dp[42][180] = 383821852;
dp[42][181] = 922336284;
dp[42][182] = 22274995;
dp[42][183] = 748507616;
dp[42][184] = 607632780;
dp[42][185] = 183109949;
dp[42][186] = 339998525;
dp[42][187] = 507933598;
dp[42][188] = 698781318;
dp[42][189] = 498085612;
dp[42][190] = 803731847;
dp[42][191] = 473820207;
dp[42][192] = 901546035;
dp[42][193] = 302928184;
dp[42][194] = 865394080;
dp[42][195] = 114078163;
dp[42][196] = 2199878;
dp[42][197] = 779942965;
dp[42][198] = 594445523;
dp[42][199] = 91527221;
dp[42][200] = 272107811;
dp[42][201] = 718335802;
dp[42][202] = 365412741;
dp[42][203] = 52329171;
dp[42][204] = 414520032;
dp[42][205] = 494974650;
dp[42][206] = 300177708;
dp[42][207] = 811610962;
dp[42][208] = 146810674;
dp[42][209] = 337728819;
dp[42][210] = 506402762;
dp[42][211] = 403329973;
dp[42][212] = 694340600;
dp[42][213] = 766854981;
dp[42][214] = 757139989;
dp[42][215] = 188368338;
dp[42][216] = 788752320;
dp[42][217] = 918847437;
dp[42][218] = 928046733;
dp[42][219] = 527551285;
dp[42][220] = 479184799;
dp[42][221] = 517252899;
dp[42][222] = 712149490;
dp[42][223] = 791491255;
dp[42][224] = 238449676;
dp[42][225] = 667119615;
dp[42][226] = 757940899;
dp[42][227] = 445679476;
dp[42][228] = 734062646;
dp[42][229] = 326185889;
dp[42][230] = 40504124;
dp[42][231] = 623294475;
dp[42][232] = 807102585;
dp[42][233] = 697275776;
dp[42][234] = 960233124;
dp[42][235] = 90479243;
dp[42][236] = 277423126;
dp[42][237] = 459856976;
dp[42][238] = 523164613;
dp[42][239] = 283246190;
dp[42][240] = 353589088;
dp[42][241] = 214300387;
dp[42][242] = 783487356;
dp[42][243] = 692462518;
dp[42][244] = 267488040;
dp[42][245] = 851918218;
dp[42][246] = 799153667;
dp[42][247] = 810257248;
dp[42][248] = 109085516;
dp[42][249] = 633189413;
dp[42][250] = 670646041;
dp[42][251] = 913414538;
dp[42][252] = 526057886;
dp[42][253] = 701571781;
dp[42][254] = 823895555;
dp[42][255] = 366072317;
dp[42][256] = 141394361;
dp[42][257] = 832809290;
dp[42][258] = 464577360;
dp[42][259] = 305577012;
dp[42][260] = 512815120;
dp[42][261] = 121404516;
dp[42][262] = 195457318;
dp[42][263] = 321946163;
dp[42][264] = 309097012;
dp[42][265] = 239601477;
dp[42][266] = 94799504;
dp[42][267] = 314416433;
dp[42][268] = 43085740;
dp[42][269] = 639634392;
dp[42][270] = 892727867;
dp[42][271] = 559091131;
dp[42][272] = 668748148;
dp[42][273] = 422889784;
dp[42][274] = 711508368;
dp[42][275] = 676630033;
dp[42][276] = 634668710;
dp[42][277] = 364293294;
dp[42][278] = 844937242;
dp[42][279] = 751071408;
dp[42][280] = 322260215;
dp[42][281] = 891789141;
dp[42][282] = 187899827;
dp[42][283] = 511558264;
dp[42][284] = 521391391;
dp[42][285] = 670781806;
dp[42][286] = 509672700;
dp[42][287] = 51147255;
dp[42][288] = 62331255;
dp[42][289] = 681097643;
dp[42][290] = 668432081;
dp[42][291] = 698715101;
dp[42][292] = 46454740;
dp[42][293] = 726474418;
dp[42][294] = 934462337;
dp[42][295] = 72103891;
dp[42][296] = 408373632;
dp[42][297] = 957100449;
dp[42][298] = 670661469;
dp[42][299] = 786800623;
dp[42][300] = 834620545;
dp[42][301] = 287400489;
dp[42][302] = 490496888;
dp[42][303] = 497846381;
dp[42][304] = 189806313;
dp[42][305] = 912940390;
dp[42][306] = 809020495;
dp[42][307] = 703284720;
dp[42][308] = 835793884;
dp[42][309] = 605744360;
dp[42][310] = 923348658;
dp[42][311] = 214377202;
dp[42][312] = 697918809;
dp[42][313] = 343995053;
dp[42][314] = 445012242;
dp[42][315] = 544883273;
dp[42][316] = 475774494;
dp[42][317] = 73159748;
dp[42][318] = 664916820;
dp[42][319] = 945806189;
dp[42][320] = 388033609;
dp[42][321] = 184443581;
dp[42][322] = 891139166;
dp[42][323] = 132967061;
dp[42][324] = 662232592;
dp[42][325] = 630310273;
dp[42][326] = 296941879;
dp[42][327] = 926467100;
dp[42][328] = 732662520;
dp[42][329] = 755030683;
dp[42][330] = 373067237;
dp[42][331] = 200501225;
dp[42][332] = 132039597;
dp[42][333] = 621016442;
dp[42][334] = 864116597;
dp[42][335] = 199168443;
dp[42][336] = 229224627;
dp[42][337] = 19895297;
dp[42][338] = 392227721;
dp[42][339] = 512572983;
dp[42][340] = 888183257;
dp[42][341] = 954225811;
dp[42][342] = 362992884;
dp[42][343] = 408318299;
dp[42][344] = 664465052;
dp[42][345] = 828120392;
dp[42][346] = 703374891;
dp[42][347] = 61248349;
dp[42][348] = 16358204;
dp[42][349] = 241119413;
dp[42][350] = 30565637;
dp[42][351] = 838212406;
dp[42][352] = 921697699;
dp[42][353] = 543334430;
dp[42][354] = 89858526;
dp[42][355] = 273185879;
dp[42][356] = 355471309;
dp[42][357] = 304528048;
dp[42][358] = 507574008;
dp[42][359] = 476038937;
dp[42][360] = 789196651;
dp[42][361] = 57644735;
dp[42][362] = 932966132;
dp[42][363] = 292240565;
dp[42][364] = 284284800;
dp[42][365] = 198355642;
dp[42][366] = 844613937;
dp[42][367] = 375170024;
dp[42][368] = 881957600;
dp[42][369] = 108981244;
dp[42][370] = 644631978;
dp[42][371] = 730251746;
dp[42][372] = 563646094;
dp[42][373] = 15703371;
dp[42][374] = 891969119;
dp[42][375] = 462467018;
dp[42][376] = 842418885;
dp[42][377] = 184776107;
dp[42][378] = 20489508;
dp[42][379] = 525173823;
dp[42][380] = 93913531;
dp[42][381] = 199936707;
dp[42][382] = 49296883;
dp[42][383] = 500271791;
dp[42][384] = 9386940;
dp[42][385] = 42793104;
dp[42][386] = 102301079;
dp[42][387] = 299925062;
dp[42][388] = 242848544;
dp[42][389] = 157270543;
dp[42][390] = 567750735;
dp[42][391] = 512260765;
dp[42][392] = 540910896;
dp[42][393] = 473863432;
dp[42][394] = 123756576;
dp[42][395] = 867793612;
dp[42][396] = 940752336;
dp[42][397] = 189701376;
dp[42][398] = 338838501;
dp[42][399] = 163690216;
dp[42][400] = 120916067;
dp[42][401] = 790468763;
dp[42][402] = 680974009;
dp[42][403] = 939542025;
dp[42][404] = 299064055;
dp[42][405] = 752326705;
dp[42][406] = 668302564;
dp[42][407] = 775312490;
dp[42][408] = 929999123;
dp[42][409] = 713601128;
dp[42][410] = 593704708;
dp[42][411] = 595301628;
dp[42][412] = 539445680;
dp[42][413] = 220384571;
dp[42][414] = 492539730;
dp[42][415] = 572951883;
dp[42][416] = 264745653;
dp[42][417] = 946510661;
dp[42][418] = 751486844;
dp[42][419] = 372815432;
dp[42][420] = 445849920;
dp[42][421] = 481560920;
dp[42][422] = 887629330;
dp[42][423] = 46438187;
dp[42][424] = 433046906;
dp[42][425] = 550746520;
dp[42][426] = 68280122;
dp[42][427] = 549536967;
dp[42][428] = 98170304;
dp[42][429] = 942092421;
dp[42][430] = 657076175;
dp[42][431] = 85959544;
dp[42][432] = 736296914;
dp[42][433] = 244774210;
dp[42][434] = 196059783;
dp[42][435] = 968298850;
dp[42][436] = 183375217;
dp[42][437] = 810099519;
dp[42][438] = 413635020;
dp[42][439] = 636120983;
dp[42][440] = 396309504;
dp[42][441] = 740465895;
dp[42][442] = 371532101;
dp[43][1] = 1;
dp[43][2] = 42;
dp[43][3] = 943;
dp[43][4] = 14920;
dp[43][5] = 185722;
dp[43][6] = 1929132;
dp[43][7] = 17340642;
dp[43][8] = 138243024;
dp[43][9] = 994832181;
dp[43][10] = 548192008;
dp[43][11] = 829424358;
dp[43][12] = 702470585;
dp[43][13] = 488681655;
dp[43][14] = 275370643;
dp[43][15] = 835638795;
dp[43][16] = 810867407;
dp[43][17] = 286977068;
dp[43][18] = 950047225;
dp[43][19] = 83539435;
dp[43][20] = 44629372;
dp[43][21] = 288790619;
dp[43][22] = 507410843;
dp[43][23] = 264046736;
dp[43][24] = 483012816;
dp[43][25] = 672138691;
dp[43][26] = 875194556;
dp[43][27] = 651203850;
dp[43][28] = 66911617;
dp[43][29] = 918075656;
dp[43][30] = 674825734;
dp[43][31] = 94581776;
dp[43][32] = 415282344;
dp[43][33] = 303997379;
dp[43][34] = 819537616;
dp[43][35] = 622429217;
dp[43][36] = 698967413;
dp[43][37] = 751254549;
dp[43][38] = 420414807;
dp[43][39] = 687830513;
dp[43][40] = 601402264;
dp[43][41] = 434289505;
dp[43][42] = 724948167;
dp[43][43] = 754889253;
dp[43][44] = 808542135;
dp[43][45] = 995391960;
dp[43][46] = 178813332;
dp[43][47] = 724416372;
dp[43][48] = 177739106;
dp[43][49] = 814105099;
dp[43][50] = 753597104;
dp[43][51] = 45856871;
dp[43][52] = 272275296;
dp[43][53] = 786414287;
dp[43][54] = 511285559;
dp[43][55] = 160720229;
dp[43][56] = 317562390;
dp[43][57] = 790336119;
dp[43][58] = 868224061;
dp[43][59] = 359611251;
dp[43][60] = 78736463;
dp[43][61] = 773457035;
dp[43][62] = 927802445;
dp[43][63] = 421722380;
dp[43][64] = 116775238;
dp[43][65] = 364696053;
dp[43][66] = 502866895;
dp[43][67] = 626441652;
dp[43][68] = 490807991;
dp[43][69] = 713262576;
dp[43][70] = 797949369;
dp[43][71] = 598695934;
dp[43][72] = 260170588;
dp[43][73] = 82830001;
dp[43][74] = 494545919;
dp[43][75] = 272206045;
dp[43][76] = 443643728;
dp[43][77] = 598266021;
dp[43][78] = 33015507;
dp[43][79] = 884148700;
dp[43][80] = 307476402;
dp[43][81] = 959867411;
dp[43][82] = 216334812;
dp[43][83] = 800291904;
dp[43][84] = 985570368;
dp[43][85] = 488188448;
dp[43][86] = 107147695;
dp[43][87] = 538136243;
dp[43][88] = 662412600;
dp[43][89] = 979298525;
dp[43][90] = 134498654;
dp[43][91] = 226734918;
dp[43][92] = 727004323;
dp[43][93] = 749341953;
dp[43][94] = 119616289;
dp[43][95] = 344235011;
dp[43][96] = 179701806;
dp[43][97] = 771727176;
dp[43][98] = 867138213;
dp[43][99] = 462181714;
dp[43][100] = 886155872;
dp[43][101] = 120844409;
dp[43][102] = 637609736;
dp[43][103] = 732957723;
dp[43][104] = 950929297;
dp[43][105] = 917858187;
dp[43][106] = 787591285;
dp[43][107] = 658307576;
dp[43][108] = 752393246;
dp[43][109] = 363474545;
dp[43][110] = 410621001;
dp[43][111] = 994736846;
dp[43][112] = 177814531;
dp[43][113] = 780475306;
dp[43][114] = 862888709;
dp[43][115] = 592093607;
dp[43][116] = 579502147;
dp[43][117] = 557845688;
dp[43][118] = 288775481;
dp[43][119] = 603183203;
dp[43][120] = 577960148;
dp[43][121] = 788283409;
dp[43][122] = 673824051;
dp[43][123] = 683888139;
dp[43][124] = 877184660;
dp[43][125] = 633236685;
dp[43][126] = 114600324;
dp[43][127] = 443874806;
dp[43][128] = 243845462;
dp[43][129] = 737247494;
dp[43][130] = 816215602;
dp[43][131] = 301818289;
dp[43][132] = 678209727;
dp[43][133] = 613605938;
dp[43][134] = 858234475;
dp[43][135] = 818583083;
dp[43][136] = 638002191;
dp[43][137] = 955539556;
dp[43][138] = 166659792;
dp[43][139] = 402119583;
dp[43][140] = 136117938;
dp[43][141] = 121601666;
dp[43][142] = 755992562;
dp[43][143] = 47984728;
dp[43][144] = 295575049;
dp[43][145] = 499852111;
dp[43][146] = 307179145;
dp[43][147] = 332974068;
dp[43][148] = 315732357;
dp[43][149] = 716712867;
dp[43][150] = 640162541;
dp[43][151] = 867854182;
dp[43][152] = 934376752;
dp[43][153] = 313718034;
dp[43][154] = 59903781;
dp[43][155] = 946384843;
dp[43][156] = 119557570;
dp[43][157] = 525136020;
dp[43][158] = 151571916;
dp[43][159] = 798992199;
dp[43][160] = 641098837;
dp[43][161] = 260839275;
dp[43][162] = 993458171;
dp[43][163] = 824535499;
dp[43][164] = 355644177;
dp[43][165] = 761912070;
dp[43][166] = 816737774;
dp[43][167] = 16159145;
dp[43][168] = 269418274;
dp[43][169] = 606453921;
dp[43][170] = 360745230;
dp[43][171] = 8968332;
dp[43][172] = 697762673;
dp[43][173] = 987763777;
dp[43][174] = 660889863;
dp[43][175] = 735951723;
dp[43][176] = 644168107;
dp[43][177] = 694447061;
dp[43][178] = 112348183;
dp[43][179] = 530007620;
dp[43][180] = 3042837;
dp[43][181] = 764274326;
dp[43][182] = 848173528;
dp[43][183] = 194620935;
dp[43][184] = 635775962;
dp[43][185] = 259196720;
dp[43][186] = 713828904;
dp[43][187] = 940082694;
dp[43][188] = 457694335;
dp[43][189] = 838811079;
dp[43][190] = 742877821;
dp[43][191] = 825043434;
dp[43][192] = 999682813;
dp[43][193] = 323541591;
dp[43][194] = 50872352;
dp[43][195] = 337477908;
dp[43][196] = 513975090;
dp[43][197] = 485543671;
dp[43][198] = 991738379;
dp[43][199] = 437900643;
dp[43][200] = 771900426;
dp[43][201] = 686428428;
dp[43][202] = 563411325;
dp[43][203] = 914169111;
dp[43][204] = 935692665;
dp[43][205] = 43568184;
dp[43][206] = 490175371;
dp[43][207] = 749564693;
dp[43][208] = 101137943;
dp[43][209] = 245839802;
dp[43][210] = 603981104;
dp[43][211] = 626386341;
dp[43][212] = 386920859;
dp[43][213] = 413292672;
dp[43][214] = 913439917;
dp[43][215] = 70347116;
dp[43][216] = 434898910;
dp[43][217] = 144090153;
dp[43][218] = 824132212;
dp[43][219] = 891175519;
dp[43][220] = 132402569;
dp[43][221] = 347193520;
dp[43][222] = 969072546;
dp[43][223] = 16729602;
dp[43][224] = 608672301;
dp[43][225] = 618817500;
dp[43][226] = 911982521;
dp[43][227] = 688615529;
dp[43][228] = 732174336;
dp[43][229] = 500282116;
dp[43][230] = 497352932;
dp[43][231] = 456415575;
dp[43][232] = 878875953;
dp[43][233] = 316115544;
dp[43][234] = 915703538;
dp[43][235] = 598465482;
dp[43][236] = 596140294;
dp[43][237] = 730305232;
dp[43][238] = 164832432;
dp[43][239] = 897815573;
dp[43][240] = 166896959;
dp[43][241] = 324516472;
dp[43][242] = 764718824;
dp[43][243] = 566396641;
dp[43][244] = 914517008;
dp[43][245] = 874306816;
dp[43][246] = 779763109;
dp[43][247] = 852306547;
dp[43][248] = 611269114;
dp[43][249] = 292511571;
dp[43][250] = 915381300;
dp[43][251] = 758955270;
dp[43][252] = 257373679;
dp[43][253] = 74625589;
dp[43][254] = 121789415;
dp[43][255] = 230596845;
dp[43][256] = 205840454;
dp[43][257] = 916544901;
dp[43][258] = 23902587;
dp[43][259] = 416402779;
dp[43][260] = 293269031;
dp[43][261] = 510816400;
dp[43][262] = 975368660;
dp[43][263] = 955188220;
dp[43][264] = 72244504;
dp[43][265] = 561311434;
dp[43][266] = 137072009;
dp[43][267] = 127537010;
dp[43][268] = 860723336;
dp[43][269] = 883260674;
dp[43][270] = 394382836;
dp[43][271] = 913512596;
dp[43][272] = 497775666;
dp[43][273] = 206616201;
dp[43][274] = 483790701;
dp[43][275] = 11643758;
dp[43][276] = 543373789;
dp[43][277] = 107216374;
dp[43][278] = 536706614;
dp[43][279] = 345207484;
dp[43][280] = 197739695;
dp[43][281] = 416959310;
dp[43][282] = 802020491;
dp[43][283] = 883579389;
dp[43][284] = 155472766;
dp[43][285] = 707726533;
dp[43][286] = 878636875;
dp[43][287] = 137339984;
dp[43][288] = 387604391;
dp[43][289] = 170286771;
dp[43][290] = 862464509;
dp[43][291] = 93116703;
dp[43][292] = 698306089;
dp[43][293] = 277231574;
dp[43][294] = 157624181;
dp[43][295] = 518482505;
dp[43][296] = 545923209;
dp[43][297] = 301838767;
dp[43][298] = 429107456;
dp[43][299] = 65466197;
dp[43][300] = 400869145;
dp[43][301] = 603396151;
dp[43][302] = 201146053;
dp[43][303] = 29560436;
dp[43][304] = 908247428;
dp[43][305] = 740900666;
dp[43][306] = 645622178;
dp[43][307] = 468181946;
dp[43][308] = 182006817;
dp[43][309] = 585006092;
dp[43][310] = 39427009;
dp[43][311] = 901513909;
dp[43][312] = 575103140;
dp[43][313] = 643739693;
dp[43][314] = 969005418;
dp[43][315] = 413112711;
dp[43][316] = 121940507;
dp[43][317] = 949419798;
dp[43][318] = 274176335;
dp[43][319] = 533655948;
dp[43][320] = 73448571;
dp[43][321] = 447893873;
dp[43][322] = 303200166;
dp[43][323] = 406062958;
dp[43][324] = 327948494;
dp[43][325] = 399154885;
dp[43][326] = 680966803;
dp[43][327] = 676784794;
dp[43][328] = 346165530;
dp[43][329] = 118434942;
dp[43][330] = 634041854;
dp[43][331] = 219847494;
dp[43][332] = 927409557;
dp[43][333] = 731595298;
dp[43][334] = 204066166;
dp[43][335] = 484721091;
dp[43][336] = 397391612;
dp[43][337] = 62697528;
dp[43][338] = 613046235;
dp[43][339] = 363210072;
dp[43][340] = 588627148;
dp[43][341] = 359818291;
dp[43][342] = 176675393;
dp[43][343] = 710790103;
dp[43][344] = 31891420;
dp[43][345] = 193284227;
dp[43][346] = 13322649;
dp[43][347] = 80677012;
dp[43][348] = 364175866;
dp[43][349] = 156203486;
dp[43][350] = 303397217;
dp[43][351] = 540753075;
dp[43][352] = 969185318;
dp[43][353] = 762928705;
dp[43][354] = 479974322;
dp[43][355] = 873609278;
dp[43][356] = 714679223;
dp[43][357] = 243389411;
dp[43][358] = 893917661;
dp[43][359] = 730412727;
dp[43][360] = 540295939;
dp[43][361] = 380888528;
dp[43][362] = 199480073;
dp[43][363] = 111615382;
dp[43][364] = 501213077;
dp[43][365] = 699982545;
dp[43][366] = 83674978;
dp[43][367] = 340471893;
dp[43][368] = 589623231;
dp[43][369] = 135448371;
dp[43][370] = 354059110;
dp[43][371] = 416125008;
dp[43][372] = 490338358;
dp[43][373] = 869847423;
dp[43][374] = 644581498;
dp[43][375] = 153365962;
dp[43][376] = 261322947;
dp[43][377] = 680966984;
dp[43][378] = 400282844;
dp[43][379] = 542955010;
dp[43][380] = 604680600;
dp[43][381] = 412088220;
dp[43][382] = 680278649;
dp[43][383] = 139286485;
dp[43][384] = 860834305;
dp[43][385] = 469429775;
dp[43][386] = 280658323;
dp[43][387] = 253030904;
dp[43][388] = 2560916;
dp[43][389] = 10309871;
dp[43][390] = 297479762;
dp[43][391] = 823144855;
dp[43][392] = 871982081;
dp[43][393] = 47058346;
dp[43][394] = 963847165;
dp[43][395] = 382927224;
dp[43][396] = 356584190;
dp[43][397] = 324565827;
dp[43][398] = 306141977;
dp[43][399] = 910279795;
dp[43][400] = 453817674;
dp[43][401] = 601981427;
dp[43][402] = 979339306;
dp[43][403] = 222338413;
dp[43][404] = 904561649;
dp[43][405] = 382529080;
dp[43][406] = 408856660;
dp[43][407] = 854658577;
dp[43][408] = 411827225;
dp[43][409] = 670817056;
dp[43][410] = 827144476;
dp[43][411] = 223389693;
dp[43][412] = 471934610;
dp[43][413] = 930635535;
dp[43][414] = 587441381;
dp[43][415] = 722797748;
dp[43][416] = 95690794;
dp[43][417] = 663628478;
dp[43][418] = 287716698;
dp[43][419] = 646651719;
dp[43][420] = 701670514;
dp[43][421] = 288321331;
dp[43][422] = 90367689;
dp[43][423] = 303151955;
dp[43][424] = 540716833;
dp[43][425] = 449495113;
dp[43][426] = 614473847;
dp[43][427] = 768187147;
dp[43][428] = 779428778;
dp[43][429] = 859329178;
dp[43][430] = 317839203;
dp[43][431] = 24311574;
dp[43][432] = 208713726;
dp[43][433] = 534909824;
dp[43][434] = 569617669;
dp[43][435] = 779723332;
dp[43][436] = 951823587;
dp[43][437] = 262620278;
dp[43][438] = 508684571;
dp[43][439] = 644816282;
dp[43][440] = 124674019;
dp[43][441] = 369884532;
dp[43][442] = 146396384;
dp[43][443] = 993989514;
dp[43][444] = 828097325;
dp[43][445] = 353947367;
dp[43][446] = 356630001;
dp[43][447] = 483119775;
dp[43][448] = 36683277;
dp[43][449] = 829372562;
dp[43][450] = 480348153;
dp[43][451] = 416969202;
dp[43][452] = 237164413;
dp[43][453] = 917166508;
dp[43][454] = 673670902;
dp[43][455] = 955993972;
dp[43][456] = 550159722;
dp[43][457] = 115253791;
dp[43][458] = 571208381;
dp[43][459] = 883450110;
dp[43][460] = 234414978;
dp[43][461] = 338605160;
dp[43][462] = 465632072;
dp[43][463] = 975880238;
dp[44][1] = 1;
dp[44][2] = 43;
dp[44][3] = 987;
dp[44][4] = 15949;
dp[44][5] = 202614;
dp[44][6] = 2146662;
dp[44][7] = 19672862;
dp[44][8] = 159841410;
dp[44][9] = 171958174;
dp[44][10] = 857707214;
dp[44][11] = 674952199;
dp[44][12] = 863564473;
dp[44][13] = 694487987;
dp[44][14] = 218927913;
dp[44][15] = 150857334;
dp[44][16] = 64522123;
dp[44][17] = 242512102;
dp[44][18] = 726888439;
dp[44][19] = 233627107;
dp[44][20] = 811786714;
dp[44][21] = 114239005;
dp[44][22] = 343074532;
dp[44][23] = 372330107;
dp[44][24] = 720689358;
dp[44][25] = 467711835;
dp[44][26] = 904517093;
dp[44][27] = 48140523;
dp[44][28] = 445520536;
dp[44][29] = 151023837;
dp[44][30] = 477389409;
dp[44][31] = 167654505;
dp[44][32] = 524330326;
dp[44][33] = 826025786;
dp[44][34] = 750662832;
dp[44][35] = 873751815;
dp[44][36] = 63739722;
dp[44][37] = 191556854;
dp[44][38] = 667326112;
dp[44][39] = 50500515;
dp[44][40] = 441625511;
dp[44][41] = 782830742;
dp[44][42] = 400734038;
dp[44][43] = 564497630;
dp[44][44] = 921910383;
dp[44][45] = 845548941;
dp[44][46] = 368028935;
dp[44][47] = 749018447;
dp[44][48] = 103585045;
dp[44][49] = 796556849;
dp[44][50] = 628596101;
dp[44][51] = 868979841;
dp[44][52] = 539520158;
dp[44][53] = 627354569;
dp[44][54] = 90231323;
dp[44][55] = 417433082;
dp[44][56] = 56768496;
dp[44][57] = 355579497;
dp[44][58] = 422451590;
dp[44][59] = 886349503;
dp[44][60] = 72956900;
dp[44][61] = 803725461;
dp[44][62] = 415871073;
dp[44][63] = 683643384;
dp[44][64] = 621063238;
dp[44][65] = 193330057;
dp[44][66] = 325926450;
dp[44][67] = 277754812;
dp[44][68] = 24871409;
dp[44][69] = 448472012;
dp[44][70] = 886190243;
dp[44][71] = 823962291;
dp[44][72] = 441987145;
dp[44][73] = 894908057;
dp[44][74] = 837390023;
dp[44][75] = 862747763;
dp[44][76] = 91512877;
dp[44][77] = 722912649;
dp[44][78] = 93349481;
dp[44][79] = 545810047;
dp[44][80] = 913016979;
dp[44][81] = 515556016;
dp[44][82] = 298546360;
dp[44][83] = 734212089;
dp[44][84] = 844284728;
dp[44][85] = 136068973;
dp[44][86] = 71028614;
dp[44][87] = 122223407;
dp[44][88] = 751306630;
dp[44][89] = 44843394;
dp[44][90] = 423748616;
dp[44][91] = 386401231;
dp[44][92] = 812571458;
dp[44][93] = 811253207;
dp[44][94] = 883210298;
dp[44][95] = 108253088;
dp[44][96] = 777750730;
dp[44][97] = 94398075;
dp[44][98] = 357510258;
dp[44][99] = 341016668;
dp[44][100] = 444595182;
dp[44][101] = 421469474;
dp[44][102] = 846006439;
dp[44][103] = 697364303;
dp[44][104] = 430219357;
dp[44][105] = 145159;
dp[44][106] = 329923811;
dp[44][107] = 555736286;
dp[44][108] = 145037472;
dp[44][109] = 50858159;
dp[44][110] = 758063180;
dp[44][111] = 409311835;
dp[44][112] = 199515197;
dp[44][113] = 849732459;
dp[44][114] = 429458586;
dp[44][115] = 110831608;
dp[44][116] = 601311986;
dp[44][117] = 405029768;
dp[44][118] = 899721594;
dp[44][119] = 362036575;
dp[44][120] = 3616348;
dp[44][121] = 447767827;
dp[44][122] = 718164293;
dp[44][123] = 455022502;
dp[44][124] = 154627334;
dp[44][125] = 632024645;
dp[44][126] = 923207902;
dp[44][127] = 841801838;
dp[44][128] = 418932384;
dp[44][129] = 595460287;
dp[44][130] = 460605434;
dp[44][131] = 188513457;
dp[44][132] = 767682601;
dp[44][133] = 51793196;
dp[44][134] = 194981425;
dp[44][135] = 929803954;
dp[44][136] = 504733978;
dp[44][137] = 22197692;
dp[44][138] = 870666331;
dp[44][139] = 333136663;
dp[44][140] = 819520200;
dp[44][141] = 530915500;
dp[44][142] = 599537526;
dp[44][143] = 53266589;
dp[44][144] = 48676597;
dp[44][145] = 387019415;
dp[44][146] = 413134249;
dp[44][147] = 89916173;
dp[44][148] = 988538195;
dp[44][149] = 741237674;
dp[44][150] = 580557472;
dp[44][151] = 340811443;
dp[44][152] = 13472882;
dp[44][153] = 840030352;
dp[44][154] = 781975641;
dp[44][155] = 296220934;
dp[44][156] = 702357371;
dp[44][157] = 942050407;
dp[44][158] = 935085214;
dp[44][159] = 845987731;
dp[44][160] = 799577627;
dp[44][161] = 872670633;
dp[44][162] = 692587304;
dp[44][163] = 440284632;
dp[44][164] = 702895036;
dp[44][165] = 10589510;
dp[44][166] = 109084537;
dp[44][167] = 901549736;
dp[44][168] = 680965380;
dp[44][169] = 523560865;
dp[44][170] = 14608855;
dp[44][171] = 766098800;
dp[44][172] = 955736031;
dp[44][173] = 229070295;
dp[44][174] = 918139336;
dp[44][175] = 762087315;
dp[44][176] = 15060087;
dp[44][177] = 769624318;
dp[44][178] = 210516326;
dp[44][179] = 269537431;
dp[44][180] = 932448778;
dp[44][181] = 651446512;
dp[44][182] = 367308406;
dp[44][183] = 624037144;
dp[44][184] = 927670291;
dp[44][185] = 415521073;
dp[44][186] = 854675140;
dp[44][187] = 947034643;
dp[44][188] = 395133007;
dp[44][189] = 858104556;
dp[44][190] = 792426709;
dp[44][191] = 918444166;
dp[44][192] = 282314711;
dp[44][193] = 96653546;
dp[44][194] = 423079321;
dp[44][195] = 469451942;
dp[44][196] = 792999037;
dp[44][197] = 308400615;
dp[44][198] = 330587501;
dp[44][199] = 691818222;
dp[44][200] = 53917678;
dp[44][201] = 568461122;
dp[44][202] = 362577365;
dp[44][203] = 775464857;
dp[44][204] = 904714011;
dp[44][205] = 845440210;
dp[44][206] = 795470521;
dp[44][207] = 568880508;
dp[44][208] = 666239878;
dp[44][209] = 183860147;
dp[44][210] = 125507811;
dp[44][211] = 545400921;
dp[44][212] = 401495311;
dp[44][213] = 3467092;
dp[44][214] = 430876347;
dp[44][215] = 332849310;
dp[44][216] = 96436924;
dp[44][217] = 957680475;
dp[44][218] = 836934713;
dp[44][219] = 150232592;
dp[44][220] = 891109199;
dp[44][221] = 995835861;
dp[44][222] = 145792868;
dp[44][223] = 255284669;
dp[44][224] = 853681633;
dp[44][225] = 801676454;
dp[44][226] = 45857933;
dp[44][227] = 127560794;
dp[44][228] = 137690320;
dp[44][229] = 534209092;
dp[44][230] = 436059291;
dp[44][231] = 890838261;
dp[44][232] = 134212816;
dp[44][233] = 302504982;
dp[44][234] = 936257832;
dp[44][235] = 761720727;
dp[44][236] = 269396963;
dp[44][237] = 28197218;
dp[44][238] = 59083210;
dp[44][239] = 947207164;
dp[44][240] = 442972791;
dp[44][241] = 384169121;
dp[44][242] = 488722025;
dp[44][243] = 351406087;
dp[44][244] = 443097712;
dp[44][245] = 82956552;
dp[44][246] = 698141640;
dp[44][247] = 145942108;
dp[44][248] = 188889308;
dp[44][249] = 734290094;
dp[44][250] = 387705377;
dp[44][251] = 912805029;
dp[44][252] = 973822420;
dp[44][253] = 47485510;
dp[44][254] = 507370861;
dp[44][255] = 221674431;
dp[44][256] = 786661915;
dp[44][257] = 91335607;
dp[44][258] = 856760661;
dp[44][259] = 173031704;
dp[44][260] = 864904090;
dp[44][261] = 599152735;
dp[44][262] = 495185408;
dp[44][263] = 938099393;
dp[44][264] = 556362344;
dp[44][265] = 990758140;
dp[44][266] = 995900803;
dp[44][267] = 254599934;
dp[44][268] = 462199704;
dp[44][269] = 5008078;
dp[44][270] = 665636661;
dp[44][271] = 527028350;
dp[44][272] = 642386127;
dp[44][273] = 1829553;
dp[44][274] = 551952980;
dp[44][275] = 424017355;
dp[44][276] = 108488740;
dp[44][277] = 701380336;
dp[44][278] = 806666866;
dp[44][279] = 700141562;
dp[44][280] = 59441909;
dp[44][281] = 362171728;
dp[44][282] = 894757457;
dp[44][283] = 445400929;
dp[44][284] = 773238426;
dp[44][285] = 127546419;
dp[44][286] = 723395394;
dp[44][287] = 338826564;
dp[44][288] = 332919619;
dp[44][289] = 340737249;
dp[44][290] = 850054615;
dp[44][291] = 184058121;
dp[44][292] = 13063831;
dp[44][293] = 278558952;
dp[44][294] = 698063140;
dp[44][295] = 498777528;
dp[44][296] = 72607237;
dp[44][297] = 345269132;
dp[44][298] = 902279995;
dp[44][299] = 183690503;
dp[44][300] = 772520236;
dp[44][301] = 708689187;
dp[44][302] = 233896476;
dp[44][303] = 458831695;
dp[44][304] = 230994551;
dp[44][305] = 41124197;
dp[44][306] = 206351350;
dp[44][307] = 689101399;
dp[44][308] = 262700029;
dp[44][309] = 620939252;
dp[44][310] = 892377787;
dp[44][311] = 428085255;
dp[44][312] = 694339277;
dp[44][313] = 213848040;
dp[44][314] = 916329377;
dp[44][315] = 192795757;
dp[44][316] = 474268014;
dp[44][317] = 561285670;
dp[44][318] = 220016093;
dp[44][319] = 638297144;
dp[44][320] = 193877561;
dp[44][321] = 647642810;
dp[44][322] = 64716523;
dp[44][323] = 5417153;
dp[44][324] = 709160560;
dp[44][325] = 438820650;
dp[44][326] = 471896153;
dp[44][327] = 456049785;
dp[44][328] = 424945489;
dp[44][329] = 102312939;
dp[44][330] = 179871925;
dp[44][331] = 155527933;
dp[44][332] = 66018018;
dp[44][333] = 519349428;
dp[44][334] = 575834851;
dp[44][335] = 366155295;
dp[44][336] = 196027859;
dp[44][337] = 709388961;
dp[44][338] = 444696414;
dp[44][339] = 108229719;
dp[44][340] = 111474967;
dp[44][341] = 169464130;
dp[44][342] = 765045351;
dp[44][343] = 916818004;
dp[44][344] = 674916990;
dp[44][345] = 958919968;
dp[44][346] = 932259128;
dp[44][347] = 849009441;
dp[44][348] = 829390390;
dp[44][349] = 846317162;
dp[44][350] = 253991616;
dp[44][351] = 482990034;
dp[44][352] = 163822353;
dp[44][353] = 775754269;
dp[44][354] = 532037321;
dp[44][355] = 49173712;
dp[44][356] = 212326050;
dp[44][357] = 301906174;
dp[44][358] = 678424573;
dp[44][359] = 534302771;
dp[44][360] = 375782334;
dp[44][361] = 160287870;
dp[44][362] = 855370313;
dp[44][363] = 341617592;
dp[44][364] = 25457804;
dp[44][365] = 708941176;
dp[44][366] = 246832732;
dp[44][367] = 903916100;
dp[44][368] = 546588049;
dp[44][369] = 96029971;
dp[44][370] = 706821232;
dp[44][371] = 940560978;
dp[44][372] = 101534792;
dp[44][373] = 337492719;
dp[44][374] = 856837601;
dp[44][375] = 613769045;
dp[44][376] = 707646199;
dp[44][377] = 812028723;
dp[44][378] = 616833643;
dp[44][379] = 679800396;
dp[44][380] = 535428679;
dp[44][381] = 224426630;
dp[44][382] = 413895724;
dp[44][383] = 784683428;
dp[44][384] = 431644219;
dp[44][385] = 111092914;
dp[44][386] = 661756720;
dp[44][387] = 639659700;
dp[44][388] = 41894591;
dp[44][389] = 68359952;
dp[44][390] = 43802473;
dp[44][391] = 952730000;
dp[44][392] = 823133424;
dp[44][393] = 376059765;
dp[44][394] = 707785553;
dp[44][395] = 822330735;
dp[44][396] = 771301262;
dp[44][397] = 948220958;
dp[44][398] = 908479296;
dp[44][399] = 864547297;
dp[44][400] = 515908783;
dp[44][401] = 27167717;
dp[44][402] = 175015260;
dp[44][403] = 401476125;
dp[44][404] = 721945851;
dp[44][405] = 298498970;
dp[44][406] = 707819205;
dp[44][407] = 838011772;
dp[44][408] = 889483594;
dp[44][409] = 356594984;
dp[44][410] = 693435347;
dp[44][411] = 967781679;
dp[44][412] = 401435494;
dp[44][413] = 355846180;
dp[44][414] = 333596320;
dp[44][415] = 628919505;
dp[44][416] = 303558980;
dp[44][417] = 984974994;
dp[44][418] = 113643042;
dp[44][419] = 89409518;
dp[44][420] = 612893129;
dp[44][421] = 122412730;
dp[44][422] = 114900098;
dp[44][423] = 810658251;
dp[44][424] = 247580260;
dp[44][425] = 945287301;
dp[44][426] = 609126629;
dp[44][427] = 492005778;
dp[44][428] = 772356444;
dp[44][429] = 361927818;
dp[44][430] = 440145503;
dp[44][431] = 858752994;
dp[44][432] = 174471327;
dp[44][433] = 210890472;
dp[44][434] = 769016792;
dp[44][435] = 638211867;
dp[44][436] = 546015263;
dp[44][437] = 377533141;
dp[44][438] = 892710683;
dp[44][439] = 705066724;
dp[44][440] = 412035898;
dp[44][441] = 913706912;
dp[44][442] = 989583745;
dp[44][443] = 102815427;
dp[44][444] = 296051463;
dp[44][445] = 435828877;
dp[44][446] = 627348761;
dp[44][447] = 994079761;
dp[44][448] = 369313875;
dp[44][449] = 909339708;
dp[44][450] = 172995194;
dp[44][451] = 816793393;
dp[44][452] = 474860389;
dp[44][453] = 821690532;
dp[44][454] = 962160124;
dp[44][455] = 246051373;
dp[44][456] = 970475428;
dp[44][457] = 561698902;
dp[44][458] = 165844443;
dp[44][459] = 708639335;
dp[44][460] = 918973613;
dp[44][461] = 861542417;
dp[44][462] = 207950600;
dp[44][463] = 197794802;
dp[44][464] = 563223285;
dp[44][465] = 448456804;
dp[44][466] = 787570186;
dp[44][467] = 926930606;
dp[44][468] = 566070711;
dp[44][469] = 279041721;
dp[44][470] = 162328562;
dp[44][471] = 287318056;
dp[44][472] = 191225488;
dp[44][473] = 14318341;
dp[44][474] = 585550504;
dp[44][475] = 409974535;
dp[44][476] = 697728497;
dp[44][477] = 891226405;
dp[44][478] = 200433586;
dp[44][479] = 381575055;
dp[44][480] = 638337683;
dp[44][481] = 483277973;
dp[44][482] = 755030264;
dp[44][483] = 867834356;
dp[44][484] = 962849947;
dp[44][485] = 821535631;
dp[45][1] = 1;
dp[45][2] = 44;
dp[45][3] = 1032;
dp[45][4] = 17024;
dp[45][5] = 220625;
dp[45][6] = 2383232;
dp[45][7] = 22258540;
dp[45][8] = 184242832;
dp[45][9] = 375813872;
dp[45][10] = 392612893;
dp[45][11] = 231706087;
dp[45][12] = 882424931;
dp[45][13] = 687132034;
dp[45][14] = 689650073;
dp[45][15] = 577977876;
dp[45][16] = 303878988;
dp[45][17] = 24310937;
dp[45][18] = 406963663;
dp[45][19] = 625468735;
dp[45][20] = 582435950;
dp[45][21] = 41660062;
dp[45][22] = 421950986;
dp[45][23] = 98962940;
dp[45][24] = 938709884;
dp[45][25] = 758565048;
dp[45][26] = 969234571;
dp[45][27] = 703952131;
dp[45][28] = 900436492;
dp[45][29] = 658647225;
dp[45][30] = 285611947;
dp[45][31] = 399326780;
dp[45][32] = 419454732;
dp[45][33] = 205387170;
dp[45][34] = 983950227;
dp[45][35] = 49990302;
dp[45][36] = 189001672;
dp[45][37] = 62673927;
dp[45][38] = 586296391;
dp[45][39] = 184361166;
dp[45][40] = 506353667;
dp[45][41] = 438069708;
dp[45][42] = 256171907;
dp[45][43] = 825943859;
dp[45][44] = 951340167;
dp[45][45] = 368115756;
dp[45][46] = 522855639;
dp[45][47] = 198647246;
dp[45][48] = 263328246;
dp[45][49] = 450011807;
dp[45][50] = 434855284;
dp[45][51] = 725807775;
dp[45][52] = 648411666;
dp[45][53] = 18383140;
dp[45][54] = 128787399;
dp[45][55] = 387148373;
dp[45][56] = 905324825;
dp[45][57] = 158891954;
dp[45][58] = 656234845;
dp[45][59] = 213026076;
dp[45][60] = 490012707;
dp[45][61] = 365468167;
dp[45][62] = 200221292;
dp[45][63] = 298615515;
dp[45][64] = 290107567;
dp[45][65] = 35072337;
dp[45][66] = 317672326;
dp[45][67] = 60118064;
dp[45][68] = 676291945;
dp[45][69] = 898619095;
dp[45][70] = 494511021;
dp[45][71] = 35193707;
dp[45][72] = 681989460;
dp[45][73] = 255539191;
dp[45][74] = 6318676;
dp[45][75] = 181981289;
dp[45][76] = 309123618;
dp[45][77] = 769843578;
dp[45][78] = 942743189;
dp[45][79] = 29734288;
dp[45][80] = 954472400;
dp[45][81] = 463236670;
dp[45][82] = 747980714;
dp[45][83] = 175643037;
dp[45][84] = 260101113;
dp[45][85] = 77874147;
dp[45][86] = 589524374;
dp[45][87] = 710018290;
dp[45][88] = 567729062;
dp[45][89] = 854908844;
dp[45][90] = 767838566;
dp[45][91] = 521233813;
dp[45][92] = 535397022;
dp[45][93] = 395450772;
dp[45][94] = 519565978;
dp[45][95] = 430844324;
dp[45][96] = 691804767;
dp[45][97] = 750969410;
dp[45][98] = 915664434;
dp[45][99] = 335442962;
dp[45][100] = 327801393;
dp[45][101] = 599337662;
dp[45][102] = 151524696;
dp[45][103] = 372580414;
dp[45][104] = 756807473;
dp[45][105] = 202845724;
dp[45][106] = 578628778;
dp[45][107] = 324772867;
dp[45][108] = 495203100;
dp[45][109] = 594805038;
dp[45][110] = 176866440;
dp[45][111] = 134364432;
dp[45][112] = 797477913;
dp[45][113] = 981614510;
dp[45][114] = 128692174;
dp[45][115] = 938852792;
dp[45][116] = 42148884;
dp[45][117] = 122641852;
dp[45][118] = 370944239;
dp[45][119] = 473851910;
dp[45][120] = 935488807;
dp[45][121] = 532851475;
dp[45][122] = 689984371;
dp[45][123] = 438315593;
dp[45][124] = 696398812;
dp[45][125] = 66001022;
dp[45][126] = 428174065;
dp[45][127] = 54501471;
dp[45][128] = 80878480;
dp[45][129] = 666016821;
dp[45][130] = 47295976;
dp[45][131] = 813797397;
dp[45][132] = 317765605;
dp[45][133] = 714997505;
dp[45][134] = 258919731;
dp[45][135] = 82884010;
dp[45][136] = 661027522;
dp[45][137] = 582655484;
dp[45][138] = 361252385;
dp[45][139] = 24311003;
dp[45][140] = 432884688;
dp[45][141] = 368733632;
dp[45][142] = 23821090;
dp[45][143] = 792526029;
dp[45][144] = 846601436;
dp[45][145] = 536812192;
dp[45][146] = 29313630;
dp[45][147] = 382435159;
dp[45][148] = 426147993;
dp[45][149] = 517181759;
dp[45][150] = 645690342;
dp[45][151] = 270896281;
dp[45][152] = 775661220;
dp[45][153] = 283600768;
dp[45][154] = 240876557;
dp[45][155] = 135665693;
dp[45][156] = 104458079;
dp[45][157] = 616729602;
dp[45][158] = 497103691;
dp[45][159] = 828815240;
dp[45][160] = 86098789;
dp[45][161] = 998656307;
dp[45][162] = 754065783;
dp[45][163] = 488969594;
dp[45][164] = 91503702;
dp[45][165] = 52278308;
dp[45][166] = 883359011;
dp[45][167] = 733253122;
dp[45][168] = 448869387;
dp[45][169] = 985543203;
dp[45][170] = 116773170;
dp[45][171] = 582006344;
dp[45][172] = 860482711;
dp[45][173] = 481797421;
dp[45][174] = 498040658;
dp[45][175] = 240829616;
dp[45][176] = 836032529;
dp[45][177] = 195942841;
dp[45][178] = 508465042;
dp[45][179] = 970760583;
dp[45][180] = 262117458;
dp[45][181] = 515914406;
dp[45][182] = 802808161;
dp[45][183] = 784332475;
dp[45][184] = 374122343;
dp[45][185] = 146224696;
dp[45][186] = 841597534;
dp[45][187] = 586439935;
dp[45][188] = 244148601;
dp[45][189] = 788204315;
dp[45][190] = 767547799;
dp[45][191] = 776362337;
dp[45][192] = 510076278;
dp[45][193] = 624681830;
dp[45][194] = 364806405;
dp[45][195] = 36907700;
dp[45][196] = 539421266;
dp[45][197] = 800828005;
dp[45][198] = 512242954;
dp[45][199] = 899834647;
dp[45][200] = 163376162;
dp[45][201] = 50294413;
dp[45][202] = 18654970;
dp[45][203] = 84289561;
dp[45][204] = 55576943;
dp[45][205] = 421249957;
dp[45][206] = 34930346;
dp[45][207] = 752291330;
dp[45][208] = 162276973;
dp[45][209] = 265235612;
dp[45][210] = 648593820;
dp[45][211] = 174309283;
dp[45][212] = 472188614;
dp[45][213] = 715911113;
dp[45][214] = 367773012;
dp[45][215] = 121970433;
dp[45][216] = 269868616;
dp[45][217] = 883985007;
dp[45][218] = 980070897;
dp[45][219] = 514347496;
dp[45][220] = 412293057;
dp[45][221] = 574601560;
dp[45][222] = 116830355;
dp[45][223] = 45453500;
dp[45][224] = 562859501;
dp[45][225] = 189078677;
dp[45][226] = 827602581;
dp[45][227] = 712444490;
dp[45][228] = 316586780;
dp[45][229] = 733065979;
dp[45][230] = 840949184;
dp[45][231] = 60074648;
dp[45][232] = 135398686;
dp[45][233] = 424428452;
dp[45][234] = 321968689;
dp[45][235] = 410040315;
dp[45][236] = 273128858;
dp[45][237] = 471407472;
dp[45][238] = 574966766;
dp[45][239] = 873880166;
dp[45][240] = 875045586;
dp[45][241] = 51088331;
dp[45][242] = 163730111;
dp[45][243] = 878321231;
dp[45][244] = 726127318;
dp[45][245] = 966070068;
dp[45][246] = 992549896;
dp[45][247] = 363335253;
dp[45][248] = 89848987;
dp[45][249] = 723352311;
dp[45][250] = 66759579;
dp[45][251] = 406269326;
dp[45][252] = 227087300;
dp[45][253] = 150259572;
dp[45][254] = 36586234;
dp[45][255] = 121181736;
dp[45][256] = 671327424;
dp[45][257] = 433664784;
dp[45][258] = 948164313;
dp[45][259] = 657988535;
dp[45][260] = 451431758;
dp[45][261] = 352880293;
dp[45][262] = 341991927;
dp[45][263] = 179834471;
dp[45][264] = 17796695;
dp[45][265] = 709446365;
dp[45][266] = 576526708;
dp[45][267] = 534876965;
dp[45][268] = 620591563;
dp[45][269] = 749402589;
dp[45][270] = 628280366;
dp[45][271] = 213414310;
dp[45][272] = 982746106;
dp[45][273] = 780180633;
dp[45][274] = 458647121;
dp[45][275] = 527146575;
dp[45][276] = 210950823;
dp[45][277] = 363805011;
dp[45][278] = 571210392;
dp[45][279] = 912463620;
dp[45][280] = 153315485;
dp[45][281] = 532024632;
dp[45][282] = 427468951;
dp[45][283] = 230879114;
dp[45][284] = 869803861;
dp[45][285] = 964025520;
dp[45][286] = 480715223;
dp[45][287] = 895116735;
dp[45][288] = 766188327;
dp[45][289] = 419338263;
dp[45][290] = 475074013;
dp[45][291] = 158183698;
dp[45][292] = 899486620;
dp[45][293] = 551866464;
dp[45][294] = 830407504;
dp[45][295] = 385674668;
dp[45][296] = 305150124;
dp[45][297] = 25769566;
dp[45][298] = 438519248;
dp[45][299] = 46473036;
dp[45][300] = 427624180;
dp[45][301] = 723264512;
dp[45][302] = 651472006;
dp[45][303] = 264633252;
dp[45][304] = 457374493;
dp[45][305] = 476392005;
dp[45][306] = 982968243;
dp[45][307] = 594462543;
dp[45][308] = 141658727;
dp[45][309] = 489344824;
dp[45][310] = 433530156;
dp[45][311] = 442633667;
dp[45][312] = 193279091;
dp[45][313] = 506366676;
dp[45][314] = 618868695;
dp[45][315] = 731227096;
dp[45][316] = 902261819;
dp[45][317] = 499005142;
dp[45][318] = 38842574;
dp[45][319] = 647293009;
dp[45][320] = 470120821;
dp[45][321] = 963932040;
dp[45][322] = 826530559;
dp[45][323] = 427769181;
dp[45][324] = 52186234;
dp[45][325] = 243569284;
dp[45][326] = 806914289;
dp[45][327] = 77294303;
dp[45][328] = 605077946;
dp[45][329] = 125786816;
dp[45][330] = 193185124;
dp[45][331] = 669741115;
dp[45][332] = 146483601;
dp[45][333] = 421911450;
dp[45][334] = 244025223;
dp[45][335] = 607708016;
dp[45][336] = 920909811;
dp[45][337] = 503255382;
dp[45][338] = 458139691;
dp[45][339] = 962827176;
dp[45][340] = 614853461;
dp[45][341] = 60315827;
dp[45][342] = 350564197;
dp[45][343] = 429760397;
dp[45][344] = 252570002;
dp[45][345] = 854719144;
dp[45][346] = 336843776;
dp[45][347] = 342192419;
dp[45][348] = 596659989;
dp[45][349] = 924243516;
dp[45][350] = 172320579;
dp[45][351] = 980212083;
dp[45][352] = 387574794;
dp[45][353] = 749118912;
dp[45][354] = 796421442;
dp[45][355] = 338721201;
dp[45][356] = 731277700;
dp[45][357] = 423355068;
dp[45][358] = 842226704;
dp[45][359] = 398877706;
dp[45][360] = 643899462;
dp[45][361] = 276311394;
dp[45][362] = 413568057;
dp[45][363] = 530987554;
dp[45][364] = 558156380;
dp[45][365] = 825270018;
dp[45][366] = 71652153;
dp[45][367] = 764304967;
dp[45][368] = 575174245;
dp[45][369] = 41877959;
dp[45][370] = 189656159;
dp[45][371] = 729954858;
dp[45][372] = 472722511;
dp[45][373] = 759829544;
dp[45][374] = 285982254;
dp[45][375] = 921037034;
dp[45][376] = 543320666;
dp[45][377] = 873711613;
dp[45][378] = 829723375;
dp[45][379] = 146980729;
dp[45][380] = 88768980;
dp[45][381] = 242470712;
dp[45][382] = 9284436;
dp[45][383] = 325379730;
dp[45][384] = 426922557;
dp[45][385] = 253585643;
dp[45][386] = 473459335;
dp[45][387] = 496125795;
dp[45][388] = 212116723;
dp[45][389] = 579959160;
dp[45][390] = 525505189;
dp[45][391] = 681915634;
dp[45][392] = 797942363;
dp[45][393] = 691505794;
dp[45][394] = 454823298;
dp[45][395] = 342255990;
dp[45][396] = 994255712;
dp[45][397] = 284908161;
dp[45][398] = 275004161;
dp[45][399] = 935102263;
dp[45][400] = 472107098;
dp[45][401] = 948357256;
dp[45][402] = 856671615;
dp[45][403] = 528973823;
dp[45][404] = 649773881;
dp[45][405] = 963952149;
dp[45][406] = 308388016;
dp[45][407] = 911396221;
dp[45][408] = 251193820;
dp[45][409] = 721175020;
dp[45][410] = 199750213;
dp[45][411] = 907595892;
dp[45][412] = 491208059;
dp[45][413] = 66513541;
dp[45][414] = 911357998;
dp[45][415] = 28185931;
dp[45][416] = 408941602;
dp[45][417] = 745821213;
dp[45][418] = 601730782;
dp[45][419] = 8869191;
dp[45][420] = 260152446;
dp[45][421] = 11616084;
dp[45][422] = 492782894;
dp[45][423] = 282010506;
dp[45][424] = 115926945;
dp[45][425] = 586669273;
dp[45][426] = 760307966;
dp[45][427] = 135350671;
dp[45][428] = 730510115;
dp[45][429] = 701832702;
dp[45][430] = 230080848;
dp[45][431] = 284697593;
dp[45][432] = 182609947;
dp[45][433] = 968668397;
dp[45][434] = 822892958;
dp[45][435] = 20031466;
dp[45][436] = 582030222;
dp[45][437] = 113170973;
dp[45][438] = 44631330;
dp[45][439] = 117449096;
dp[45][440] = 742186715;
dp[45][441] = 393019551;
dp[45][442] = 475653487;
dp[45][443] = 44400405;
dp[45][444] = 854169605;
dp[45][445] = 417464027;
dp[45][446] = 638137059;
dp[45][447] = 767027912;
dp[45][448] = 156446839;
dp[45][449] = 993857936;
dp[45][450] = 340495049;
dp[45][451] = 620457258;
dp[45][452] = 138844665;
dp[45][453] = 409760846;
dp[45][454] = 178352112;
dp[45][455] = 82788960;
dp[45][456] = 388732194;
dp[45][457] = 649306589;
dp[45][458] = 798058368;
dp[45][459] = 662337136;
dp[45][460] = 564354859;
dp[45][461] = 463324080;
dp[45][462] = 651997437;
dp[45][463] = 151329929;
dp[45][464] = 798760314;
dp[45][465] = 140393196;
dp[45][466] = 82249686;
dp[45][467] = 534814725;
dp[45][468] = 624568021;
dp[45][469] = 130746531;
dp[45][470] = 950081340;
dp[45][471] = 74895509;
dp[45][472] = 582830295;
dp[45][473] = 80288213;
dp[45][474] = 896322580;
dp[45][475] = 930247101;
dp[45][476] = 961634195;
dp[45][477] = 343840503;
dp[45][478] = 151542664;
dp[45][479] = 791653321;
dp[45][480] = 891526646;
dp[45][481] = 512046490;
dp[45][482] = 292522561;
dp[45][483] = 321986893;
dp[45][484] = 483787584;
dp[45][485] = 926080170;
dp[45][486] = 410378864;
dp[45][487] = 504638099;
dp[45][488] = 532986681;
dp[45][489] = 138953386;
dp[45][490] = 701001827;
dp[45][491] = 64586773;
dp[45][492] = 800287681;
dp[45][493] = 592917926;
dp[45][494] = 845148767;
dp[45][495] = 612516645;
dp[45][496] = 103437292;
dp[45][497] = 360749745;
dp[45][498] = 802262044;
dp[45][499] = 905182790;
dp[45][500] = 741928176;
dp[45][501] = 827192105;
dp[45][502] = 608668686;
dp[45][503] = 275550867;
dp[45][504] = 759837767;
dp[45][505] = 768468707;
dp[45][506] = 652063776;
dp[45][507] = 969103143;
dp[46][1] = 1;
dp[46][2] = 45;
dp[46][3] = 1078;
dp[46][4] = 18146;
dp[46][5] = 239803;
dp[46][6] = 2640055;
dp[46][7] = 25119048;
dp[46][8] = 211741156;
dp[46][9] = 609749448;
dp[46][10] = 185787670;
dp[46][11] = 784612981;
dp[46][12] = 979654374;
dp[46][13] = 245960280;
dp[46][14] = 15201333;
dp[46][15] = 958496287;
dp[46][16] = 21110097;
dp[46][17] = 315107827;
dp[46][18] = 742613444;
dp[46][19] = 350112648;
dp[46][20] = 551346765;
dp[46][21] = 22689059;
dp[46][22] = 646342016;
dp[46][23] = 52427180;
dp[46][24] = 113726997;
dp[46][25] = 20972491;
dp[46][26] = 531552248;
dp[46][27] = 493279562;
dp[46][28] = 92962089;
dp[46][29] = 319571072;
dp[46][30] = 658193556;
dp[46][31] = 921146440;
dp[46][32] = 975234478;
dp[46][33] = 32484025;
dp[46][34] = 175484024;
dp[46][35] = 620442122;
dp[46][36] = 566033382;
dp[46][37] = 228886883;
dp[46][38] = 301912152;
dp[46][39] = 137109958;
dp[46][40] = 37427138;
dp[46][41] = 531183271;
dp[46][42] = 684452057;
dp[46][43] = 239066445;
dp[46][44] = 806400806;
dp[46][45] = 345167706;
dp[46][46] = 766401402;
dp[46][47] = 659593100;
dp[46][48] = 342864185;
dp[46][49] = 793254425;
dp[46][50] = 754419464;
dp[46][51] = 829307575;
dp[46][52] = 253460669;
dp[46][53] = 788296808;
dp[46][54] = 455700810;
dp[46][55] = 203460090;
dp[46][56] = 299960617;
dp[46][57] = 672027544;
dp[46][58] = 662169751;
dp[46][59] = 130171479;
dp[46][60] = 226661975;
dp[46][61] = 16040291;
dp[46][62] = 641167104;
dp[46][63] = 11608362;
dp[46][64] = 92735361;
dp[46][65] = 828424038;
dp[46][66] = 151425031;
dp[46][67] = 757058935;
dp[46][68] = 838944903;
dp[46][69] = 705030989;
dp[46][70] = 271605017;
dp[46][71] = 832315720;
dp[46][72] = 525711262;
dp[46][73] = 695893337;
dp[46][74] = 524834613;
dp[46][75] = 616761109;
dp[46][76] = 89325780;
dp[46][77] = 498691877;
dp[46][78] = 390082387;
dp[46][79] = 413410547;
dp[46][80] = 86170624;
dp[46][81] = 733987779;
dp[46][82] = 857386717;
dp[46][83] = 121183471;
dp[46][84] = 378540433;
dp[46][85] = 791481061;
dp[46][86] = 602874536;
dp[46][87] = 895775257;
dp[46][88] = 706223069;
dp[46][89] = 9499;
dp[46][90] = 916233199;
dp[46][91] = 610175789;
dp[46][92] = 305910126;
dp[46][93] = 402086898;
dp[46][94] = 380865911;
dp[46][95] = 987929263;
dp[46][96] = 784720236;
dp[46][97] = 752249361;
dp[46][98] = 533065111;
dp[46][99] = 750214951;
dp[46][100] = 512527924;
dp[46][101] = 120069833;
dp[46][102] = 497034065;
dp[46][103] = 691332267;
dp[46][104] = 542878776;
dp[46][105] = 324018841;
dp[46][106] = 841280375;
dp[46][107] = 368737196;
dp[46][108] = 213532423;
dp[46][109] = 972352910;
dp[46][110] = 856518833;
dp[46][111] = 695976280;
dp[46][112] = 832491001;
dp[46][113] = 482258020;
dp[46][114] = 288928023;
dp[46][115] = 37469870;
dp[46][116] = 669147935;
dp[46][117] = 728824530;
dp[46][118] = 312167670;
dp[46][119] = 98462828;
dp[46][120] = 664815478;
dp[46][121] = 37466991;
dp[46][122] = 488559701;
dp[46][123] = 805407681;
dp[46][124] = 555656112;
dp[46][125] = 449333572;
dp[46][126] = 115257333;
dp[46][127] = 422614443;
dp[46][128] = 217564969;
dp[46][129] = 709154128;
dp[46][130] = 523463461;
dp[46][131] = 73425486;
dp[46][132] = 892488653;
dp[46][133] = 72758100;
dp[46][134] = 139084611;
dp[46][135] = 245397266;
dp[46][136] = 356349189;
dp[46][137] = 258341975;
dp[46][138] = 374070936;
dp[46][139] = 726599734;
dp[46][140] = 907199192;
dp[46][141] = 145474167;
dp[46][142] = 868900328;
dp[46][143] = 80767170;
dp[46][144] = 435742131;
dp[46][145] = 604761267;
dp[46][146] = 550372021;
dp[46][147] = 238314098;
dp[46][148] = 858506407;
dp[46][149] = 406280874;
dp[46][150] = 734533546;
dp[46][151] = 294613351;
dp[46][152] = 569709112;
dp[46][153] = 578499728;
dp[46][154] = 811514468;
dp[46][155] = 971780315;
dp[46][156] = 806793934;
dp[46][157] = 105431100;
dp[46][158] = 109183449;
dp[46][159] = 48863833;
dp[46][160] = 577768093;
dp[46][161] = 679710969;
dp[46][162] = 415227663;
dp[46][163] = 41263734;
dp[46][164] = 575857153;
dp[46][165] = 381654592;
dp[46][166] = 178237376;
dp[46][167] = 962188807;
dp[46][168] = 96401085;
dp[46][169] = 816699360;
dp[46][170] = 379978;
dp[46][171] = 698529453;
dp[46][172] = 815682387;
dp[46][173] = 657011537;
dp[46][174] = 324418972;
dp[46][175] = 693645417;
dp[46][176] = 573047105;
dp[46][177] = 308103161;
dp[46][178] = 882958960;
dp[46][179] = 454854080;
dp[46][180] = 319280881;
dp[46][181] = 638681315;
dp[46][182] = 366562235;
dp[46][183] = 558670399;
dp[46][184] = 767575020;
dp[46][185] = 418970310;
dp[46][186] = 599121706;
dp[46][187] = 533764150;
dp[46][188] = 589341596;
dp[46][189] = 935247125;
dp[46][190] = 342450103;
dp[46][191] = 752510984;
dp[46][192] = 17885861;
dp[46][193] = 270962366;
dp[46][194] = 936052758;
dp[46][195] = 754048953;
dp[46][196] = 578853463;
dp[46][197] = 395299411;
dp[46][198] = 975776432;
dp[46][199] = 660809842;
dp[46][200] = 714104917;
dp[46][201] = 664542262;
dp[46][202] = 888472526;
dp[46][203] = 460099640;
dp[46][204] = 981638523;
dp[46][205] = 92874960;
dp[46][206] = 177231620;
dp[46][207] = 389704303;
dp[46][208] = 815325394;
dp[46][209] = 892076514;
dp[46][210] = 810821143;
dp[46][211] = 435904186;
dp[46][212] = 382196425;
dp[46][213] = 459031152;
dp[46][214] = 355917826;
dp[46][215] = 128881343;
dp[46][216] = 657597142;
dp[46][217] = 768648132;
dp[46][218] = 489510758;
dp[46][219] = 615223177;
dp[46][220] = 785945817;
dp[46][221] = 514595120;
dp[46][222] = 566588750;
dp[46][223] = 607013232;
dp[46][224] = 187911920;
dp[46][225] = 428934627;
dp[46][226] = 690400146;
dp[46][227] = 385480557;
dp[46][228] = 274884476;
dp[46][229] = 214574226;
dp[46][230] = 202705516;
dp[46][231] = 78809920;
dp[46][232] = 768678876;
dp[46][233] = 104566183;
dp[46][234] = 54811645;
dp[46][235] = 783466377;
dp[46][236] = 78714677;
dp[46][237] = 225394661;
dp[46][238] = 571378521;
dp[46][239] = 194681502;
dp[46][240] = 425310485;
dp[46][241] = 768219090;
dp[46][242] = 304793231;
dp[46][243] = 206900396;
dp[46][244] = 615627160;
dp[46][245] = 652872143;
dp[46][246] = 605935098;
dp[46][247] = 888495311;
dp[46][248] = 608958308;
dp[46][249] = 684600222;
dp[46][250] = 150382009;
dp[46][251] = 670451269;
dp[46][252] = 632074742;
dp[46][253] = 29926906;
dp[46][254] = 676412361;
dp[46][255] = 727588975;
dp[46][256] = 541140282;
dp[46][257] = 152873820;
dp[46][258] = 396851079;
dp[46][259] = 644404346;
dp[46][260] = 44361987;
dp[46][261] = 675992732;
dp[46][262] = 795525664;
dp[46][263] = 898044746;
dp[46][264] = 408945421;
dp[46][265] = 518637916;
dp[46][266] = 428148139;
dp[46][267] = 754863856;
dp[46][268] = 398182352;
dp[46][269] = 901207212;
dp[46][270] = 713356422;
dp[46][271] = 978366083;
dp[46][272] = 314876385;
dp[46][273] = 700685480;
dp[46][274] = 450639991;
dp[46][275] = 507197672;
dp[46][276] = 750335365;
dp[46][277] = 694787156;
dp[46][278] = 659670168;
dp[46][279] = 536065922;
dp[46][280] = 58255852;
dp[46][281] = 874808151;
dp[46][282] = 601680063;
dp[46][283] = 300562698;
dp[46][284] = 308983506;
dp[46][285] = 144763409;
dp[46][286] = 291800793;
dp[46][287] = 77526020;
dp[46][288] = 485403753;
dp[46][289] = 904665596;
dp[46][290] = 240987930;
dp[46][291] = 592380858;
dp[46][292] = 131116194;
dp[46][293] = 318805303;
dp[46][294] = 40941643;
dp[46][295] = 253699630;
dp[46][296] = 655235690;
dp[46][297] = 431599614;
dp[46][298] = 508389196;
dp[46][299] = 766960976;
dp[46][300] = 64307752;
dp[46][301] = 83604788;
dp[46][302] = 642165815;
dp[46][303] = 298107337;
dp[46][304] = 143184667;
dp[46][305] = 782909601;
dp[46][306] = 97135064;
dp[46][307] = 800759539;
dp[46][308] = 594114128;
dp[46][309] = 462420032;
dp[46][310] = 946857620;
dp[46][311] = 578998109;
dp[46][312] = 847963761;
dp[46][313] = 556321528;
dp[46][314] = 57391815;
dp[46][315] = 681855904;
dp[46][316] = 181815656;
dp[46][317] = 486333346;
dp[46][318] = 837072759;
dp[46][319] = 524567487;
dp[46][320] = 328595763;
dp[46][321] = 549915998;
dp[46][322] = 810586503;
dp[46][323] = 921107919;
dp[46][324] = 625157836;
dp[46][325] = 520890292;
dp[46][326] = 832156974;
dp[46][327] = 502972509;
dp[46][328] = 844559735;
dp[46][329] = 189855766;
dp[46][330] = 821823028;
dp[46][331] = 625190873;
dp[46][332] = 310510259;
dp[46][333] = 495827691;
dp[46][334] = 683011136;
dp[46][335] = 462720297;
dp[46][336] = 218315456;
dp[46][337] = 558392392;
dp[46][338] = 789434995;
dp[46][339] = 973556645;
dp[46][340] = 730884239;
dp[46][341] = 996176654;
dp[46][342] = 617108310;
dp[46][343] = 869866261;
dp[46][344] = 672230385;
dp[46][345] = 823462275;
dp[46][346] = 454316955;
dp[46][347] = 569646417;
dp[46][348] = 836576125;
dp[46][349] = 486906178;
dp[46][350] = 189726176;
dp[46][351] = 941091111;
dp[46][352] = 447563926;
dp[46][353] = 715506888;
dp[46][354] = 259006307;
dp[46][355] = 152570437;
dp[46][356] = 178255829;
dp[46][357] = 705545293;
dp[46][358] = 756368978;
dp[46][359] = 655390691;
dp[46][360] = 445318929;
dp[46][361] = 656847742;
dp[46][362] = 582354283;
dp[46][363] = 964611397;
dp[46][364] = 757172000;
dp[46][365] = 601301680;
dp[46][366] = 424348696;
dp[46][367] = 51484783;
dp[46][368] = 19240319;
dp[46][369] = 282677827;
dp[46][370] = 308226295;
dp[46][371] = 848392338;
dp[46][372] = 155829926;
dp[46][373] = 371112122;
dp[46][374] = 224524783;
dp[46][375] = 972970693;
dp[46][376] = 890401898;
dp[46][377] = 186586738;
dp[46][378] = 229535528;
dp[46][379] = 744395297;
dp[46][380] = 436751188;
dp[46][381] = 287103606;
dp[46][382] = 767393594;
dp[46][383] = 221149011;
dp[46][384] = 725319915;
dp[46][385] = 148703291;
dp[46][386] = 142739608;
dp[46][387] = 565503173;
dp[46][388] = 66967587;
dp[46][389] = 579759051;
dp[46][390] = 568848401;
dp[46][391] = 146971072;
dp[46][392] = 400042251;
dp[46][393] = 42796974;
dp[46][394] = 930117091;
dp[46][395] = 516575412;
dp[46][396] = 958322295;
dp[46][397] = 49672443;
dp[46][398] = 25502320;
dp[46][399] = 669481138;
dp[46][400] = 837449618;
dp[46][401] = 7837933;
dp[46][402] = 569472200;
dp[46][403] = 125364493;
dp[46][404] = 253977071;
dp[46][405] = 938687542;
dp[46][406] = 347213905;
dp[46][407] = 923213402;
dp[46][408] = 374713215;
dp[46][409] = 103889249;
dp[46][410] = 423021360;
dp[46][411] = 42560340;
dp[46][412] = 446498368;
dp[46][413] = 893011213;
dp[46][414] = 263552847;
dp[46][415] = 473020638;
dp[46][416] = 594960497;
dp[46][417] = 638188472;
dp[46][418] = 306243047;
dp[46][419] = 631678307;
dp[46][420] = 460262893;
dp[46][421] = 114330448;
dp[46][422] = 196301356;
dp[46][423] = 120279822;
dp[46][424] = 408786998;
dp[46][425] = 213927614;
dp[46][426] = 687965452;
dp[46][427] = 221650209;
dp[46][428] = 761159253;
dp[46][429] = 159653422;
dp[46][430] = 237951119;
dp[46][431] = 705996510;
dp[46][432] = 183076481;
dp[46][433] = 962207888;
dp[46][434] = 939920456;
dp[46][435] = 729428244;
dp[46][436] = 527536009;
dp[46][437] = 933629825;
dp[46][438] = 48104537;
dp[46][439] = 426892607;
dp[46][440] = 222940406;
dp[46][441] = 156477133;
dp[46][442] = 294062878;
dp[46][443] = 856995315;
dp[46][444] = 562470362;
dp[46][445] = 935041969;
dp[46][446] = 210948751;
dp[46][447] = 968306167;
dp[46][448] = 842365144;
dp[46][449] = 520781012;
dp[46][450] = 542464204;
dp[46][451] = 753086923;
dp[46][452] = 742421303;
dp[46][453] = 62000597;
dp[46][454] = 644679235;
dp[46][455] = 71406991;
dp[46][456] = 633199433;
dp[46][457] = 272647461;
dp[46][458] = 452692051;
dp[46][459] = 412108892;
dp[46][460] = 971466694;
dp[46][461] = 51102980;
dp[46][462] = 982720545;
dp[46][463] = 17172841;
dp[46][464] = 800141833;
dp[46][465] = 835541670;
dp[46][466] = 112517201;
dp[46][467] = 389287762;
dp[46][468] = 451060806;
dp[46][469] = 667438631;
dp[46][470] = 372888210;
dp[46][471] = 71363616;
dp[46][472] = 925222882;
dp[46][473] = 974951293;
dp[46][474] = 516878304;
dp[46][475] = 717488009;
dp[46][476] = 957226897;
dp[46][477] = 42671831;
dp[46][478] = 558776576;
dp[46][479] = 623171604;
dp[46][480] = 305500795;
dp[46][481] = 631070922;
dp[46][482] = 102790598;
dp[46][483] = 482941055;
dp[46][484] = 578335399;
dp[46][485] = 805101814;
dp[46][486] = 173951677;
dp[46][487] = 379242816;
dp[46][488] = 368922629;
dp[46][489] = 730730546;
dp[46][490] = 873191134;
dp[46][491] = 654555294;
dp[46][492] = 282999571;
dp[46][493] = 122452789;
dp[46][494] = 92227034;
dp[46][495] = 843713012;
dp[46][496] = 807240125;
dp[46][497] = 801145367;
dp[46][498] = 399481174;
dp[46][499] = 81195926;
dp[46][500] = 292593849;
dp[46][501] = 487745170;
dp[46][502] = 77737545;
dp[46][503] = 120468361;
dp[46][504] = 275563695;
dp[46][505] = 294725580;
dp[46][506] = 329691567;
dp[46][507] = 323060707;
dp[46][508] = 128192468;
dp[46][509] = 940264172;
dp[46][510] = 278390124;
dp[46][511] = 237020514;
dp[46][512] = 693096287;
dp[46][513] = 868976326;
dp[46][514] = 357620751;
dp[46][515] = 777387506;
dp[46][516] = 600499325;
dp[46][517] = 283061659;
dp[46][518] = 552760619;
dp[46][519] = 551343042;
dp[46][520] = 374674126;
dp[46][521] = 67456147;
dp[46][522] = 355451755;
dp[46][523] = 309520773;
dp[46][524] = 188033652;
dp[46][525] = 438124708;
dp[46][526] = 963234900;
dp[46][527] = 524570431;
dp[46][528] = 966112342;
dp[46][529] = 609641134;
dp[46][530] = 592345761;
dp[47][1] = 1;
dp[47][2] = 46;
dp[47][3] = 1125;
dp[47][4] = 19316;
dp[47][5] = 260197;
dp[47][6] = 2918394;
dp[47][7] = 28277069;
dp[47][8] = 242654144;
dp[47][9] = 877454212;
dp[47][10] = 274093151;
dp[47][11] = 658806941;
dp[47][12] = 733787098;
dp[47][13] = 12686768;
dp[47][14] = 373279778;
dp[47][15] = 972151771;
dp[47][16] = 700803085;
dp[47][17] = 323660829;
dp[47][18] = 529034010;
dp[47][19] = 15342046;
dp[47][20] = 14519348;
dp[47][21] = 617205005;
dp[47][22] = 151932388;
dp[47][23] = 986173050;
dp[47][24] = 673700068;
dp[47][25] = 544467810;
dp[47][26] = 964286681;
dp[47][27] = 515278420;
dp[47][28] = 556139518;
dp[47][29] = 340574896;
dp[47][30] = 558301369;
dp[47][31] = 203169010;
dp[47][32] = 995039572;
dp[47][33] = 456888812;
dp[47][34] = 641435231;
dp[47][35] = 165153057;
dp[47][36] = 140522292;
dp[47][37] = 660622205;
dp[47][38] = 195293121;
dp[47][39] = 536816710;
dp[47][40] = 963078287;
dp[47][41] = 7389104;
dp[47][42] = 204944482;
dp[47][43] = 754195920;
dp[47][44] = 468292992;
dp[47][45] = 782743724;
dp[47][46] = 983001140;
dp[47][47] = 866703245;
dp[47][48] = 496885028;
dp[47][49] = 44229335;
dp[47][50] = 385957410;
dp[47][51] = 278539952;
dp[47][52] = 468949573;
dp[47][53] = 420982388;
dp[47][54] = 313452346;
dp[47][55] = 869856814;
dp[47][56] = 98935497;
dp[47][57] = 204399132;
dp[47][58] = 112520568;
dp[47][59] = 660616311;
dp[47][60] = 229799510;
dp[47][61] = 228233497;
dp[47][62] = 492491671;
dp[47][63] = 631417681;
dp[47][64] = 54933646;
dp[47][65] = 149425728;
dp[47][66] = 621332861;
dp[47][67] = 339088208;
dp[47][68] = 164640489;
dp[47][69] = 629238436;
dp[47][70] = 824895721;
dp[47][71] = 154091091;
dp[47][72] = 876001533;
dp[47][73] = 408513031;
dp[47][74] = 998443240;
dp[47][75] = 581987593;
dp[47][76] = 639413342;
dp[47][77] = 564182232;
dp[47][78] = 919538600;
dp[47][79] = 946772636;
dp[47][80] = 882410774;
dp[47][81] = 972663920;
dp[47][82] = 656083562;
dp[47][83] = 92818;
dp[47][84] = 266781815;
dp[47][85] = 775781699;
dp[47][86] = 746031288;
dp[47][87] = 222736672;
dp[47][88] = 245153398;
dp[47][89] = 853395663;
dp[47][90] = 612580130;
dp[47][91] = 998160370;
dp[47][92] = 644539418;
dp[47][93] = 268757618;
dp[47][94] = 522753001;
dp[47][95] = 961290581;
dp[47][96] = 775849265;
dp[47][97] = 167666621;
dp[47][98] = 207332842;
dp[47][99] = 699178165;
dp[47][100] = 754169098;
dp[47][101] = 895892786;
dp[47][102] = 110804927;
dp[47][103] = 209717022;
dp[47][104] = 224332021;
dp[47][105] = 783584762;
dp[47][106] = 168756823;
dp[47][107] = 846734143;
dp[47][108] = 820517435;
dp[47][109] = 567375827;
dp[47][110] = 214226237;
dp[47][111] = 514413130;
dp[47][112] = 94334242;
dp[47][113] = 56417678;
dp[47][114] = 452070622;
dp[47][115] = 302779049;
dp[47][116] = 643793464;
dp[47][117] = 45275321;
dp[47][118] = 465081583;
dp[47][119] = 721848633;
dp[47][120] = 905142006;
dp[47][121] = 304646178;
dp[47][122] = 594655979;
dp[47][123] = 909007937;
dp[47][124] = 734286949;
dp[47][125] = 886228757;
dp[47][126] = 175346016;
dp[47][127] = 613908391;
dp[47][128] = 543890160;
dp[47][129] = 182181133;
dp[47][130] = 880150750;
dp[47][131] = 840065256;
dp[47][132] = 833202286;
dp[47][133] = 948664835;
dp[47][134] = 99995047;
dp[47][135] = 986587901;
dp[47][136] = 143761895;
dp[47][137] = 873393215;
dp[47][138] = 472341142;
dp[47][139] = 369663112;
dp[47][140] = 813013714;
dp[47][141] = 860504625;
dp[47][142] = 731747262;
dp[47][143] = 545041246;
dp[47][144] = 583231233;
dp[47][145] = 427381591;
dp[47][146] = 37913038;
dp[47][147] = 537312918;
dp[47][148] = 219404202;
dp[47][149] = 592801409;
dp[47][150] = 727962123;
dp[47][151] = 878247573;
dp[47][152] = 121527391;
dp[47][153] = 62101177;
dp[47][154] = 856133295;
dp[47][155] = 688561557;
dp[47][156] = 4927109;
dp[47][157] = 639161755;
dp[47][158] = 216890863;
dp[47][159] = 944378755;
dp[47][160] = 396352437;
dp[47][161] = 878653962;
dp[47][162] = 905668778;
dp[47][163] = 386987830;
dp[47][164] = 935008847;
dp[47][165] = 899701147;
dp[47][166] = 100650401;
dp[47][167] = 955831377;
dp[47][168] = 336099358;
dp[47][169] = 325599961;
dp[47][170] = 655390214;
dp[47][171] = 368725260;
dp[47][172] = 410912881;
dp[47][173] = 868037904;
dp[47][174] = 255016544;
dp[47][175] = 51552711;
dp[47][176] = 320078126;
dp[47][177] = 868474642;
dp[47][178] = 332377928;
dp[47][179] = 241406268;
dp[47][180] = 35418479;
dp[47][181] = 170587950;
dp[47][182] = 775390874;
dp[47][183] = 598922434;
dp[47][184] = 616742075;
dp[47][185] = 563583865;
dp[47][186] = 362204509;
dp[47][187] = 606438997;
dp[47][188] = 894815935;
dp[47][189] = 49721736;
dp[47][190] = 43588534;
dp[47][191] = 841088924;
dp[47][192] = 703571407;
dp[47][193] = 258771291;
dp[47][194] = 525460849;
dp[47][195] = 233015242;
dp[47][196] = 491199815;
dp[47][197] = 325653075;
dp[47][198] = 858892862;
dp[47][199] = 519655123;
dp[47][200] = 115437087;
dp[47][201] = 727491564;
dp[47][202] = 149427446;
dp[47][203] = 582972761;
dp[47][204] = 204458210;
dp[47][205] = 871579136;
dp[47][206] = 737982490;
dp[47][207] = 129452738;
dp[47][208] = 424878982;
dp[47][209] = 856725917;
dp[47][210] = 336920826;
dp[47][211] = 730532856;
dp[47][212] = 841738688;
dp[47][213] = 738232572;
dp[47][214] = 913319995;
dp[47][215] = 816486040;
dp[47][216] = 235770118;
dp[47][217] = 427698004;
dp[47][218] = 930569686;
dp[47][219] = 569011751;
dp[47][220] = 212446463;
dp[47][221] = 508105319;
dp[47][222] = 803897811;
dp[47][223] = 496189040;
dp[47][224] = 948372030;
dp[47][225] = 432798655;
dp[47][226] = 784691260;
dp[47][227] = 809769369;
dp[47][228] = 691850475;
dp[47][229] = 577558004;
dp[47][230] = 62715847;
dp[47][231] = 947764060;
dp[47][232] = 196109904;
dp[47][233] = 506172286;
dp[47][234] = 447735266;
dp[47][235] = 980867772;
dp[47][236] = 417186123;
dp[47][237] = 46557919;
dp[47][238] = 986790130;
dp[47][239] = 277584037;
dp[47][240] = 822619391;
dp[47][241] = 621076591;
dp[47][242] = 388367593;
dp[47][243] = 68342324;
dp[47][244] = 236699370;
dp[47][245] = 119970164;
dp[47][246] = 657351210;
dp[47][247] = 878868802;
dp[47][248] = 794459312;
dp[47][249] = 436412351;
dp[47][250] = 290870119;
dp[47][251] = 503296346;
dp[47][252] = 564802634;
dp[47][253] = 58773734;
dp[47][254] = 218770767;
dp[47][255] = 842309450;
dp[47][256] = 694735121;
dp[47][257] = 712067611;
dp[47][258] = 605426442;
dp[47][259] = 634737321;
dp[47][260] = 598847809;
dp[47][261] = 189964014;
dp[47][262] = 104895974;
dp[47][263] = 463967300;
dp[47][264] = 12836011;
dp[47][265] = 374171101;
dp[47][266] = 422839429;
dp[47][267] = 769990513;
dp[47][268] = 562838372;
dp[47][269] = 23465799;
dp[47][270] = 935303296;
dp[47][271] = 758855803;
dp[47][272] = 832260567;
dp[47][273] = 373886738;
dp[47][274] = 362866660;
dp[47][275] = 831747060;
dp[47][276] = 745193763;
dp[47][277] = 842521525;
dp[47][278] = 971131364;
dp[47][279] = 323409153;
dp[47][280] = 328965945;
dp[47][281] = 810807795;
dp[47][282] = 987986960;
dp[47][283] = 514599613;
dp[47][284] = 697337301;
dp[47][285] = 518676386;
dp[47][286] = 255182547;
dp[47][287] = 320862033;
dp[47][288] = 438306682;
dp[47][289] = 656059329;
dp[47][290] = 246817307;
dp[47][291] = 296427451;
dp[47][292] = 518314128;
dp[47][293] = 212813255;
dp[47][294] = 401599307;
dp[47][295] = 322632262;
dp[47][296] = 651271379;
dp[47][297] = 102975853;
dp[47][298] = 978392574;
dp[47][299] = 171788197;
dp[47][300] = 425477753;
dp[47][301] = 865141598;
dp[47][302] = 200230496;
dp[47][303] = 352371432;
dp[47][304] = 128877128;
dp[47][305] = 483645145;
dp[47][306] = 487174027;
dp[47][307] = 207964600;
dp[47][308] = 565016864;
dp[47][309] = 366179929;
dp[47][310] = 769999162;
dp[47][311] = 980709292;
dp[47][312] = 279413092;
dp[47][313] = 778963675;
dp[47][314] = 322935221;
dp[47][315] = 775556840;
dp[47][316] = 152203885;
dp[47][317] = 621120920;
dp[47][318] = 754303914;
dp[47][319] = 144652778;
dp[47][320] = 603456104;
dp[47][321] = 397495432;
dp[47][322] = 911648885;
dp[47][323] = 161631342;
dp[47][324] = 183072379;
dp[47][325] = 436197254;
dp[47][326] = 410415743;
dp[47][327] = 654211646;
dp[47][328] = 998944149;
dp[47][329] = 660332881;
dp[47][330] = 659092994;
dp[47][331] = 407158213;
dp[47][332] = 993390015;
dp[47][333] = 62237745;
dp[47][334] = 342306369;
dp[47][335] = 807083806;
dp[47][336] = 460112259;
dp[47][337] = 598009122;
dp[47][338] = 34231667;
dp[47][339] = 354435262;
dp[47][340] = 237881432;
dp[47][341] = 155417941;
dp[47][342] = 495370397;
dp[47][343] = 996923439;
dp[47][344] = 566380833;
dp[47][345] = 854227389;
dp[47][346] = 702509945;
dp[47][347] = 42544433;
dp[47][348] = 284265702;
dp[47][349] = 294553519;
dp[47][350] = 149363293;
dp[47][351] = 27077251;
dp[47][352] = 84953964;
dp[47][353] = 442875086;
dp[47][354] = 52560456;
dp[47][355] = 900402134;
dp[47][356] = 145229989;
dp[47][357] = 73758817;
dp[47][358] = 191009440;
dp[47][359] = 854994962;
dp[47][360] = 638721915;
dp[47][361] = 122661714;
dp[47][362] = 185868970;
dp[47][363] = 77283521;
dp[47][364] = 869275152;
dp[47][365] = 18655948;
dp[47][366] = 313026284;
dp[47][367] = 709600476;
dp[47][368] = 473812539;
dp[47][369] = 310414874;
dp[47][370] = 881320952;
dp[47][371] = 952459523;
dp[47][372] = 248120422;
dp[47][373] = 525865505;
dp[47][374] = 878780555;
dp[47][375] = 987277088;
dp[47][376] = 840681160;
dp[47][377] = 676792790;
dp[47][378] = 412115993;
dp[47][379] = 140030918;
dp[47][380] = 974129475;
dp[47][381] = 721196483;
dp[47][382] = 656805079;
dp[47][383] = 905290349;
dp[47][384] = 47935904;
dp[47][385] = 451920705;
dp[47][386] = 209356056;
dp[47][387] = 551066765;
dp[47][388] = 377150442;
dp[47][389] = 379611973;
dp[47][390] = 957219941;
dp[47][391] = 151470005;
dp[47][392] = 815021467;
dp[47][393] = 645207971;
dp[47][394] = 427463516;
dp[47][395] = 863082600;
dp[47][396] = 325313522;
dp[47][397] = 124436219;
dp[47][398] = 624577057;
dp[47][399] = 614877838;
dp[47][400] = 455973640;
dp[47][401] = 851822937;
dp[47][402] = 25478672;
dp[47][403] = 694724523;
dp[47][404] = 841056623;
dp[47][405] = 311625157;
dp[47][406] = 733217559;
dp[47][407] = 234679922;
dp[47][408] = 488590424;
dp[47][409] = 672460808;
dp[47][410] = 393534712;
dp[47][411] = 496209755;
dp[47][412] = 929085969;
dp[47][413] = 673429468;
dp[47][414] = 675205481;
dp[47][415] = 477828672;
dp[47][416] = 541309112;
dp[47][417] = 421475544;
dp[47][418] = 478494486;
dp[47][419] = 773959869;
dp[47][420] = 620756099;
dp[47][421] = 817295158;
dp[47][422] = 343366608;
dp[47][423] = 474968096;
dp[47][424] = 138789669;
dp[47][425] = 1261477;
dp[47][426] = 581929663;
dp[47][427] = 193727536;
dp[47][428] = 890932863;
dp[47][429] = 10823177;
dp[47][430] = 566850894;
dp[47][431] = 774883564;
dp[47][432] = 16714666;
dp[47][433] = 326523886;
dp[47][434] = 969386350;
dp[47][435] = 297903394;
dp[47][436] = 330603328;
dp[47][437] = 602435368;
dp[47][438] = 640131734;
dp[47][439] = 422205271;
dp[47][440] = 722651837;
dp[47][441] = 536164302;
dp[47][442] = 931111157;
dp[47][443] = 119137488;
dp[47][444] = 728875089;
dp[47][445] = 985577117;
dp[47][446] = 985476890;
dp[47][447] = 17918009;
dp[47][448] = 917723365;
dp[47][449] = 472997173;
dp[47][450] = 89115107;
dp[47][451] = 916366434;
dp[47][452] = 502538821;
dp[47][453] = 230961609;
dp[47][454] = 303908854;
dp[47][455] = 617061492;
dp[47][456] = 736625515;
dp[47][457] = 131713887;
dp[47][458] = 339453221;
dp[47][459] = 738950163;
dp[47][460] = 633262610;
dp[47][461] = 426758031;
dp[47][462] = 238112917;
dp[47][463] = 779917917;
dp[47][464] = 838020550;
dp[47][465] = 66019448;
dp[47][466] = 650675847;
dp[47][467] = 778117049;
dp[47][468] = 610691432;
dp[47][469] = 213274580;
dp[47][470] = 385410347;
dp[47][471] = 146924004;
dp[47][472] = 364868172;
dp[47][473] = 467790003;
dp[47][474] = 719723336;
dp[47][475] = 134820272;
dp[47][476] = 752419541;
dp[47][477] = 477278067;
dp[47][478] = 249134595;
dp[47][479] = 704095466;
dp[47][480] = 475445405;
dp[47][481] = 736299900;
dp[47][482] = 879265925;
dp[47][483] = 152926089;
dp[47][484] = 845846141;
dp[47][485] = 495967193;
dp[47][486] = 279498385;
dp[47][487] = 571884448;
dp[47][488] = 188818617;
dp[47][489] = 160584873;
dp[47][490] = 477296264;
dp[47][491] = 718325160;
dp[47][492] = 376134972;
dp[47][493] = 29944771;
dp[47][494] = 994040918;
dp[47][495] = 900529668;
dp[47][496] = 502667072;
dp[47][497] = 63109761;
dp[47][498] = 493032874;
dp[47][499] = 781301515;
dp[47][500] = 461834757;
dp[47][501] = 82343644;
dp[47][502] = 481132313;
dp[47][503] = 514447042;
dp[47][504] = 33858163;
dp[47][505] = 779555233;
dp[47][506] = 748165656;
dp[47][507] = 15592733;
dp[47][508] = 72424287;
dp[47][509] = 572256728;
dp[47][510] = 868353288;
dp[47][511] = 210902382;
dp[47][512] = 873738113;
dp[47][513] = 462082508;
dp[47][514] = 116372507;
dp[47][515] = 317994063;
dp[47][516] = 320661573;
dp[47][517] = 43412947;
dp[47][518] = 698165915;
dp[47][519] = 782179405;
dp[47][520] = 544478699;
dp[47][521] = 376533191;
dp[47][522] = 591100852;
dp[47][523] = 669522818;
dp[47][524] = 718785967;
dp[47][525] = 689856669;
dp[47][526] = 868867194;
dp[47][527] = 692259782;
dp[47][528] = 326169003;
dp[47][529] = 372530014;
dp[47][530] = 278822874;
dp[47][531] = 245059471;
dp[47][532] = 536750832;
dp[47][533] = 337386716;
dp[47][534] = 351509954;
dp[47][535] = 600150419;
dp[47][536] = 771930319;
dp[47][537] = 812137400;
dp[47][538] = 268506281;
dp[47][539] = 52663290;
dp[47][540] = 576040882;
dp[47][541] = 250206016;
dp[47][542] = 182636529;
dp[47][543] = 238498760;
dp[47][544] = 83748189;
dp[47][545] = 556944302;
dp[47][546] = 408365242;
dp[47][547] = 877381661;
dp[47][548] = 687598532;
dp[47][549] = 206936328;
dp[47][550] = 93325077;
dp[47][551] = 375585930;
dp[47][552] = 311118119;
dp[47][553] = 840250578;
dp[48][1] = 1;
dp[48][2] = 47;
dp[48][3] = 1173;
dp[48][4] = 20535;
dp[48][5] = 281857;
dp[48][6] = 3219563;
dp[48][7] = 31756649;
dp[48][8] = 277324867;
dp[48][9] = 182983217;
dp[48][10] = 698763572;
dp[48][11] = 224340727;
dp[48][12] = 130185913;
dp[48][13] = 938338213;
dp[48][14] = 457596872;
dp[48][15] = 500667258;
dp[48][16] = 726272186;
dp[48][17] = 242531386;
dp[48][18] = 490324006;
dp[48][19] = 697265581;
dp[48][20] = 186365736;
dp[48][21] = 123707347;
dp[48][22] = 149163288;
dp[48][23] = 89978475;
dp[48][24] = 985283339;
dp[48][25] = 584841356;
dp[48][26] = 785509005;
dp[48][27] = 693590689;
dp[48][28] = 256394211;
dp[48][29] = 919078587;
dp[48][30] = 671307265;
dp[48][31] = 271140497;
dp[48][32] = 146527772;
dp[48][33] = 508423202;
dp[48][34] = 678732983;
dp[48][35] = 767147115;
dp[48][36] = 418422439;
dp[48][37] = 470469749;
dp[48][38] = 411147184;
dp[48][39] = 246424306;
dp[48][40] = 580998273;
dp[48][41] = 228726677;
dp[48][42] = 964726100;
dp[48][43] = 955513349;
dp[48][44] = 444565758;
dp[48][45] = 668191949;
dp[48][46] = 622619432;
dp[48][47] = 792082487;
dp[48][48] = 929348032;
dp[48][49] = 601983375;
dp[48][50] = 875985614;
dp[48][51] = 424117930;
dp[48][52] = 730694027;
dp[48][53] = 740975250;
dp[48][54] = 920167707;
dp[48][55] = 500437835;
dp[48][56] = 690210005;
dp[48][57] = 493329701;
dp[48][58] = 913508192;
dp[48][59] = 695611331;
dp[48][60] = 515433292;
dp[48][61] = 682059417;
dp[48][62] = 760833644;
dp[48][63] = 299135864;
dp[48][64] = 144219873;
dp[48][65] = 937695856;
dp[48][66] = 872711671;
dp[48][67] = 176916492;
dp[48][68] = 348891212;
dp[48][69] = 334587033;
dp[48][70] = 49595521;
dp[48][71] = 749704350;
dp[48][72] = 806067034;
dp[48][73] = 773327860;
dp[48][74] = 183297942;
dp[48][75] = 590517602;
dp[48][76] = 642228939;
dp[48][77] = 275941227;
dp[48][78] = 305722242;
dp[48][79] = 165986509;
dp[48][80] = 644370063;
dp[48][81] = 71211109;
dp[48][82] = 994092320;
dp[48][83] = 193064301;
dp[48][84] = 728492690;
dp[48][85] = 76982066;
dp[48][86] = 397536959;
dp[48][87] = 240992716;
dp[48][88] = 459846893;
dp[48][89] = 745186728;
dp[48][90] = 715105963;
dp[48][91] = 864528752;
dp[48][92] = 8495685;
dp[48][93] = 753272988;
dp[48][94] = 61740216;
dp[48][95] = 691254120;
dp[48][96] = 133693721;
dp[48][97] = 536597663;
dp[48][98] = 806042634;
dp[48][99] = 964981978;
dp[48][100] = 37162518;
dp[48][101] = 164112239;
dp[48][102] = 637759779;
dp[48][103] = 841824460;
dp[48][104] = 829311498;
dp[48][105] = 573961610;
dp[48][106] = 622092127;
dp[48][107] = 856298148;
dp[48][108] = 23010232;
dp[48][109] = 90428839;
dp[48][110] = 608194623;
dp[48][111] = 46765621;
dp[48][112] = 381935126;
dp[48][113] = 362962166;
dp[48][114] = 452925715;
dp[48][115] = 585602790;
dp[48][116] = 768818647;
dp[48][117] = 88708532;
dp[48][118] = 942042803;
dp[48][119] = 418311021;
dp[48][120] = 521378251;
dp[48][121] = 499003594;
dp[48][122] = 126819649;
dp[48][123] = 281499536;
dp[48][124] = 951375086;
dp[48][125] = 146412815;
dp[48][126] = 883657287;
dp[48][127] = 598780576;
dp[48][128] = 163659546;
dp[48][129] = 959278876;
dp[48][130] = 560517421;
dp[48][131] = 665346319;
dp[48][132] = 929162776;
dp[48][133] = 164983787;
dp[48][134] = 77699826;
dp[48][135] = 451232846;
dp[48][136] = 342897676;
dp[48][137] = 483260356;
dp[48][138] = 399557298;
dp[48][139] = 954841649;
dp[48][140] = 593150358;
dp[48][141] = 617703430;
dp[48][142] = 292815034;
dp[48][143] = 3827776;
dp[48][144] = 631211917;
dp[48][145] = 629217856;
dp[48][146] = 387782790;
dp[48][147] = 117795063;
dp[48][148] = 964508694;
dp[48][149] = 824603912;
dp[48][150] = 347867132;
dp[48][151] = 217932218;
dp[48][152] = 808071571;
dp[48][153] = 466159291;
dp[48][154] = 919428338;
dp[48][155] = 306867765;
dp[48][156] = 310085680;
dp[48][157] = 347929669;
dp[48][158] = 103137973;
dp[48][159] = 445637697;
dp[48][160] = 645585557;
dp[48][161] = 573817817;
dp[48][162] = 596387955;
dp[48][163] = 672995733;
dp[48][164] = 578127218;
dp[48][165] = 402908135;
dp[48][166] = 115353766;
dp[48][167] = 244018895;
dp[48][168] = 365778204;
dp[48][169] = 555835033;
dp[48][170] = 188328988;
dp[48][171] = 247770780;
dp[48][172] = 214263457;
dp[48][173] = 844226086;
dp[48][174] = 575129810;
dp[48][175] = 998900133;
dp[48][176] = 642186262;
dp[48][177] = 886066131;
dp[48][178] = 9933705;
dp[48][179] = 609621463;
dp[48][180] = 398319031;
dp[48][181] = 223920768;
dp[48][182] = 209742125;
dp[48][183] = 519163806;
dp[48][184] = 74615456;
dp[48][185] = 814536291;
dp[48][186] = 217678251;
dp[48][187] = 205417278;
dp[48][188] = 306418059;
dp[48][189] = 464475526;
dp[48][190] = 330591049;
dp[48][191] = 614947407;
dp[48][192] = 841330174;
dp[48][193] = 17421893;
dp[48][194] = 462387593;
dp[48][195] = 572435987;
dp[48][196] = 550253368;
dp[48][197] = 393354277;
dp[48][198] = 125715312;
dp[48][199] = 124567536;
dp[48][200] = 533400012;
dp[48][201] = 599797708;
dp[48][202] = 528236566;
dp[48][203] = 670562226;
dp[48][204] = 867851657;
dp[48][205] = 488086533;
dp[48][206] = 312725786;
dp[48][207] = 238592338;
dp[48][208] = 37063455;
dp[48][209] = 385067665;
dp[48][210] = 487783197;
dp[48][211] = 118051898;
dp[48][212] = 700641656;
dp[48][213] = 71282753;
dp[48][214] = 435781034;
dp[48][215] = 103306472;
dp[48][216] = 894876554;
dp[48][217] = 845215295;
dp[48][218] = 848516;
dp[48][219] = 105817111;
dp[48][220] = 455104275;
dp[48][221] = 971250603;
dp[48][222] = 659938256;
dp[48][223] = 173306291;
dp[48][224] = 702024160;
dp[48][225] = 716038595;
dp[48][226] = 487118454;
dp[48][227] = 170680030;
dp[48][228] = 880373959;
dp[48][229] = 881689085;
dp[48][230] = 153725278;
dp[48][231] = 74926408;
dp[48][232] = 143593976;
dp[48][233] = 537712434;
dp[48][234] = 635112688;
dp[48][235] = 530810156;
dp[48][236] = 750175992;
dp[48][237] = 211491335;
dp[48][238] = 495469862;
dp[48][239] = 938874667;
dp[48][240] = 906814766;
dp[48][241] = 530322450;
dp[48][242] = 654580872;
dp[48][243] = 345961757;
dp[48][244] = 642596517;
dp[48][245] = 63791230;
dp[48][246] = 944154048;
dp[48][247] = 670877958;
dp[48][248] = 937127089;
dp[48][249] = 186748489;
dp[48][250] = 915912734;
dp[48][251] = 209561832;
dp[48][252] = 276486399;
dp[48][253] = 229476817;
dp[48][254] = 558761321;
dp[48][255] = 226557040;
dp[48][256] = 227364465;
dp[48][257] = 312169979;
dp[48][258] = 745218623;
dp[48][259] = 741668605;
dp[48][260] = 732242764;
dp[48][261] = 141121784;
dp[48][262] = 862165956;
dp[48][263] = 612899824;
dp[48][264] = 26577011;
dp[48][265] = 945385273;
dp[48][266] = 251793938;
dp[48][267] = 946782241;
dp[48][268] = 731260038;
dp[48][269] = 244678083;
dp[48][270] = 406380914;
dp[48][271] = 904932224;
dp[48][272] = 539791264;
dp[48][273] = 681567161;
dp[48][274] = 903979395;
dp[48][275] = 522313639;
dp[48][276] = 307479666;
dp[48][277] = 592336384;
dp[48][278] = 274405785;
dp[48][279] = 808155145;
dp[48][280] = 116439879;
dp[48][281] = 610551965;
dp[48][282] = 466693001;
dp[48][283] = 783212908;
dp[48][284] = 356926408;
dp[48][285] = 441684284;
dp[48][286] = 460337698;
dp[48][287] = 929744044;
dp[48][288] = 6376955;
dp[48][289] = 718008169;
dp[48][290] = 946348344;
dp[48][291] = 771828366;
dp[48][292] = 973818233;
dp[48][293] = 895371075;
dp[48][294] = 977137826;
dp[48][295] = 380169268;
dp[48][296] = 772257849;
dp[48][297] = 31334848;
dp[48][298] = 472603919;
dp[48][299] = 411133545;
dp[48][300] = 814229722;
dp[48][301] = 268412684;
dp[48][302] = 269984826;
dp[48][303] = 925865608;
dp[48][304] = 465876593;
dp[48][305] = 90547760;
dp[48][306] = 192297128;
dp[48][307] = 107314233;
dp[48][308] = 564985934;
dp[48][309] = 624177562;
dp[48][310] = 939350415;
dp[48][311] = 164843750;
dp[48][312] = 127698384;
dp[48][313] = 375467125;
dp[48][314] = 733175906;
dp[48][315] = 272735725;
dp[48][316] = 449176665;
dp[48][317] = 148653187;
dp[48][318] = 981408173;
dp[48][319] = 518395662;
dp[48][320] = 539465581;
dp[48][321] = 376426572;
dp[48][322] = 523018009;
dp[48][323] = 244326749;
dp[48][324] = 117372211;
dp[48][325] = 788925566;
dp[48][326] = 998562683;
dp[48][327] = 66998700;
dp[48][328] = 958836224;
dp[48][329] = 912519308;
dp[48][330] = 243826028;
dp[48][331] = 372775429;
dp[48][332] = 817271079;
dp[48][333] = 249393258;
dp[48][334] = 980817911;
dp[48][335] = 290157076;
dp[48][336] = 803249202;
dp[48][337] = 54296904;
dp[48][338] = 967950499;
dp[48][339] = 259586185;
dp[48][340] = 891527285;
dp[48][341] = 197070576;
dp[48][342] = 229312354;
dp[48][343] = 227197980;
dp[48][344] = 799697366;
dp[48][345] = 938796541;
dp[48][346] = 780082061;
dp[48][347] = 90937344;
dp[48][348] = 484280959;
dp[48][349] = 41280132;
dp[48][350] = 365255061;
dp[48][351] = 357940368;
dp[48][352] = 463355056;
dp[48][353] = 931322797;
dp[48][354] = 484716584;
dp[48][355] = 549219150;
dp[48][356] = 927360223;
dp[48][357] = 836260928;
dp[48][358] = 974511964;
dp[48][359] = 168938341;
dp[48][360] = 138740543;
dp[48][361] = 617041490;
dp[48][362] = 552137623;
dp[48][363] = 940491117;
dp[48][364] = 311751083;
dp[48][365] = 797191757;
dp[48][366] = 581186247;
dp[48][367] = 747525174;
dp[48][368] = 464341615;
dp[48][369] = 45074367;
dp[48][370] = 877273095;
dp[48][371] = 118604361;
dp[48][372] = 820377975;
dp[48][373] = 651223472;
dp[48][374] = 330450797;
dp[48][375] = 299712101;
dp[48][376] = 798402816;
dp[48][377] = 155978336;
dp[48][378] = 76119913;
dp[48][379] = 279749437;
dp[48][380] = 94544299;
dp[48][381] = 576902970;
dp[48][382] = 337821847;
dp[48][383] = 762491092;
dp[48][384] = 205421212;
dp[48][385] = 628488971;
dp[48][386] = 912880168;
dp[48][387] = 293200919;
dp[48][388] = 74345429;
dp[48][389] = 106904237;
dp[48][390] = 117214135;
dp[48][391] = 997309646;
dp[48][392] = 440117215;
dp[48][393] = 601730010;
dp[48][394] = 44099662;
dp[48][395] = 275878624;
dp[48][396] = 579837056;
dp[48][397] = 734358196;
dp[48][398] = 740396992;
dp[48][399] = 105320711;
dp[48][400] = 497734455;
dp[48][401] = 593389397;
dp[48][402] = 892951024;
dp[48][403] = 375888233;
dp[48][404] = 469355971;
dp[48][405] = 904918031;
dp[48][406] = 759963217;
dp[48][407] = 159920933;
dp[48][408] = 656339936;
dp[48][409] = 82028185;
dp[48][410] = 635763012;
dp[48][411] = 494109863;
dp[48][412] = 887577439;
dp[48][413] = 747214684;
dp[48][414] = 51704021;
dp[48][415] = 870514178;
dp[48][416] = 310168296;
dp[48][417] = 344440919;
dp[48][418] = 671389360;
dp[48][419] = 63636271;
dp[48][420] = 867520663;
dp[48][421] = 253359253;
dp[48][422] = 809561479;
dp[48][423] = 515218518;
dp[48][424] = 735486509;
dp[48][425] = 595414813;
dp[48][426] = 855063768;
dp[48][427] = 809133514;
dp[48][428] = 296905455;
dp[48][429] = 403829884;
dp[48][430] = 13706060;
dp[48][431] = 521945271;
dp[48][432] = 406722813;
dp[48][433] = 508410711;
dp[48][434] = 177195219;
dp[48][435] = 735377028;
dp[48][436] = 927006199;
dp[48][437] = 631467156;
dp[48][438] = 561281245;
dp[48][439] = 747357347;
dp[48][440] = 2938426;
dp[48][441] = 465345595;
dp[48][442] = 461810717;
dp[48][443] = 851331500;
dp[48][444] = 936133185;
dp[48][445] = 709629669;
dp[48][446] = 764183492;
dp[48][447] = 336958888;
dp[48][448] = 999734612;
dp[48][449] = 886346709;
dp[48][450] = 929391292;
dp[48][451] = 283117585;
dp[48][452] = 489898780;
dp[48][453] = 493902211;
dp[48][454] = 377860665;
dp[48][455] = 233672406;
dp[48][456] = 313970515;
dp[48][457] = 130449778;
dp[48][458] = 925311516;
dp[48][459] = 829665465;
dp[48][460] = 27964512;
dp[48][461] = 47478431;
dp[48][462] = 502231137;
dp[48][463] = 77997958;
dp[48][464] = 450616449;
dp[48][465] = 231073347;
dp[48][466] = 922519036;
dp[48][467] = 577962078;
dp[48][468] = 74763491;
dp[48][469] = 840109600;
dp[48][470] = 825429573;
dp[48][471] = 325716083;
dp[48][472] = 462423227;
dp[48][473] = 684091307;
dp[48][474] = 610980133;
dp[48][475] = 146344297;
dp[48][476] = 230702558;
dp[48][477] = 840583842;
dp[48][478] = 568780809;
dp[48][479] = 837872774;
dp[48][480] = 467777629;
dp[48][481] = 918753619;
dp[48][482] = 868791683;
dp[48][483] = 692922864;
dp[48][484] = 937076083;
dp[48][485] = 487643358;
dp[48][486] = 553595896;
dp[48][487] = 717484731;
dp[48][488] = 882361644;
dp[48][489] = 739294901;
dp[48][490] = 547711612;
dp[48][491] = 781629368;
dp[48][492] = 821302751;
dp[48][493] = 368923697;
dp[48][494] = 499416921;
dp[48][495] = 374122329;
dp[48][496] = 146178192;
dp[48][497] = 867117817;
dp[48][498] = 743635071;
dp[48][499] = 435195107;
dp[48][500] = 43377741;
dp[48][501] = 23687167;
dp[48][502] = 878990481;
dp[48][503] = 99110158;
dp[48][504] = 262344925;
dp[48][505] = 137035868;
dp[48][506] = 292609610;
dp[48][507] = 625408058;
dp[48][508] = 171070693;
dp[48][509] = 281506530;
dp[48][510] = 350758492;
dp[48][511] = 515834894;
dp[48][512] = 237732608;
dp[48][513] = 828774443;
dp[48][514] = 840832942;
dp[48][515] = 431386878;
dp[48][516] = 857791323;
dp[48][517] = 291378943;
dp[48][518] = 894741249;
dp[48][519] = 559570546;
dp[48][520] = 881728336;
dp[48][521] = 216217018;
dp[48][522] = 497590589;
dp[48][523] = 210577047;
dp[48][524] = 706853900;
dp[48][525] = 528807154;
dp[48][526] = 595327246;
dp[48][527] = 243687205;
dp[48][528] = 679896105;
dp[48][529] = 276389715;
dp[48][530] = 520651743;
dp[48][531] = 981854062;
dp[48][532] = 782051052;
dp[48][533] = 628779694;
dp[48][534] = 482906971;
dp[48][535] = 308000266;
dp[48][536] = 98460224;
dp[48][537] = 329039027;
dp[48][538] = 663453182;
dp[48][539] = 866909422;
dp[48][540] = 358447817;
dp[48][541] = 756042580;
dp[48][542] = 103701857;
dp[48][543] = 530184673;
dp[48][544] = 82157052;
dp[48][545] = 864831037;
dp[48][546] = 833622836;
dp[48][547] = 129557279;
dp[48][548] = 680891914;
dp[48][549] = 903510655;
dp[48][550] = 223117879;
dp[48][551] = 584910098;
dp[48][552] = 872789802;
dp[48][553] = 683398377;
dp[48][554] = 818673921;
dp[48][555] = 424793316;
dp[48][556] = 162530200;
dp[48][557] = 461191009;
dp[48][558] = 233747923;
dp[48][559] = 764377859;
dp[48][560] = 866276050;
dp[48][561] = 20068038;
dp[48][562] = 599500015;
dp[48][563] = 419525268;
dp[48][564] = 504837656;
dp[48][565] = 702339633;
dp[48][566] = 161478719;
dp[48][567] = 731429464;
dp[48][568] = 9977417;
dp[48][569] = 955013204;
dp[48][570] = 944736389;
dp[48][571] = 868359658;
dp[48][572] = 303235910;
dp[48][573] = 570685307;
dp[48][574] = 762022093;
dp[48][575] = 973456873;
dp[48][576] = 491776893;
dp[48][577] = 191155949;
dp[49][1] = 1;
dp[49][2] = 48;
dp[49][3] = 1222;
dp[49][4] = 21804;
dp[49][5] = 304834;
dp[49][6] = 3544928;
dp[49][7] = 35583250;
dp[49][8] = 316123172;
dp[49][9] = 530785426;
dp[49][10] = 505824986;
dp[49][11] = 901343166;
dp[49][12] = 615485588;
dp[49][13] = 789348648;
dp[49][14] = 698747334;
dp[49][15] = 657848248;
dp[49][16] = 964586458;
dp[49][17] = 476943547;
dp[49][18] = 698458295;
dp[49][19] = 801769019;
dp[49][20] = 257736525;
dp[49][21] = 542576587;
dp[49][22] = 933572174;
dp[49][23] = 9542546;
dp[49][24] = 488292838;
dp[49][25] = 779820677;
dp[49][26] = 404677231;
dp[49][27] = 568188493;
dp[49][28] = 931045218;
dp[49][29] = 340825658;
dp[49][30] = 205993974;
dp[49][31] = 185959269;
dp[49][32] = 78058729;
dp[49][33] = 445883053;
dp[49][34] = 431770274;
dp[49][35] = 625502333;
dp[49][36] = 180277174;
dp[49][37] = 804167964;
dp[49][38] = 894493650;
dp[49][39] = 995189957;
dp[49][40] = 934651928;
dp[49][41] = 779076648;
dp[49][42] = 286076285;
dp[49][43] = 196236261;
dp[49][44] = 433504295;
dp[49][45] = 796345349;
dp[49][46] = 46608071;
dp[49][47] = 262327913;
dp[49][48] = 615865530;
dp[49][49] = 569486410;
dp[49][50] = 232121371;
dp[49][51] = 86175778;
dp[49][52] = 154003167;
dp[49][53] = 455565337;
dp[49][54] = 592635041;
dp[49][55] = 449778081;
dp[49][56] = 946011559;
dp[49][57] = 315342730;
dp[49][58] = 523152035;
dp[49][59] = 660192808;
dp[49][60] = 984322053;
dp[49][61] = 918448908;
dp[49][62] = 362530845;
dp[49][63] = 976500024;
dp[49][64] = 826353996;
dp[49][65] = 979299043;
dp[49][66] = 20455239;
dp[49][67] = 106430716;
dp[49][68] = 169990095;
dp[49][69] = 856925551;
dp[49][70] = 339927417;
dp[49][71] = 872925000;
dp[49][72] = 454748405;
dp[49][73] = 844111855;
dp[49][74] = 778706572;
dp[49][75] = 953334777;
dp[49][76] = 367875579;
dp[49][77] = 54603227;
dp[49][78] = 952723870;
dp[49][79] = 746089521;
dp[49][80] = 114899675;
dp[49][81] = 378338080;
dp[49][82] = 515017450;
dp[49][83] = 901556480;
dp[49][84] = 75514717;
dp[49][85] = 118586517;
dp[49][86] = 750778341;
dp[49][87] = 164215503;
dp[49][88] = 398032943;
dp[49][89] = 932771419;
dp[49][90] = 175973529;
dp[49][91] = 371281707;
dp[49][92] = 414155738;
dp[49][93] = 136305212;
dp[49][94] = 176477492;
dp[49][95] = 529591042;
dp[49][96] = 473449712;
dp[49][97] = 104580388;
dp[49][98] = 917944592;
dp[49][99] = 711611694;
dp[49][100] = 275529831;
dp[49][101] = 657391663;
dp[49][102] = 618370464;
dp[49][103] = 182199238;
dp[49][104] = 863262145;
dp[49][105] = 671572410;
dp[49][106] = 926093081;
dp[49][107] = 964697471;
dp[49][108] = 20599847;
dp[49][109] = 886336884;
dp[49][110] = 976845790;
dp[49][111] = 332330830;
dp[49][112] = 936899217;
dp[49][113] = 469444206;
dp[49][114] = 333826539;
dp[49][115] = 382006323;
dp[49][116] = 404644652;
dp[49][117] = 86283892;
dp[49][118] = 711449573;
dp[49][119] = 711524895;
dp[49][120] = 240243757;
dp[49][121] = 137744674;
dp[49][122] = 52585102;
dp[49][123] = 502954368;
dp[49][124] = 568353873;
dp[49][125] = 424768720;
dp[49][126] = 673699213;
dp[49][127] = 453807002;
dp[49][128] = 277591996;
dp[49][129] = 614231800;
dp[49][130] = 858886730;
dp[49][131] = 933633627;
dp[49][132] = 855960053;
dp[49][133] = 795294602;
dp[49][134] = 320736325;
dp[49][135] = 160050137;
dp[49][136] = 741837408;
dp[49][137] = 875372187;
dp[49][138] = 933116510;
dp[49][139] = 439299086;
dp[49][140] = 339530899;
dp[49][141] = 998809886;
dp[49][142] = 988163112;
dp[49][143] = 414204450;
dp[49][144] = 626581582;
dp[49][145] = 425958595;
dp[49][146] = 547450689;
dp[49][147] = 257877182;
dp[49][148] = 25212376;
dp[49][149] = 487090639;
dp[49][150] = 693248108;
dp[49][151] = 736165691;
dp[49][152] = 261048117;
dp[49][153] = 530252319;
dp[49][154] = 667332870;
dp[49][155] = 224234420;
dp[49][156] = 283256778;
dp[49][157] = 493030047;
dp[49][158] = 381167115;
dp[49][159] = 959191937;
dp[49][160] = 567700201;
dp[49][161] = 408470930;
dp[49][162] = 456733167;
dp[49][163] = 877572444;
dp[49][164] = 640070139;
dp[49][165] = 177231251;
dp[49][166] = 53889209;
dp[49][167] = 630925282;
dp[49][168] = 764167042;
dp[49][169] = 903138510;
dp[49][170] = 822950867;
dp[49][171] = 161878067;
dp[49][172] = 741376139;
dp[49][173] = 620673064;
dp[49][174] = 828400388;
dp[49][175] = 989198090;
dp[49][176] = 398235498;
dp[49][177] = 335164252;
dp[49][178] = 650259410;
dp[49][179] = 895482301;
dp[49][180] = 288920533;
dp[49][181] = 986020511;
dp[49][182] = 960531109;
dp[49][183] = 692510577;
dp[49][184] = 743863232;
dp[49][185] = 159848129;
dp[49][186] = 639142915;
dp[49][187] = 658806616;
dp[49][188] = 286815941;
dp[49][189] = 569150064;
dp[49][190] = 996156909;
dp[49][191] = 474086872;
dp[49][192] = 377428234;
dp[49][193] = 108191201;
dp[49][194] = 968576455;
dp[49][195] = 934066962;
dp[49][196] = 520785392;
dp[49][197] = 648351310;
dp[49][198] = 322768543;
dp[49][199] = 500047228;
dp[49][200] = 717012630;
dp[49][201] = 366640002;
dp[49][202] = 617370336;
dp[49][203] = 747113890;
dp[49][204] = 647615517;
dp[49][205] = 420668064;
dp[49][206] = 485924194;
dp[49][207] = 28548015;
dp[49][208] = 242698362;
dp[49][209] = 20265134;
dp[49][210] = 481161073;
dp[49][211] = 780894508;
dp[49][212] = 716872330;
dp[49][213] = 925052871;
dp[49][214] = 809234518;
dp[49][215] = 209608950;
dp[49][216] = 454869307;
dp[49][217] = 42621234;
dp[49][218] = 266915957;
dp[49][219] = 548835092;
dp[49][220] = 11648368;
dp[49][221] = 200676498;
dp[49][222] = 803279760;
dp[49][223] = 609790836;
dp[49][224] = 522043768;
dp[49][225] = 787672824;
dp[49][226] = 264643232;
dp[49][227] = 571421826;
dp[49][228] = 762085826;
dp[49][229] = 854807719;
dp[49][230] = 119023111;
dp[49][231] = 660310435;
dp[49][232] = 945098645;
dp[49][233] = 838260736;
dp[49][234] = 592383406;
dp[49][235] = 728604232;
dp[49][236] = 586121308;
dp[49][237] = 18945549;
dp[49][238] = 62079587;
dp[49][239] = 8000021;
dp[49][240] = 137221342;
dp[49][241] = 936745518;
dp[49][242] = 867913927;
dp[49][243] = 937623778;
dp[49][244] = 183088542;
dp[49][245] = 624248829;
dp[49][246] = 606106136;
dp[49][247] = 815005922;
dp[49][248] = 728188591;
dp[49][249] = 164502140;
dp[49][250] = 885086995;
dp[49][251] = 646575964;
dp[49][252] = 60630781;
dp[49][253] = 250914884;
dp[49][254] = 619961376;
dp[49][255] = 835493684;
dp[49][256] = 1794097;
dp[49][257] = 350786557;
dp[49][258] = 222634027;
dp[49][259] = 605402916;
dp[49][260] = 871984975;
dp[49][261] = 140157610;
dp[49][262] = 784428245;
dp[49][263] = 701028584;
dp[49][264] = 784157139;
dp[49][265] = 199990301;
dp[49][266] = 49282014;
dp[49][267] = 806191394;
dp[49][268] = 544636448;
dp[49][269] = 696393844;
dp[49][270] = 625422532;
dp[49][271] = 306981977;
dp[49][272] = 200109353;
dp[49][273] = 819880255;
dp[49][274] = 622554727;
dp[49][275] = 966234587;
dp[49][276] = 1715755;
dp[49][277] = 884432882;
dp[49][278] = 186517679;
dp[49][279] = 414057470;
dp[49][280] = 559202957;
dp[49][281] = 356291776;
dp[49][282] = 440462056;
dp[49][283] = 76496043;
dp[49][284] = 54502936;
dp[49][285] = 82793754;
dp[49][286] = 693820485;
dp[49][287] = 333532789;
dp[49][288] = 139408482;
dp[49][289] = 538301356;
dp[49][290] = 908601203;
dp[49][291] = 663844984;
dp[49][292] = 277481039;
dp[49][293] = 494620179;
dp[49][294] = 126148065;
dp[49][295] = 101563902;
dp[49][296] = 543304970;
dp[49][297] = 40138848;
dp[49][298] = 255494176;
dp[49][299] = 250466774;
dp[49][300] = 181548534;
dp[49][301] = 183041503;
dp[49][302] = 553027506;
dp[49][303] = 468172977;
dp[49][304] = 571880068;
dp[49][305] = 685135214;
dp[49][306] = 70030015;
dp[49][307] = 431414252;
dp[49][308] = 965377675;
dp[49][309] = 285528459;
dp[49][310] = 577690235;
dp[49][311] = 3039911;
dp[49][312] = 424468115;
dp[49][313] = 149219671;
dp[49][314] = 315258608;
dp[49][315] = 442938842;
dp[49][316] = 340124780;
dp[49][317] = 620577523;
dp[49][318] = 697442435;
dp[49][319] = 606981307;
dp[49][320] = 195766252;
dp[49][321] = 513624332;
dp[49][322] = 160814831;
dp[49][323] = 144529981;
dp[49][324] = 626344971;
dp[49][325] = 929525101;
dp[49][326] = 167384034;
dp[49][327] = 985564306;
dp[49][328] = 757660450;
dp[49][329] = 674490248;
dp[49][330] = 404160553;
dp[49][331] = 218780132;
dp[49][332] = 253152109;
dp[49][333] = 588527766;
dp[49][334] = 276135385;
dp[49][335] = 293545669;
dp[49][336] = 229980166;
dp[49][337] = 406532593;
dp[49][338] = 544661736;
dp[49][339] = 944987368;
dp[49][340] = 74067610;
dp[49][341] = 979465423;
dp[49][342] = 367319108;
dp[49][343] = 691015763;
dp[49][344] = 308068787;
dp[49][345] = 270297211;
dp[49][346] = 892899529;
dp[49][347] = 571121326;
dp[49][348] = 682341094;
dp[49][349] = 508186314;
dp[49][350] = 992592910;
dp[49][351] = 570463576;
dp[49][352] = 551864557;
dp[49][353] = 443417375;
dp[49][354] = 102996223;
dp[49][355] = 180706669;
dp[49][356] = 66278518;
dp[49][357] = 547390018;
dp[49][358] = 97982020;
dp[49][359] = 377733797;
dp[49][360] = 642211092;
dp[49][361] = 809569594;
dp[49][362] = 442856622;
dp[49][363] = 912786312;
dp[49][364] = 563198351;
dp[49][365] = 549331531;
dp[49][366] = 576357131;
dp[49][367] = 891027263;
dp[49][368] = 77805689;
dp[49][369] = 816522985;
dp[49][370] = 731749256;
dp[49][371] = 313952972;
dp[49][372] = 411776160;
dp[49][373] = 795006290;
dp[49][374] = 22615421;
dp[49][375] = 348238413;
dp[49][376] = 716260746;
dp[49][377] = 223962550;
dp[49][378] = 78670864;
dp[49][379] = 47765882;
dp[49][380] = 267128253;
dp[49][381] = 587371111;
dp[49][382] = 927656165;
dp[49][383] = 192469863;
dp[49][384] = 806624234;
dp[49][385] = 136996971;
dp[49][386] = 759497678;
dp[49][387] = 646978177;
dp[49][388] = 833527505;
dp[49][389] = 472805550;
dp[49][390] = 754214240;
dp[49][391] = 960030895;
dp[49][392] = 232746388;
dp[49][393] = 490616131;
dp[49][394] = 420542303;
dp[49][395] = 904038549;
dp[49][396] = 210637836;
dp[49][397] = 74285318;
dp[49][398] = 144447351;
dp[49][399] = 742135765;
dp[49][400] = 244372617;
dp[49][401] = 87595635;
dp[49][402] = 852731251;
dp[49][403] = 594678505;
dp[49][404] = 794681848;
dp[49][405] = 228154101;
dp[49][406] = 363702627;
dp[49][407] = 673985808;
dp[49][408] = 239196945;
dp[49][409] = 836249623;
dp[49][410] = 602064792;
dp[49][411] = 462168907;
dp[49][412] = 430511049;
dp[49][413] = 331217937;
dp[49][414] = 84426505;
dp[49][415] = 529390112;
dp[49][416] = 953694258;
dp[49][417] = 768941491;
dp[49][418] = 296949641;
dp[49][419] = 617567965;
dp[49][420] = 759210871;
dp[49][421] = 554347066;
dp[49][422] = 314959464;
dp[49][423] = 855978152;
dp[49][424] = 459336095;
dp[49][425] = 416019714;
dp[49][426] = 554419893;
dp[49][427] = 643616814;
dp[49][428] = 307318600;
dp[49][429] = 193723511;
dp[49][430] = 342506504;
dp[49][431] = 737708842;
dp[49][432] = 961578294;
dp[49][433] = 644413804;
dp[49][434] = 283651295;
dp[49][435] = 449519877;
dp[49][436] = 262823100;
dp[49][437] = 438065978;
dp[49][438] = 195660179;
dp[49][439] = 15479674;
dp[49][440] = 929627357;
dp[49][441] = 712657286;
dp[49][442] = 867475048;
dp[49][443] = 618979059;
dp[49][444] = 615899609;
dp[49][445] = 290553872;
dp[49][446] = 46585860;
dp[49][447] = 675146342;
dp[49][448] = 899293157;
dp[49][449] = 138576244;
dp[49][450] = 932939832;
dp[49][451] = 413352510;
dp[49][452] = 228638502;
dp[49][453] = 577046541;
dp[49][454] = 52412367;
dp[49][455] = 271101119;
dp[49][456] = 704058715;
dp[49][457] = 716195674;
dp[49][458] = 113738084;
dp[49][459] = 976781966;
dp[49][460] = 417637854;
dp[49][461] = 201849275;
dp[49][462] = 137988263;
dp[49][463] = 703452509;
dp[49][464] = 833173534;
dp[49][465] = 774723430;
dp[49][466] = 98520292;
dp[49][467] = 647910333;
dp[49][468] = 702073064;
dp[49][469] = 101667724;
dp[49][470] = 93613248;
dp[49][471] = 4773372;
dp[49][472] = 993672667;
dp[49][473] = 598539625;
dp[49][474] = 298728331;
dp[49][475] = 547262186;
dp[49][476] = 609550837;
dp[49][477] = 42278975;
dp[49][478] = 203431476;
dp[49][479] = 764589375;
dp[49][480] = 791435299;
dp[49][481] = 273439277;
dp[49][482] = 15186943;
dp[49][483] = 247517820;
dp[49][484] = 332116413;
dp[49][485] = 672582410;
dp[49][486] = 88991345;
dp[49][487] = 573172714;
dp[49][488] = 370502342;
dp[49][489] = 495515460;
dp[49][490] = 486357723;
dp[49][491] = 529038430;
dp[49][492] = 112617630;
dp[49][493] = 9655079;
dp[49][494] = 54905538;
dp[49][495] = 630913486;
dp[49][496] = 94540925;
dp[49][497] = 694069860;
dp[49][498] = 101033114;
dp[49][499] = 601510215;
dp[49][500] = 405093272;
dp[49][501] = 877399916;
dp[49][502] = 606786230;
dp[49][503] = 712700446;
dp[49][504] = 365826653;
dp[49][505] = 440611748;
dp[49][506] = 222502187;
dp[49][507] = 628732942;
dp[49][508] = 260127071;
dp[49][509] = 415183336;
dp[49][510] = 331627148;
dp[49][511] = 603111841;
dp[49][512] = 484627861;
dp[49][513] = 252203062;
dp[49][514] = 603610758;
dp[49][515] = 918118836;
dp[49][516] = 775502591;
dp[49][517] = 558836403;
dp[49][518] = 458735214;
dp[49][519] = 903545723;
dp[49][520] = 229008632;
dp[49][521] = 239177179;
dp[49][522] = 70767308;
dp[49][523] = 751925156;
dp[49][524] = 652119146;
dp[49][525] = 980361868;
dp[49][526] = 450630793;
dp[49][527] = 63075950;
dp[49][528] = 714904102;
dp[49][529] = 795480239;
dp[49][530] = 196855664;
dp[49][531] = 446357279;
dp[49][532] = 343343138;
dp[49][533] = 751184330;
dp[49][534] = 353543327;
dp[49][535] = 265335039;
dp[49][536] = 291055365;
dp[49][537] = 141693974;
dp[49][538] = 952501609;
dp[49][539] = 772988967;
dp[49][540] = 982806649;
dp[49][541] = 295006336;
dp[49][542] = 142133453;
dp[49][543] = 389243658;
dp[49][544] = 551050114;
dp[49][545] = 837354729;
dp[49][546] = 288032982;
dp[49][547] = 926886748;
dp[49][548] = 940810321;
dp[49][549] = 996269340;
dp[49][550] = 544323652;
dp[49][551] = 123254721;
dp[49][552] = 449847916;
dp[49][553] = 164321665;
dp[49][554] = 408440169;
dp[49][555] = 540527971;
dp[49][556] = 235735087;
dp[49][557] = 384560805;
dp[49][558] = 888470688;
dp[49][559] = 711171300;
dp[49][560] = 414716347;
dp[49][561] = 219479361;
dp[49][562] = 559050803;
dp[49][563] = 610845133;
dp[49][564] = 321258507;
dp[49][565] = 296543705;
dp[49][566] = 253557800;
dp[49][567] = 771631909;
dp[49][568] = 466270561;
dp[49][569] = 966519146;
dp[49][570] = 100544233;
dp[49][571] = 474799959;
dp[49][572] = 147649345;
dp[49][573] = 956135303;
dp[49][574] = 808272257;
dp[49][575] = 279282920;
dp[49][576] = 472357219;
dp[49][577] = 422709994;
dp[49][578] = 530025514;
dp[49][579] = 999788009;
dp[49][580] = 64593897;
dp[49][581] = 709199531;
dp[49][582] = 479060735;
dp[49][583] = 311654131;
dp[49][584] = 943520011;
dp[49][585] = 427742758;
dp[49][586] = 799287390;
dp[49][587] = 782392773;
dp[49][588] = 191335024;
dp[49][589] = 830990096;
dp[49][590] = 336010037;
dp[49][591] = 237942831;
dp[49][592] = 237453992;
dp[49][593] = 695887098;
dp[49][594] = 398366572;
dp[49][595] = 529644737;
dp[49][596] = 344086296;
dp[49][597] = 862051533;
dp[49][598] = 684436865;
dp[49][599] = 317549101;
dp[49][600] = 968659087;
dp[49][601] = 366641438;
dp[50][1] = 1;
dp[50][2] = 49;
dp[50][3] = 1272;
dp[50][4] = 23124;
dp[50][5] = 329180;
dp[50][6] = 3895908;
dp[50][7] = 39783804;
dp[50][8] = 359447204;
dp[50][9] = 925733384;
dp[50][10] = 746545659;
dp[50][11] = 165655001;
dp[50][12] = 158091124;
dp[50][13] = 719304162;
dp[50][14] = 111160209;
dp[50][15] = 171158550;
dp[50][16] = 935012406;
dp[50][17] = 874008903;
dp[50][18] = 988755604;
dp[50][19] = 608336289;
dp[50][20] = 351327718;
dp[50][21] = 211049418;
dp[50][22] = 970686245;
dp[50][23] = 441380023;
dp[50][24] = 920727544;
dp[50][25] = 396494781;
dp[50][26] = 218114186;
dp[50][27] = 934368772;
dp[50][28] = 753990221;
dp[50][29] = 203263446;
dp[50][30] = 488226646;
dp[50][31] = 946324350;
dp[50][32] = 642441651;
dp[50][33] = 816607227;
dp[50][34] = 122420091;
dp[50][35] = 629716118;
dp[50][36] = 498106515;
dp[50][37] = 488881569;
dp[50][38] = 100763230;
dp[50][39] = 814241373;
dp[50][40] = 430998026;
dp[50][41] = 986590664;
dp[50][42] = 188596813;
dp[50][43] = 238499794;
dp[50][44] = 887765759;
dp[50][45] = 719310391;
dp[50][46] = 819612870;
dp[50][47] = 840885905;
dp[50][48] = 584773429;
dp[50][49] = 811468143;
dp[50][50] = 396065785;
dp[50][51] = 368868801;
dp[50][52] = 299761844;
dp[50][53] = 617462619;
dp[50][54] = 308704442;
dp[50][55] = 206242421;
dp[50][56] = 833439007;
dp[50][57] = 106715469;
dp[50][58] = 970135543;
dp[50][59] = 972244832;
dp[50][60] = 66232618;
dp[50][61] = 207050932;
dp[50][62] = 577078708;
dp[50][63] = 955731123;
dp[50][64] = 103929249;
dp[50][65] = 632790957;
dp[50][66] = 297717977;
dp[50][67] = 280927805;
dp[50][68] = 856143814;
dp[50][69] = 140717794;
dp[50][70] = 889342899;
dp[50][71] = 570959166;
dp[50][72] = 553036683;
dp[50][73] = 311778062;
dp[50][74] = 833874032;
dp[50][75] = 321035571;
dp[50][76] = 629235909;
dp[50][77] = 60666525;
dp[50][78] = 19636232;
dp[50][79] = 889773198;
dp[50][80] = 837811568;
dp[50][81] = 283828621;
dp[50][82] = 499062871;
dp[50][83] = 459250525;
dp[50][84] = 468391935;
dp[50][85] = 389843786;
dp[50][86] = 80632526;
dp[50][87] = 462481073;
dp[50][88] = 859711240;
dp[50][89] = 66143264;
dp[50][90] = 831825780;
dp[50][91] = 518914304;
dp[50][92] = 998480225;
dp[50][93] = 496960804;
dp[50][94] = 480385724;
dp[50][95] = 483317701;
dp[50][96] = 923742113;
dp[50][97] = 771054094;
dp[50][98] = 630267330;
dp[50][99] = 478946945;
dp[50][100] = 527928962;
dp[50][101] = 674723787;
dp[50][102] = 882998613;
dp[50][103] = 123711144;
dp[50][104] = 324674723;
dp[50][105] = 964132061;
dp[50][106] = 961988031;
dp[50][107] = 65215295;
dp[50][108] = 858250635;
dp[50][109] = 924300325;
dp[50][110] = 577545014;
dp[50][111] = 241841560;
dp[50][112] = 172586320;
dp[50][113] = 726876085;
dp[50][114] = 210684082;
dp[50][115] = 897202470;
dp[50][116] = 742850020;
dp[50][117] = 161301259;
dp[50][118] = 120853804;
dp[50][119] = 344539574;
dp[50][120] = 836860211;
dp[50][121] = 667275920;
dp[50][122] = 72688787;
dp[50][123] = 930704832;
dp[50][124] = 179668299;
dp[50][125] = 861726583;
dp[50][126] = 168665810;
dp[50][127] = 834696469;
dp[50][128] = 672920894;
dp[50][129] = 419563732;
dp[50][130] = 302874180;
dp[50][131] = 454615268;
dp[50][132] = 934181182;
dp[50][133] = 119694911;
dp[50][134] = 779976833;
dp[50][135] = 216225187;
dp[50][136] = 244379028;
dp[50][137] = 586838513;
dp[50][138] = 942544272;
dp[50][139] = 397970796;
dp[50][140] = 155525782;
dp[50][141] = 435250288;
dp[50][142] = 609294947;
dp[50][143] = 697035870;
dp[50][144] = 790138207;
dp[50][145] = 313089121;
dp[50][146] = 451259481;
dp[50][147] = 904475234;
dp[50][148] = 15500998;
dp[50][149] = 428233316;
dp[50][150] = 352796372;
dp[50][151] = 805867626;
dp[50][152] = 355791012;
dp[50][153] = 191743365;
dp[50][154] = 390372515;
dp[50][155] = 86113794;
dp[50][156] = 224579645;
dp[50][157] = 34292553;
dp[50][158] = 472538607;
dp[50][159] = 244805809;
dp[50][160] = 799547326;
dp[50][161] = 350596592;
dp[50][162] = 550928379;
dp[50][163] = 248605526;
dp[50][164] = 858957317;
dp[50][165] = 809083222;
dp[50][166] = 418025439;
dp[50][167] = 717379009;
dp[50][168] = 843111164;
dp[50][169] = 748566980;
dp[50][170] = 795763411;
dp[50][171] = 344249103;
dp[50][172] = 246799165;
dp[50][173] = 468081584;
dp[50][174] = 533360568;
dp[50][175] = 97839725;
dp[50][176] = 814208152;
dp[50][177] = 370784820;
dp[50][178] = 149643652;
dp[50][179] = 648814350;
dp[50][180] = 586462723;
dp[50][181] = 179226570;
dp[50][182] = 323415874;
dp[50][183] = 413399345;
dp[50][184] = 830824722;
dp[50][185] = 901264775;
dp[50][186] = 785155020;
dp[50][187] = 673315179;
dp[50][188] = 883230707;
dp[50][189] = 320461657;
dp[50][190] = 209574161;
dp[50][191] = 896187167;
dp[50][192] = 641537195;
dp[50][193] = 580708044;
dp[50][194] = 615201169;
dp[50][195] = 907420567;
dp[50][196] = 226969633;
dp[50][197] = 44823693;
dp[50][198] = 653925850;
dp[50][199] = 618905940;
dp[50][200] = 556249274;
dp[50][201] = 683808190;
dp[50][202] = 595045606;
dp[50][203] = 406684866;
dp[50][204] = 817926872;
dp[50][205] = 498013040;
dp[50][206] = 741888764;
dp[50][207] = 255307898;
dp[50][208] = 750076370;
dp[50][209] = 226664326;
dp[50][210] = 45791371;
dp[50][211] = 138249186;
dp[50][212] = 182084615;
dp[50][213] = 925519009;
dp[50][214] = 32002450;
dp[50][215] = 507648904;
dp[50][216] = 36302093;
dp[50][217] = 164244320;
dp[50][218] = 134446595;
dp[50][219] = 176304234;
dp[50][220] = 443232913;
dp[50][221] = 204696272;
dp[50][222] = 377207389;
dp[50][223] = 330407781;
dp[50][224] = 317016375;
dp[50][225] = 255990328;
dp[50][226] = 346121343;
dp[50][227] = 776903928;
dp[50][228] = 865285835;
dp[50][229] = 180645765;
dp[50][230] = 94169320;
dp[50][231] = 523805568;
dp[50][232] = 66571932;
dp[50][233] = 958229276;
dp[50][234] = 706032441;
dp[50][235] = 157122799;
dp[50][236] = 174128102;
dp[50][237] = 265560802;
dp[50][238] = 960871567;
dp[50][239] = 814597354;
dp[50][240] = 840895548;
dp[50][241] = 702037;
dp[50][242] = 848074074;
dp[50][243] = 17426708;
dp[50][244] = 276377856;
dp[50][245] = 55696613;
dp[50][246] = 206160180;
dp[50][247] = 32721003;
dp[50][248] = 453495162;
dp[50][249] = 587538197;
dp[50][250] = 204676036;
dp[50][251] = 610254246;
dp[50][252] = 936113705;
dp[50][253] = 842825687;
dp[50][254] = 202272844;
dp[50][255] = 145230437;
dp[50][256] = 624393323;
dp[50][257] = 739106533;
dp[50][258] = 700708897;
dp[50][259] = 523328161;
dp[50][260] = 691038973;
dp[50][261] = 656087189;
dp[50][262] = 213848962;
dp[50][263] = 927815456;
dp[50][264] = 921255504;
dp[50][265] = 609475698;
dp[50][266] = 113463094;
dp[50][267] = 529085932;
dp[50][268] = 807792149;
dp[50][269] = 579407091;
dp[50][270] = 163833313;
dp[50][271] = 694176222;
dp[50][272] = 471399591;
dp[50][273] = 346973697;
dp[50][274] = 718259544;
dp[50][275] = 297359882;
dp[50][276] = 892552532;
dp[50][277] = 451373341;
dp[50][278] = 120883534;
dp[50][279] = 8029910;
dp[50][280] = 624607649;
dp[50][281] = 606649877;
dp[50][282] = 815313728;
dp[50][283] = 231664869;
dp[50][284] = 673443919;
dp[50][285] = 615486405;
dp[50][286] = 94571095;
dp[50][287] = 110823650;
dp[50][288] = 950289120;
dp[50][289] = 646876432;
dp[50][290] = 928906934;
dp[50][291] = 684469503;
dp[50][292] = 297251947;
dp[50][293] = 919054473;
dp[50][294] = 285157267;
dp[50][295] = 967739040;
dp[50][296] = 274416446;
dp[50][297] = 465229888;
dp[50][298] = 656873003;
dp[50][299] = 825576691;
dp[50][300] = 53305194;
dp[50][301] = 539107135;
dp[50][302] = 609069516;
dp[50][303] = 669008004;
dp[50][304] = 585520763;
dp[50][305] = 526072937;
dp[50][306] = 91836656;
dp[50][307] = 101778461;
dp[50][308] = 538228891;
dp[50][309] = 424599066;
dp[50][310] = 719851020;
dp[50][311] = 234795290;
dp[50][312] = 701214554;
dp[50][313] = 914481398;
dp[50][314] = 497763115;
dp[50][315] = 504286064;
dp[50][316] = 212679726;
dp[50][317] = 409710596;
dp[50][318] = 134500525;
dp[50][319] = 154608785;
dp[50][320] = 554889670;
dp[50][321] = 267547678;
dp[50][322] = 851784437;
dp[50][323] = 749366191;
dp[50][324] = 681515762;
dp[50][325] = 587313005;
dp[50][326] = 604179607;
dp[50][327] = 297539881;
dp[50][328] = 51380469;
dp[50][329] = 30897443;
dp[50][330] = 988568867;
dp[50][331] = 430543091;
dp[50][332] = 168358864;
dp[50][333] = 325894509;
dp[50][334] = 131217074;
dp[50][335] = 122226126;
dp[50][336] = 289735266;
dp[50][337] = 2541560;
dp[50][338] = 697428098;
dp[50][339] = 339809826;
dp[50][340] = 339814711;
dp[50][341] = 568813016;
dp[50][342] = 256466301;
dp[50][343] = 865405619;
dp[50][344] = 710940331;
dp[50][345] = 7424767;
dp[50][346] = 660900037;
dp[50][347] = 729644940;
dp[50][348] = 444;
dp[50][349] = 450105203;
dp[50][350] = 690939247;
dp[50][351] = 459755659;
dp[50][352] = 92556107;
dp[50][353] = 42398758;
dp[50][354] = 782901298;
dp[50][355] = 483436309;
dp[50][356] = 73995240;
dp[50][357] = 784415989;
dp[50][358] = 602791285;
dp[50][359] = 655683750;
dp[50][360] = 744368335;
dp[50][361] = 684929720;
dp[50][362] = 939318197;
dp[50][363] = 1937536;
dp[50][364] = 94209990;
dp[50][365] = 544006669;
dp[50][366] = 195169186;
dp[50][367] = 297173575;
dp[50][368] = 151918090;
dp[50][369] = 559870646;
dp[50][370] = 425964491;
dp[50][371] = 818978660;
dp[50][372] = 571568643;
dp[50][373] = 60393204;
dp[50][374] = 415731654;
dp[50][375] = 547756555;
dp[50][376] = 991386612;
dp[50][377] = 383053326;
dp[50][378] = 997830526;
dp[50][379] = 963081859;
dp[50][380] = 107336308;
dp[50][381] = 898219937;
dp[50][382] = 906988404;
dp[50][383] = 550036125;
dp[50][384] = 981857264;
dp[50][385] = 691293427;
dp[50][386] = 481189647;
dp[50][387] = 501756531;
dp[50][388] = 316529056;
dp[50][389] = 476096058;
dp[50][390] = 168221459;
dp[50][391] = 165690115;
dp[50][392] = 553028411;
dp[50][393] = 960794528;
dp[50][394] = 453386272;
dp[50][395] = 963889156;
dp[50][396] = 71983103;
dp[50][397] = 494867184;
dp[50][398] = 462967097;
dp[50][399] = 635240847;
dp[50][400] = 989817132;
dp[50][401] = 23786457;
dp[50][402] = 968645733;
dp[50][403] = 163475174;
dp[50][404] = 884798755;
dp[50][405] = 971346358;
dp[50][406] = 8231228;
dp[50][407] = 947835970;
dp[50][408] = 751371876;
dp[50][409] = 21594745;
dp[50][410] = 702982989;
dp[50][411] = 997528759;
dp[50][412] = 30899466;
dp[50][413] = 874470660;
dp[50][414] = 839706683;
dp[50][415] = 64336797;
dp[50][416] = 183002010;
dp[50][417] = 415355406;
dp[50][418] = 851375333;
dp[50][419] = 802315034;
dp[50][420] = 662347966;
dp[50][421] = 459017349;
dp[50][422] = 83113197;
dp[50][423] = 807783874;
dp[50][424] = 686211775;
dp[50][425] = 665742332;
dp[50][426] = 548408223;
dp[50][427] = 38712773;
dp[50][428] = 947065654;
dp[50][429] = 224142524;
dp[50][430] = 544199777;
dp[50][431] = 554457822;
dp[50][432] = 161813447;
dp[50][433] = 59932464;
dp[50][434] = 324817969;
dp[50][435] = 826816639;
dp[50][436] = 159675767;
dp[50][437] = 610260222;
dp[50][438] = 802832692;
dp[50][439] = 962264291;
dp[50][440] = 230527850;
dp[50][441] = 654881259;
dp[50][442] = 493134625;
dp[50][443] = 56109407;
dp[50][444] = 491401533;
dp[50][445] = 163680598;
dp[50][446] = 892934948;
dp[50][447] = 889185132;
dp[50][448] = 78662275;
dp[50][449] = 741528574;
dp[50][450] = 616484511;
dp[50][451] = 204394884;
dp[50][452] = 120980232;
dp[50][453] = 4959172;
dp[50][454] = 884202370;
dp[50][455] = 468625389;
dp[50][456] = 987185268;
dp[50][457] = 797914336;
dp[50][458] = 292935354;
dp[50][459] = 542176515;
dp[50][460] = 965256954;
dp[50][461] = 25044127;
dp[50][462] = 701524209;
dp[50][463] = 669825969;
dp[50][464] = 264620823;
dp[50][465] = 983915826;
dp[50][466] = 463815578;
dp[50][467] = 325409981;
dp[50][468] = 142164710;
dp[50][469] = 946513145;
dp[50][470] = 626025918;
dp[50][471] = 890502327;
dp[50][472] = 456729879;
dp[50][473] = 921471703;
dp[50][474] = 889764153;
dp[50][475] = 10834930;
dp[50][476] = 550258959;
dp[50][477] = 888111963;
dp[50][478] = 456661896;
dp[50][479] = 560525119;
dp[50][480] = 254574198;
dp[50][481] = 379302005;
dp[50][482] = 359197537;
dp[50][483] = 748972811;
dp[50][484] = 432885247;
dp[50][485] = 174603143;
dp[50][486] = 495215302;
dp[50][487] = 304225805;
dp[50][488] = 499574;
dp[50][489] = 89067439;
dp[50][490] = 956588800;
dp[50][491] = 479903186;
dp[50][492] = 900293862;
dp[50][493] = 918419160;
dp[50][494] = 874312513;
dp[50][495] = 779518268;
dp[50][496] = 750190343;
dp[50][497] = 34999197;
dp[50][498] = 204187488;
dp[50][499] = 29703716;
dp[50][500] = 310295240;
dp[50][501] = 212734818;
dp[50][502] = 705461990;
dp[50][503] = 880565621;
dp[50][504] = 542764103;
dp[50][505] = 578132976;
dp[50][506] = 871657196;
dp[50][507] = 920555643;
dp[50][508] = 635330221;
dp[50][509] = 603836039;
dp[50][510] = 905337022;
dp[50][511] = 446003049;
dp[50][512] = 531829391;
dp[50][513] = 914627500;
dp[50][514] = 109964459;
dp[50][515] = 793773872;
dp[50][516] = 883594493;
dp[50][517] = 588890899;
dp[50][518] = 761763418;
dp[50][519] = 850946563;
dp[50][520] = 47045637;
dp[50][521] = 406265955;
dp[50][522] = 398330580;
dp[50][523] = 175033998;
dp[50][524] = 98562597;
dp[50][525] = 74022406;
dp[50][526] = 109783010;
dp[50][527] = 888406279;
dp[50][528] = 62923507;
dp[50][529] = 851720727;
dp[50][530] = 920064661;
dp[50][531] = 659715101;
dp[50][532] = 731241623;
dp[50][533] = 740764931;
dp[50][534] = 68490942;
dp[50][535] = 26861674;
dp[50][536] = 832409630;
dp[50][537] = 156628069;
dp[50][538] = 65837301;
dp[50][539] = 277330611;
dp[50][540] = 504531610;
dp[50][541] = 621094682;
dp[50][542] = 513712789;
dp[50][543] = 824543274;
dp[50][544] = 863846088;
dp[50][545] = 522929299;
dp[50][546] = 50674845;
dp[50][547] = 205053841;
dp[50][548] = 391074024;
dp[50][549] = 703020653;
dp[50][550] = 598865065;
dp[50][551] = 977680558;
dp[50][552] = 126857946;
dp[50][553] = 571772915;
dp[50][554] = 596794646;
dp[50][555] = 195429545;
dp[50][556] = 328266420;
dp[50][557] = 36051456;
dp[50][558] = 451216030;
dp[50][559] = 522276964;
dp[50][560] = 948367998;
dp[50][561] = 561406981;
dp[50][562] = 389510759;
dp[50][563] = 585943971;
dp[50][564] = 108053297;
dp[50][565] = 459413669;
dp[50][566] = 288907310;
dp[50][567] = 136029766;
dp[50][568] = 802792879;
dp[50][569] = 520247265;
dp[50][570] = 414339912;
dp[50][571] = 337619243;
dp[50][572] = 597859489;
dp[50][573] = 40005835;
dp[50][574] = 350918;
dp[50][575] = 321070418;
dp[50][576] = 199829979;
dp[50][577] = 141119131;
dp[50][578] = 515535428;
dp[50][579] = 350920730;
dp[50][580] = 314377413;
dp[50][581] = 808898947;
dp[50][582] = 900198037;
dp[50][583] = 799762368;
dp[50][584] = 570476717;
dp[50][585] = 244997759;
dp[50][586] = 402733111;
dp[50][587] = 626061442;
dp[50][588] = 103647198;
dp[50][589] = 938528989;
dp[50][590] = 898060580;
dp[50][591] = 652361018;
dp[50][592] = 641847472;
dp[50][593] = 149112119;
dp[50][594] = 134262079;
dp[50][595] = 887185896;
dp[50][596] = 606038263;
dp[50][597] = 859408453;
dp[50][598] = 950373236;
dp[50][599] = 692335861;
dp[50][600] = 405660442;
dp[50][601] = 565431386;
dp[50][602] = 959094106;
dp[50][603] = 393940636;
dp[50][604] = 423632434;
dp[50][605] = 612413824;
dp[50][606] = 143336067;
dp[50][607] = 663257107;
dp[50][608] = 9730523;
dp[50][609] = 471491852;
dp[50][610] = 112828340;
dp[50][611] = 936303905;
dp[50][612] = 998673093;
dp[50][613] = 55233966;
dp[50][614] = 416039620;
dp[50][615] = 144081002;
dp[50][616] = 565258672;
dp[50][617] = 539355694;
dp[50][618] = 202448366;
dp[50][619] = 14002378;
dp[50][620] = 539019751;
dp[50][621] = 307827209;
dp[50][622] = 288622328;
dp[50][623] = 788194350;
dp[50][624] = 570120788;
dp[50][625] = 965430343;
dp[50][626] = 472467292;
p(dp[n][k/2 + 1]);
	}
	//p(ans);
	return 0;
}



Measured memory_bytes: 15232