/*=========================================================================================================================
Title   	: PIA projection function for Threadneedle
Version 	: Version 4.0
Date    	: 20th March 2006
=========================================================================================================================*/

function PIA_projection( CalcType, PIAType, CurrentAge, Sex, CurrentSalary, CurrentFund, SpouseFraction, TargetNRA, TargetPension, TargetEeContRate, ErContRate) {

/*=========================================================================================================================

Function to return either :-
1a. If CalcType = 1 then return expected pension at NRA as a percentage of salary at NRA; or
1b. If CalcType = 2 then return contributions needed to achieve target pension at NRA; or
1c. If CalcType = 3 then return required NRA given contributions to be paid and target pension at NRA; or
1d. If CalcType = 4 then return present value of expected pension at NRA.
2. If an error occurs then the function will return the following error codes :-

	Error1	:	Contribution rate and/or current fund produces benefit above IR limits ** NO LONGER USED
	Error2a	:	Employee Contributions exceed salary
	Error2b	:	Employee plus Employer Exceed Max Conts of 215000
	Error3	:	Benefit chosen leads to an an NRA outside allowable range

3. The following error codes should not occur since being trapped by the calculator :-
	Error4	:	PIA option chosen does not exist
	Error5	:	Incorrect salary entered
	Error6	:	Member within 2 years of retirement
	Error7	:	Calculation option chosen does not exist
	Error8	:	NRA entered is outside permissable range

Parameters :-
	CalcType = 1,2, 3 or 4
	PIAType = 1,2, 3 or 4 - 1 = Optimistic basis, 2 = Intermediate, 3 = Pesimistic, 4 = SMPI
	CurrentAge = age in whole years at date of calculation eg 35
	Sex = M or F : M=male, F=female
	CurrentSalary = salary at date of calculation eg 10000
	CurrentFund = fund value at date of calculation eg 1000
	SpouseFraction = proportion of spouse's pension on death eg 0.5 = 50%
	TargetNRA = if CalcType = 1 or 2 then this is NRA for calculation purposes
	TargetPension = if CalcType = 2 or 3 then this is pension at NRA for calculation purposes
	TargetEeContRate = if CalcType = 1 or 3 then this is contributions to be paid as a percentage of salary for calculation purposes
	ErContRate =  this is employer contribution to be paid as a percentage of salary

	For example the estimated pension as a percentage of salary at retirement for the following member is
	PIA Basis		:		     1
	Age			:	    	    40
	NRA		    	:		    60
	Salary			:		20,000
	Fund			:		10,000
	Contribution rate	:		    10% ee + 10% er

	Benefit			:		  34.0%

=========================================================================================================================*/

/* Dim variables*/
	var PreRetInt;
    	var SalIncs;
	var RPI;
	var ProjSal;
        var OnePercentPen;
        var CurrentPen;
	var PIA;
	var Term;
	var Annuity;
	var TempPIA;
	var LPIExpense;
	var MaxCont;
	var DOB;
	var YOB;
	var Interest;
	var Esc;
	var YearOfCalc;

/* Set the maximum contributions for EE plus ER :- Tax year 2005/2006 */
	MaxCont = 235000;

/* Set the Interest for SMPI :- Tax year 2006/2007 (2005/6 rate was 1.2%) */
	Interest = 0.004;

/* Set the escalation rate for SMPI */
	Esc = 0;

/* Get the year of birth for SMPI annuity*/
	datetoday = new Date();
	YearOfCalc = datetoday.getFullYear();
	YOB=YearOfCalc-CurrentAge

/* Set PIA basis depending on option selected */
		
	switch(PIAType)
	{
		case 1:
			PreRetInt = 0.09;
            		SalIncs = 0.06;
			RPI = 0.045;
			Annuity=all_ax(Sex, TargetNRA, Interest+0.055, Esc, SpouseFraction, YOB);
			break;
		case 2:
			PreRetInt = 0.07;
            		SalIncs = 0.04;
			RPI = 0.025;
			Annuity=all_ax(Sex, TargetNRA, Interest+0.035, Esc, SpouseFraction, YOB);
			break;
		case 3:
			PreRetInt = 0.05;
            		SalIncs = 0.02;
			RPI = 0.005;
			Annuity=all_ax(Sex, TargetNRA, Interest+0.015, Esc, SpouseFraction, YOB);
			break;
		case 4:
			PreRetInt = 0.07;
            		SalIncs = 0.025;
			RPI = 0.025;
			Annuity=all_ax(Sex, TargetNRA, Interest, Esc, SpouseFraction, YOB);
			break;

		default:
			return 'Error4';
			break;
	}

/* Check salary and NRA will not cause errors later*/
	if (CurrentSalary < 1) { return 'Error5';  }


/* Expense loading for annuities is 4%*/
	LPIExpense = 0.04;

/* Reduction of interest for expenses before retirement is 1% pa - added version 1.1 11th May 2001 */

	PreRetInt = PreRetInt - 0.01;

/* Set calculation variables*/

	ProjSal = CurrentSalary;
	Term=TargetNRA-CurrentAge;

/* Do calculation depending on calc type option*/

	switch(CalcType)
	{
		case 1:
			if (TargetEeContRate > 100) {return 'Error2a';}
			if (((TargetEeContRate+ ErContRate)/100 * CurrentSalary) > MaxCont) {return 'Error2b';}

			if ( Term < 2 ) { return 'Error6';}
			if ( (TargetNRA < 55)|| (TargetNRA > 75 )) { return 'Error8'; }
			PIA=BenefitProjection(Term, PreRetInt, SalIncs, TargetEeContRate+ ErContRate, CurrentFund, ProjSal, (Annuity * (1 + LPIExpense)));
		        PIA = Math.round( PIA * 1000 ) /10;
			break;
		case 2:
			if ( Term < 2 ) { return 'Error6';  }
			if ( (TargetNRA < 55)|| (TargetNRA > 75 )) { return 'Error8';  }
			ProjSal = CurrentSalary;
			OnePercentPen = BenefitProjection(Term, PreRetInt, SalIncs, 1, 0, ProjSal, (Annuity * (1 + LPIExpense)));
			CurrentPen = BenefitProjection(Term, PreRetInt, SalIncs, 0, CurrentFund, ProjSal, (Annuity * (1 + LPIExpense)));
			PIA = Math.max((TargetPension/100 - CurrentPen) / OnePercentPen / 100, 0);
			if ((PIA-ErContRate) > 100) {return 'Error2a';}
			if ((PIA/100 * CurrentSalary) > MaxCont) {return 'Error2b';}

			PIA = Math.round( Math.max( PIA - ErContRate/100, 0) * 1000 ) /10;
			break;
		case 3:
			PIA = 0;
			for ( var k = Math.max(55,CurrentAge); k < 76; k++ )
			{
				if (Sex == "M")
					{Annuity=m_sl[k] + m_rev[k] * SpouseFraction;}
				else
					{Annuity=f_sl[k] + f_rev[k] * SpouseFraction;}

                                if (PIAType == 4)
					{Annuity=all_ax(Sex, TargetNRA, Interest, Esc, SpouseFraction, YOB);}


				ProjSal = CurrentSalary;
				Term=k-CurrentAge;

				TempPIA=BenefitProjection(Term, PreRetInt, SalIncs, TargetEeContRate+ ErContRate, CurrentFund, ProjSal, (Annuity * (1 + LPIExpense)));
				TempPIA = Math.round( TempPIA * 1000 ) /10 ;

				if ( TempPIA >= TargetPension )
					{PIA = k ; break; }
			}

			if ( (PIA < 55)|| (PIA > 75 )) { return 'Error3';  }
			if ( (PIA - CurrentAge < 2 )) { return 'Error6';  }

			break;
		case 4:
			if (TargetEeContRate > 100) {return 'Error2a';}
			if (((TargetEeContRate+ ErContRate)/100 * CurrentSalary) > MaxCont) {return 'Error2b';}

			if ( Term < 2 ) { return 'Error6';}
			if ( (TargetNRA < 55)|| (TargetNRA > 75 )) { return 'Error8'; }
			PIA=BenefitProjection(Term, PreRetInt, SalIncs, TargetEeContRate+ ErContRate, CurrentFund, ProjSal, (Annuity * (1 + LPIExpense)));
			PIA = SigFig(Math.round((PIA * CurrentSalary / Math.pow((1+SalIncs),1)),0),3);
			break;

		default:
			PIA = 'Error7';
			break;
	}

	return PIA;
}

/*"End of PIA_projection"*/
/*=========================================================================================================================*/

/* Function to calculate % of salary at NRA */
function BenefitProjection(Term, PreRetInt, SalIncs, TargetContRate, CurrentFund, ProjSal, Annuity) {
	Projection=CurrentFund;
	for ( var i=1; i < (Term+1); i++ ) {
		Projection = Projection * Math.pow((1+PreRetInt),1) + ProjSal * TargetContRate/100 * Math.pow((1+PreRetInt),0.5);
		ProjSal = ProjSal * Math.pow((1+SalIncs),1)
}

	Projection = Projection / Annuity / ProjSal * Math.pow((1+SalIncs),1)


	return Projection
}
/*"End of BenefitProjection"*/

/*=========================================================================================================================*/

function SigFig(X, N) {
  var p = Math.pow(10, N-Math.ceil(Math.log(Math.abs(X))/Math.LN10))
  if (!isFinite(p)) return X
  return Math.round(X*p)/p }

/*"End of SigFig"*/

/*=========================================================================================================================*/

function all_ax(sex, nra, interest, esc, sps_perc, yob) {

var imp_factors =
[[0.35227,0.37253,0.39200,0.41071,0.42868,0.44596,0.46255,0.47850,0.49382,0.50855,0.52269,0.53629,0.54935,0.56190,0.57396,0.58554,0.59668,0.60737,0.61765,0.62753,0.63702,0.64614,0.65490,0.66332,0.67141,0.67918,0.68665,0.69383,0.70072,0.70735,0.71371,0.71983,0.72571,0.73135,0.73678,0.74199,0.74700,0.75182,0.75644,0.76089,0.76516,0.76926,0.77321,0.77699,0.78063,0.78413,0.78749,0.79072,0.79382,0.79681,0.79967,0.80242,0.80507,0.80761,0.81005,0.81240,0.81465,0.81682,0.81890,0.82090,0.82282,0.82467,0.82644,0.82815,0.82979,0.83136,0.83287,0.83433,0.83572,0.83706,0.83835,0.83959,0.84078,0.84192,0.84302,0.84408,0.84509,0.84607,0.84701,0.84791,0.84877,0.84960,0.85040,0.85117,0.85190,0.85261,0.85329,0.85395,0.85457,0.85518,0.85576,0.85632,0.85685,0.85737,0.85786,0.85834,0.85879,0.85923,0.85965,0.86006,0.86045,0.86082,0.86118,0.86153,0.86186,0.86218,0.86248,0.86278,0.86306,0.86333,0.86359,0.86384,0.86408,0.86432,0.86454,0.86475,0.86496,0.86515,0.86534,0.86553,0.86570],
[0.35227,0.37253,0.39200,0.41071,0.42868,0.44596,0.46255,0.47850,0.49382,0.50855,0.52269,0.53629,0.54935,0.56190,0.57396,0.58554,0.59668,0.60737,0.61765,0.62753,0.63702,0.64614,0.65490,0.66332,0.67141,0.67918,0.68665,0.69383,0.70072,0.70735,0.71371,0.71983,0.72571,0.73135,0.73678,0.74199,0.74700,0.75182,0.75644,0.76089,0.76516,0.76926,0.77321,0.77699,0.78063,0.78413,0.78749,0.79072,0.79382,0.79681,0.79967,0.80242,0.80507,0.80761,0.81005,0.81240,0.81465,0.81682,0.81890,0.82090,0.82282,0.82467,0.82644,0.82815,0.82979,0.83136,0.83287,0.83433,0.83572,0.83706,0.83835,0.83959,0.84078,0.84192,0.84302,0.84408,0.84509,0.84607,0.84701,0.84791,0.84877,0.84960,0.85040,0.85117,0.85190,0.85261,0.85329,0.85395,0.85457,0.85518,0.85576,0.85632,0.85685,0.85737,0.85786,0.85834,0.85879,0.85923,0.85965,0.86006,0.86045,0.86082,0.86118,0.86153,0.86186,0.86218,0.86248,0.86278,0.86306,0.86333,0.86359,0.86384,0.86408,0.86432,0.86454,0.86475,0.86496,0.86515,0.86534,0.86553,0.86570],
[0.35259,0.37285,0.39231,0.41101,0.42897,0.44624,0.46283,0.47876,0.49408,0.50880,0.52294,0.53652,0.54958,0.56212,0.57417,0.58575,0.59688,0.60757,0.61785,0.62772,0.63720,0.64632,0.65508,0.66349,0.67157,0.67934,0.68681,0.69398,0.70087,0.70749,0.71386,0.71997,0.72585,0.73149,0.73691,0.74212,0.74713,0.75194,0.75657,0.76101,0.76528,0.76938,0.77332,0.77711,0.78074,0.78424,0.78760,0.79083,0.79393,0.79691,0.79977,0.80252,0.80517,0.80771,0.81015,0.81249,0.81475,0.81691,0.81899,0.82099,0.82291,0.82476,0.82653,0.82823,0.82987,0.83144,0.83296,0.83441,0.83580,0.83715,0.83843,0.83967,0.84086,0.84200,0.84310,0.84416,0.84517,0.84615,0.84708,0.84798,0.84885,0.84968,0.85047,0.85124,0.85198,0.85269,0.85337,0.85402,0.85465,0.85525,0.85583,0.85639,0.85692,0.85744,0.85793,0.85841,0.85886,0.85930,0.85972,0.86013,0.86052,0.86089,0.86125,0.86160,0.86193,0.86224,0.86255,0.86285,0.86313,0.86340,0.86366,0.86391,0.86415,0.86438,0.86461,0.86482,0.86502,0.86522,0.86541,0.86559,0.86577],
[0.35339,0.37362,0.39306,0.41173,0.42968,0.44692,0.46349,0.47941,0.49470,0.50940,0.52352,0.53709,0.55013,0.56266,0.57470,0.58626,0.59738,0.60806,0.61832,0.62818,0.63765,0.64675,0.65550,0.66390,0.67198,0.67974,0.68719,0.69436,0.70124,0.70785,0.71421,0.72032,0.72618,0.73182,0.73724,0.74244,0.74744,0.75225,0.75687,0.76130,0.76557,0.76966,0.77360,0.77738,0.78101,0.78451,0.78786,0.79108,0.79418,0.79716,0.80002,0.80277,0.80541,0.80794,0.81038,0.81272,0.81497,0.81714,0.81921,0.82121,0.82313,0.82497,0.82674,0.82845,0.83008,0.83165,0.83316,0.83461,0.83601,0.83735,0.83863,0.83987,0.84106,0.84220,0.84330,0.84435,0.84536,0.84634,0.84727,0.84817,0.84903,0.84986,0.85066,0.85142,0.85216,0.85287,0.85355,0.85420,0.85483,0.85543,0.85601,0.85657,0.85710,0.85761,0.85811,0.85858,0.85904,0.85948,0.85990,0.86030,0.86069,0.86106,0.86142,0.86177,0.86210,0.86241,0.86272,0.86301,0.86330,0.86357,0.86383,0.86408,0.86432,0.86455,0.86477,0.86499,0.86519,0.86539,0.86558,0.86576,0.86593],
[0.35481,0.37499,0.39438,0.41302,0.43093,0.44813,0.46466,0.48055,0.49581,0.51047,0.52457,0.53811,0.55112,0.56362,0.57563,0.58717,0.59826,0.60891,0.61915,0.62899,0.63844,0.64753,0.65625,0.66464,0.67270,0.68044,0.68788,0.69503,0.70189,0.70849,0.71484,0.72093,0.72678,0.73241,0.73781,0.74301,0.74800,0.75279,0.75740,0.76183,0.76608,0.77017,0.77409,0.77787,0.78149,0.78498,0.78833,0.79154,0.79463,0.79760,0.80046,0.80320,0.80583,0.80836,0.81080,0.81313,0.81538,0.81754,0.81961,0.82160,0.82352,0.82536,0.82712,0.82882,0.83045,0.83202,0.83353,0.83498,0.83637,0.83770,0.83899,0.84022,0.84141,0.84254,0.84364,0.84469,0.84570,0.84667,0.84761,0.84850,0.84936,0.85019,0.85099,0.85175,0.85248,0.85319,0.85387,0.85452,0.85514,0.85575,0.85632,0.85688,0.85741,0.85793,0.85842,0.85889,0.85935,0.85978,0.86020,0.86061,0.86099,0.86137,0.86172,0.86207,0.86240,0.86272,0.86302,0.86331,0.86360,0.86387,0.86413,0.86438,0.86462,0.86485,0.86507,0.86528,0.86549,0.86568,0.86587,0.86605,0.86623],
[0.35698,0.37710,0.39642,0.41500,0.43284,0.44999,0.46647,0.48230,0.49751,0.51212,0.52617,0.53966,0.55263,0.56509,0.57706,0.58856,0.59961,0.61023,0.62044,0.63024,0.63966,0.64871,0.65741,0.66577,0.67380,0.68152,0.68893,0.69605,0.70290,0.70948,0.71580,0.72187,0.72770,0.73331,0.73870,0.74387,0.74885,0.75362,0.75822,0.76263,0.76687,0.77094,0.77486,0.77862,0.78223,0.78570,0.78904,0.79224,0.79532,0.79829,0.80113,0.80386,0.80649,0.80901,0.81143,0.81376,0.81600,0.81815,0.82022,0.82220,0.82411,0.82594,0.82771,0.82940,0.83102,0.83259,0.83409,0.83553,0.83692,0.83825,0.83953,0.84076,0.84194,0.84307,0.84417,0.84521,0.84622,0.84719,0.84812,0.84901,0.84987,0.85070,0.85149,0.85225,0.85298,0.85368,0.85436,0.85501,0.85563,0.85623,0.85681,0.85736,0.85789,0.85840,0.85889,0.85937,0.85982,0.86026,0.86067,0.86108,0.86146,0.86183,0.86219,0.86253,0.86286,0.86318,0.86348,0.86377,0.86405,0.86432,0.86458,0.86483,0.86507,0.86530,0.86552,0.86574,0.86594,0.86614,0.86632,0.86650,0.86668],
[0.36006,0.38008,0.39932,0.41780,0.43556,0.45262,0.46902,0.48478,0.49991,0.51446,0.52844,0.54187,0.55477,0.56717,0.57908,0.59053,0.60153,0.61210,0.62225,0.63201,0.64139,0.65040,0.65905,0.66737,0.67536,0.68304,0.69042,0.69751,0.70432,0.71087,0.71716,0.72320,0.72901,0.73459,0.73995,0.74510,0.75005,0.75480,0.75938,0.76377,0.76799,0.77204,0.77593,0.77968,0.78327,0.78673,0.79005,0.79324,0.79631,0.79925,0.80208,0.80480,0.80741,0.80992,0.81234,0.81465,0.81688,0.81902,0.82108,0.82306,0.82495,0.82678,0.82853,0.83022,0.83183,0.83339,0.83488,0.83632,0.83770,0.83902,0.84030,0.84152,0.84270,0.84383,0.84491,0.84596,0.84696,0.84792,0.84885,0.84974,0.85059,0.85141,0.85220,0.85296,0.85369,0.85439,0.85506,0.85570,0.85632,0.85692,0.85749,0.85805,0.85857,0.85908,0.85957,0.86004,0.86049,0.86093,0.86134,0.86174,0.86213,0.86250,0.86285,0.86319,0.86352,0.86383,0.86414,0.86443,0.86471,0.86497,0.86523,0.86548,0.86572,0.86595,0.86617,0.86638,0.86658,0.86678,0.86696,0.86714,0.86732],
[0.36419,0.38408,0.40319,0.42155,0.43920,0.45615,0.47244,0.48810,0.50314,0.51759,0.53148,0.54482,0.55764,0.56996,0.58180,0.59317,0.60410,0.61460,0.62469,0.63438,0.64370,0.65265,0.66125,0.66951,0.67746,0.68508,0.69242,0.69946,0.70623,0.71273,0.71898,0.72499,0.73075,0.73630,0.74162,0.74674,0.75166,0.75639,0.76093,0.76529,0.76948,0.77351,0.77738,0.78110,0.78467,0.78810,0.79140,0.79457,0.79762,0.80055,0.80336,0.80606,0.80866,0.81115,0.81355,0.81585,0.81806,0.82019,0.82223,0.82420,0.82608,0.82789,0.82964,0.83131,0.83292,0.83446,0.83595,0.83737,0.83874,0.84006,0.84133,0.84254,0.84371,0.84483,0.84591,0.84695,0.84794,0.84890,0.84982,0.85070,0.85155,0.85237,0.85315,0.85391,0.85463,0.85532,0.85599,0.85663,0.85725,0.85784,0.85841,0.85896,0.85949,0.85999,0.86048,0.86094,0.86139,0.86182,0.86224,0.86263,0.86301,0.86338,0.86373,0.86407,0.86440,0.86471,0.86501,0.86530,0.86558,0.86585,0.86610,0.86635,0.86658,0.86681,0.86703,0.86724,0.86744,0.86764,0.86782,0.86800,0.86817],
[0.36946,0.38918,0.40814,0.42635,0.44385,0.46066,0.47682,0.49234,0.50726,0.52159,0.53536,0.54859,0.56131,0.57353,0.58526,0.59654,0.60738,0.61780,0.62780,0.63742,0.64665,0.65553,0.66406,0.67225,0.68013,0.68770,0.69497,0.70195,0.70866,0.71511,0.72131,0.72727,0.73299,0.73848,0.74377,0.74884,0.75372,0.75841,0.76291,0.76723,0.77139,0.77539,0.77923,0.78291,0.78646,0.78986,0.79313,0.79628,0.79930,0.80220,0.80499,0.80767,0.81024,0.81272,0.81509,0.81738,0.81957,0.82168,0.82371,0.82565,0.82752,0.82932,0.83105,0.83271,0.83430,0.83584,0.83731,0.83872,0.84008,0.84139,0.84264,0.84385,0.84501,0.84612,0.84719,0.84822,0.84920,0.85015,0.85107,0.85194,0.85278,0.85359,0.85437,0.85512,0.85583,0.85652,0.85719,0.85782,0.85843,0.85902,0.85959,0.86013,0.86065,0.86115,0.86163,0.86210,0.86254,0.86297,0.86338,0.86377,0.86415,0.86451,0.86486,0.86520,0.86552,0.86583,0.86613,0.86642,0.86669,0.86696,0.86721,0.86746,0.86769,0.86792,0.86813,0.86834,0.86854,0.86873,0.86892,0.86910,0.86927],
[0.37469,0.39426,0.41305,0.43111,0.44847,0.46514,0.48116,0.49656,0.51135,0.52556,0.53922,0.55234,0.56495,0.57707,0.58871,0.59989,0.61064,0.62097,0.63089,0.64043,0.64959,0.65839,0.66685,0.67498,0.68279,0.69029,0.69750,0.70443,0.71108,0.71748,0.72363,0.72953,0.73520,0.74066,0.74589,0.75093,0.75576,0.76041,0.76488,0.76917,0.77329,0.77725,0.78106,0.78472,0.78823,0.79161,0.79485,0.79797,0.80096,0.80384,0.80661,0.80926,0.81182,0.81427,0.81663,0.81889,0.82107,0.82316,0.82517,0.82710,0.82896,0.83074,0.83245,0.83410,0.83568,0.83720,0.83866,0.84006,0.84141,0.84270,0.84395,0.84514,0.84629,0.84740,0.84846,0.84948,0.85046,0.85140,0.85230,0.85317,0.85401,0.85481,0.85558,0.85632,0.85703,0.85772,0.85837,0.85900,0.85961,0.86019,0.86075,0.86129,0.86181,0.86230,0.86278,0.86324,0.86368,0.86411,0.86451,0.86490,0.86528,0.86564,0.86599,0.86632,0.86664,0.86695,0.86724,0.86753,0.86780,0.86806,0.86831,0.86856,0.86879,0.86901,0.86923,0.86943,0.86963,0.86982,0.87001,0.87018,0.87035],
[0.38106,0.40042,0.41903,0.43691,0.45408,0.47059,0.48645,0.50168,0.51633,0.53039,0.54391,0.55690,0.56938,0.58137,0.59290,0.60397,0.61461,0.62483,0.63465,0.64409,0.65316,0.66187,0.67024,0.67829,0.68602,0.69344,0.70058,0.70744,0.71402,0.72036,0.72644,0.73228,0.73790,0.74330,0.74848,0.75346,0.75825,0.76285,0.76727,0.77152,0.77560,0.77952,0.78329,0.78691,0.79039,0.79373,0.79694,0.80002,0.80299,0.80584,0.80858,0.81121,0.81373,0.81616,0.81850,0.82074,0.82289,0.82496,0.82695,0.82886,0.83070,0.83246,0.83416,0.83579,0.83735,0.83886,0.84030,0.84169,0.84302,0.84431,0.84554,0.84672,0.84786,0.84895,0.85000,0.85101,0.85198,0.85291,0.85381,0.85467,0.85549,0.85629,0.85705,0.85778,0.85849,0.85916,0.85981,0.86044,0.86104,0.86162,0.86217,0.86270,0.86321,0.86371,0.86418,0.86463,0.86507,0.86549,0.86589,0.86628,0.86665,0.86701,0.86735,0.86768,0.86800,0.86830,0.86859,0.86888,0.86915,0.86941,0.86966,0.86990,0.87013,0.87035,0.87056,0.87076,0.87096,0.87115,0.87133,0.87150,0.87167],
[0.38327,0.40174,0.41950,0.43657,0.45299,0.46877,0.48394,0.49853,0.51255,0.52604,0.53900,0.55146,0.56344,0.57496,0.58604,0.59668,0.60692,0.61676,0.62622,0.63532,0.64406,0.65247,0.66056,0.66833,0.67580,0.68298,0.68989,0.69653,0.70291,0.70905,0.71495,0.72062,0.72608,0.73132,0.73636,0.74121,0.74587,0.75035,0.75466,0.75880,0.76278,0.76661,0.77029,0.77382,0.77722,0.78049,0.78364,0.78666,0.78957,0.79236,0.79505,0.79763,0.80011,0.80250,0.80479,0.80700,0.80912,0.81116,0.81312,0.81500,0.81682,0.81856,0.82023,0.82184,0.82339,0.82488,0.82631,0.82769,0.82901,0.83028,0.83150,0.83268,0.83381,0.83490,0.83594,0.83695,0.83791,0.83884,0.83973,0.84059,0.84141,0.84221,0.84297,0.84370,0.84441,0.84509,0.84574,0.84636,0.84697,0.84754,0.84810,0.84864,0.84915,0.84964,0.85012,0.85058,0.85102,0.85144,0.85185,0.85224,0.85261,0.85297,0.85332,0.85365,0.85397,0.85428,0.85458,0.85486,0.85514,0.85540,0.85566,0.85590,0.85613,0.85636,0.85657,0.85678,0.85698,0.85717,0.85736,0.85754,0.85771],
[0.38771,0.40527,0.42216,0.43841,0.45403,0.46907,0.48353,0.49744,0.51082,0.52370,0.53608,0.54799,0.55945,0.57047,0.58108,0.59128,0.60109,0.61053,0.61961,0.62835,0.63675,0.64483,0.65261,0.66009,0.66728,0.67420,0.68086,0.68727,0.69343,0.69935,0.70506,0.71054,0.71582,0.72089,0.72577,0.73047,0.73499,0.73933,0.74351,0.74754,0.75140,0.75512,0.75870,0.76215,0.76546,0.76865,0.77171,0.77466,0.77750,0.78023,0.78285,0.78538,0.78781,0.79014,0.79239,0.79455,0.79663,0.79863,0.80056,0.80241,0.80419,0.80590,0.80755,0.80914,0.81066,0.81213,0.81354,0.81490,0.81621,0.81746,0.81867,0.81983,0.82095,0.82203,0.82306,0.82406,0.82501,0.82594,0.82682,0.82767,0.82849,0.82928,0.83004,0.83077,0.83147,0.83215,0.83280,0.83342,0.83402,0.83460,0.83516,0.83570,0.83621,0.83671,0.83718,0.83764,0.83808,0.83851,0.83891,0.83931,0.83968,0.84005,0.84040,0.84073,0.84105,0.84137,0.84166,0.84195,0.84223,0.84250,0.84275,0.84300,0.84324,0.84346,0.84368,0.84389,0.84410,0.84429,0.84448,0.84466,0.84483],
[0.39422,0.41085,0.42686,0.44226,0.45709,0.47136,0.48509,0.49831,0.51104,0.52328,0.53507,0.54642,0.55734,0.56785,0.57797,0.58771,0.59708,0.60610,0.61478,0.62314,0.63118,0.63892,0.64637,0.65355,0.66045,0.66709,0.67349,0.67965,0.68557,0.69127,0.69676,0.70204,0.70713,0.71202,0.71673,0.72127,0.72563,0.72983,0.73387,0.73776,0.74151,0.74511,0.74858,0.75192,0.75514,0.75823,0.76121,0.76407,0.76683,0.76949,0.77204,0.77450,0.77687,0.77915,0.78134,0.78345,0.78548,0.78744,0.78932,0.79113,0.79288,0.79456,0.79617,0.79773,0.79922,0.80066,0.80205,0.80338,0.80467,0.80590,0.80709,0.80824,0.80934,0.81040,0.81142,0.81241,0.81335,0.81426,0.81514,0.81598,0.81680,0.81758,0.81833,0.81905,0.81975,0.82042,0.82107,0.82169,0.82228,0.82286,0.82341,0.82395,0.82446,0.82495,0.82543,0.82589,0.82633,0.82675,0.82716,0.82755,0.82793,0.82829,0.82864,0.82898,0.82931,0.82962,0.82992,0.83021,0.83049,0.83076,0.83101,0.83126,0.83150,0.83173,0.83195,0.83216,0.83237,0.83257,0.83276,0.83294,0.83312],
[0.40076,0.41651,0.43167,0.44627,0.46033,0.47388,0.48692,0.49948,0.51157,0.52322,0.53444,0.54524,0.55564,0.56566,0.57531,0.58460,0.59355,0.60217,0.61047,0.61846,0.62616,0.63357,0.64071,0.64759,0.65421,0.66058,0.66672,0.67263,0.67833,0.68381,0.68909,0.69418,0.69908,0.70380,0.70834,0.71271,0.71693,0.72098,0.72489,0.72865,0.73228,0.73577,0.73913,0.74236,0.74548,0.74848,0.75137,0.75416,0.75684,0.75942,0.76191,0.76430,0.76661,0.76883,0.77097,0.77303,0.77501,0.77692,0.77876,0.78053,0.78224,0.78388,0.78546,0.78699,0.78845,0.78987,0.79123,0.79254,0.79380,0.79502,0.79619,0.79731,0.79840,0.79945,0.80045,0.80142,0.80236,0.80325,0.80412,0.80495,0.80576,0.80653,0.80728,0.80799,0.80869,0.80935,0.80999,0.81061,0.81120,0.81177,0.81233,0.81286,0.81337,0.81386,0.81433,0.81479,0.81523,0.81565,0.81606,0.81645,0.81683,0.81720,0.81755,0.81788,0.81821,0.81852,0.81882,0.81912,0.81939,0.81966,0.81992,0.82017,0.82041,0.82065,0.82087,0.82108,0.82129,0.82149,0.82168,0.82187,0.82205],
[0.40926,0.42412,0.43843,0.45222,0.46551,0.47832,0.49066,0.50254,0.51400,0.52504,0.53567,0.54592,0.55580,0.56531,0.57448,0.58332,0.59183,0.60003,0.60794,0.61555,0.62289,0.62996,0.63677,0.64334,0.64966,0.65576,0.66163,0.66729,0.67274,0.67800,0.68306,0.68794,0.69264,0.69717,0.70153,0.70574,0.70979,0.71370,0.71746,0.72108,0.72458,0.72794,0.73118,0.73431,0.73732,0.74022,0.74302,0.74571,0.74831,0.75081,0.75322,0.75554,0.75778,0.75993,0.76201,0.76401,0.76594,0.76780,0.76959,0.77132,0.77298,0.77458,0.77612,0.77761,0.77904,0.78043,0.78176,0.78304,0.78427,0.78546,0.78661,0.78772,0.78878,0.78981,0.79080,0.79175,0.79267,0.79355,0.79441,0.79523,0.79602,0.79678,0.79752,0.79822,0.79891,0.79956,0.80020,0.80081,0.80140,0.80196,0.80251,0.80303,0.80354,0.80403,0.80450,0.80495,0.80539,0.80581,0.80622,0.80661,0.80698,0.80735,0.80770,0.80803,0.80836,0.80867,0.80897,0.80926,0.80954,0.80981,0.81007,0.81032,0.81057,0.81080,0.81102,0.81124,0.81145,0.81165,0.81184,0.81203,0.81221],
[0.41952,0.43348,0.44695,0.45993,0.47245,0.48451,0.49615,0.50736,0.51818,0.52860,0.53865,0.54834,0.55768,0.56669,0.57537,0.58374,0.59181,0.59959,0.60709,0.61432,0.62129,0.62801,0.63449,0.64074,0.64676,0.65257,0.65816,0.66356,0.66876,0.67378,0.67862,0.68328,0.68777,0.69211,0.69628,0.70031,0.70420,0.70794,0.71155,0.71503,0.71838,0.72162,0.72474,0.72774,0.73064,0.73343,0.73613,0.73872,0.74123,0.74364,0.74597,0.74821,0.75038,0.75246,0.75447,0.75641,0.75828,0.76008,0.76182,0.76349,0.76510,0.76666,0.76816,0.76961,0.77100,0.77235,0.77364,0.77489,0.77610,0.77726,0.77838,0.77946,0.78050,0.78150,0.78247,0.78340,0.78430,0.78517,0.78600,0.78681,0.78759,0.78834,0.78906,0.78975,0.79042,0.79107,0.79169,0.79230,0.79288,0.79343,0.79397,0.79449,0.79499,0.79548,0.79594,0.79639,0.79682,0.79724,0.79764,0.79803,0.79841,0.79877,0.79911,0.79945,0.79977,0.80008,0.80038,0.80067,0.80095,0.80122,0.80148,0.80173,0.80197,0.80220,0.80243,0.80264,0.80285,0.80305,0.80324,0.80343,0.80361],
[0.42964,0.44277,0.45543,0.46765,0.47943,0.49080,0.50176,0.51234,0.52254,0.53238,0.54187,0.55103,0.55986,0.56838,0.57660,0.58453,0.59217,0.59955,0.60667,0.61353,0.62015,0.62653,0.63269,0.63864,0.64437,0.64990,0.65523,0.66037,0.66534,0.67012,0.67474,0.67919,0.68349,0.68763,0.69163,0.69549,0.69921,0.70279,0.70626,0.70959,0.71281,0.71592,0.71892,0.72181,0.72459,0.72728,0.72988,0.73238,0.73479,0.73712,0.73937,0.74153,0.74362,0.74564,0.74758,0.74946,0.75127,0.75301,0.75470,0.75632,0.75789,0.75940,0.76085,0.76226,0.76362,0.76492,0.76619,0.76740,0.76858,0.76971,0.77080,0.77185,0.77287,0.77385,0.77480,0.77571,0.77659,0.77744,0.77826,0.77905,0.77981,0.78054,0.78125,0.78194,0.78260,0.78323,0.78385,0.78444,0.78501,0.78556,0.78609,0.78660,0.78710,0.78757,0.78803,0.78848,0.78891,0.78932,0.78972,0.79010,0.79047,0.79083,0.79117,0.79151,0.79183,0.79214,0.79244,0.79272,0.79300,0.79327,0.79353,0.79378,0.79402,0.79425,0.79447,0.79469,0.79490,0.79510,0.79529,0.79548,0.79566],
[0.44004,0.45237,0.46426,0.47575,0.48683,0.49752,0.50785,0.51781,0.52742,0.53670,0.54566,0.55430,0.56265,0.57070,0.57847,0.58597,0.59320,0.60019,0.60693,0.61344,0.61972,0.62578,0.63162,0.63727,0.64272,0.64798,0.65305,0.65795,0.66267,0.66724,0.67164,0.67589,0.67999,0.68395,0.68777,0.69145,0.69501,0.69844,0.70176,0.70496,0.70804,0.71102,0.71390,0.71667,0.71935,0.72194,0.72443,0.72684,0.72916,0.73141,0.73357,0.73566,0.73768,0.73962,0.74150,0.74331,0.74506,0.74675,0.74838,0.74995,0.75147,0.75293,0.75435,0.75571,0.75703,0.75830,0.75952,0.76071,0.76185,0.76295,0.76402,0.76504,0.76603,0.76699,0.76791,0.76880,0.76966,0.77049,0.77129,0.77207,0.77281,0.77353,0.77423,0.77490,0.77555,0.77617,0.77677,0.77736,0.77792,0.77846,0.77898,0.77949,0.77997,0.78044,0.78090,0.78134,0.78176,0.78217,0.78256,0.78294,0.78331,0.78366,0.78400,0.78433,0.78465,0.78496,0.78525,0.78554,0.78582,0.78608,0.78634,0.78659,0.78683,0.78706,0.78728,0.78750,0.78770,0.78791,0.78810,0.78829,0.78847],
[0.44868,0.46188,0.47305,0.48384,0.49426,0.50432,0.51403,0.52341,0.53247,0.54121,0.54966,0.55782,0.56569,0.57329,0.58064,0.58773,0.59458,0.60119,0.60757,0.61374,0.61969,0.62544,0.63099,0.63635,0.64152,0.64652,0.65135,0.65601,0.66051,0.66485,0.66905,0.67310,0.67701,0.68079,0.68444,0.68796,0.69136,0.69465,0.69782,0.70088,0.70384,0.70669,0.70945,0.71211,0.71468,0.71717,0.71956,0.72188,0.72412,0.72627,0.72836,0.73037,0.73232,0.73419,0.73600,0.73775,0.73944,0.74108,0.74265,0.74417,0.74564,0.74706,0.74843,0.74975,0.75103,0.75226,0.75346,0.75461,0.75572,0.75679,0.75782,0.75882,0.75979,0.76072,0.76162,0.76249,0.76333,0.76414,0.76493,0.76568,0.76641,0.76712,0.76780,0.76845,0.76909,0.76970,0.77029,0.77086,0.77142,0.77195,0.77246,0.77296,0.77344,0.77390,0.77435,0.77478,0.77520,0.77560,0.77599,0.77637,0.77673,0.77708,0.77742,0.77774,0.77806,0.77836,0.77866,0.77894,0.77922,0.77948,0.77974,0.77998,0.78022,0.78045,0.78067,0.78089,0.78110,0.78130,0.78149,0.78168,0.78185],
[0.45536,0.46944,0.47997,0.49013,0.49996,0.50945,0.51862,0.52747,0.53603,0.54430,0.55229,0.56001,0.56746,0.57467,0.58163,0.58835,0.59485,0.60112,0.60719,0.61305,0.61871,0.62417,0.62946,0.63456,0.63949,0.64426,0.64886,0.65331,0.65760,0.66175,0.66576,0.66964,0.67338,0.67700,0.68049,0.68387,0.68713,0.69028,0.69332,0.69626,0.69911,0.70185,0.70450,0.70706,0.70954,0.71193,0.71424,0.71648,0.71863,0.72072,0.72273,0.72467,0.72655,0.72837,0.73012,0.73182,0.73345,0.73504,0.73656,0.73804,0.73947,0.74084,0.74218,0.74346,0.74470,0.74590,0.74706,0.74819,0.74927,0.75031,0.75132,0.75230,0.75324,0.75416,0.75504,0.75589,0.75671,0.75750,0.75827,0.75901,0.75973,0.76042,0.76109,0.76173,0.76236,0.76296,0.76354,0.76410,0.76465,0.76517,0.76568,0.76617,0.76664,0.76710,0.76754,0.76797,0.76838,0.76878,0.76917,0.76954,0.76990,0.77024,0.77058,0.77090,0.77122,0.77152,0.77181,0.77209,0.77237,0.77263,0.77289,0.77313,0.77337,0.77360,0.77382,0.77404,0.77424,0.77444,0.77464,0.77482,0.77500],
[0.45988,0.47488,0.48635,0.49594,0.50520,0.51416,0.52282,0.53119,0.53928,0.54710,0.55466,0.56197,0.56903,0.57586,0.58246,0.58884,0.59501,0.60097,0.60673,0.61230,0.61768,0.62289,0.62792,0.63278,0.63748,0.64202,0.64641,0.65066,0.65476,0.65873,0.66256,0.66627,0.66985,0.67332,0.67666,0.67990,0.68303,0.68605,0.68897,0.69180,0.69453,0.69717,0.69972,0.70219,0.70457,0.70687,0.70910,0.71125,0.71334,0.71535,0.71729,0.71917,0.72099,0.72275,0.72444,0.72609,0.72767,0.72920,0.73069,0.73212,0.73350,0.73484,0.73614,0.73739,0.73860,0.73977,0.74090,0.74199,0.74304,0.74406,0.74505,0.74600,0.74693,0.74782,0.74868,0.74951,0.75031,0.75109,0.75184,0.75257,0.75327,0.75395,0.75461,0.75524,0.75586,0.75645,0.75702,0.75758,0.75811,0.75863,0.75913,0.75961,0.76008,0.76053,0.76097,0.76139,0.76180,0.76219,0.76258,0.76294,0.76330,0.76364,0.76398,0.76430,0.76461,0.76491,0.76520,0.76548,0.76575,0.76602,0.76627,0.76652,0.76675,0.76698,0.76720,0.76742,0.76762,0.76782,0.76802,0.76820,0.76839],
[0.46199,0.47796,0.49042,0.50087,0.50962,0.51809,0.52628,0.53419,0.54185,0.54926,0.55642,0.56335,0.57005,0.57653,0.58279,0.58885,0.59471,0.60038,0.60586,0.61116,0.61629,0.62125,0.62604,0.63068,0.63517,0.63950,0.64370,0.64776,0.65168,0.65548,0.65915,0.66270,0.66613,0.66945,0.67266,0.67576,0.67877,0.68167,0.68448,0.68720,0.68982,0.69236,0.69482,0.69720,0.69950,0.70172,0.70387,0.70595,0.70796,0.70990,0.71178,0.71360,0.71536,0.71706,0.71871,0.72030,0.72184,0.72332,0.72476,0.72616,0.72750,0.72880,0.73006,0.73128,0.73246,0.73360,0.73470,0.73576,0.73679,0.73779,0.73875,0.73969,0.74059,0.74146,0.74230,0.74312,0.74391,0.74467,0.74541,0.74612,0.74681,0.74748,0.74812,0.74874,0.74935,0.74993,0.75050,0.75104,0.75157,0.75208,0.75257,0.75305,0.75351,0.75396,0.75439,0.75481,0.75521,0.75560,0.75598,0.75635,0.75670,0.75704,0.75737,0.75769,0.75800,0.75830,0.75859,0.75887,0.75914,0.75940,0.75966,0.75990,0.76014,0.76037,0.76059,0.76080,0.76101,0.76121,0.76140,0.76159,0.76177],
[0.46144,0.47845,0.49195,0.50331,0.51162,0.51965,0.52743,0.53495,0.54223,0.54928,0.55610,0.56269,0.56907,0.57525,0.58123,0.58701,0.59260,0.59802,0.60325,0.60832,0.61323,0.61797,0.62256,0.62701,0.63131,0.63547,0.63949,0.64339,0.64715,0.65080,0.65433,0.65774,0.66105,0.66424,0.66734,0.67033,0.67322,0.67603,0.67874,0.68136,0.68390,0.68636,0.68873,0.69103,0.69326,0.69541,0.69749,0.69951,0.70146,0.70335,0.70517,0.70694,0.70865,0.71031,0.71191,0.71346,0.71495,0.71641,0.71781,0.71917,0.72048,0.72175,0.72298,0.72417,0.72532,0.72644,0.72752,0.72856,0.72957,0.73055,0.73149,0.73241,0.73329,0.73415,0.73498,0.73578,0.73655,0.73731,0.73803,0.73873,0.73941,0.74007,0.74071,0.74133,0.74192,0.74250,0.74306,0.74360,0.74412,0.74463,0.74511,0.74559,0.74605,0.74649,0.74692,0.74733,0.74773,0.74812,0.74850,0.74886,0.74921,0.74956,0.74989,0.75020,0.75051,0.75081,0.75110,0.75138,0.75165,0.75191,0.75217,0.75241,0.75265,0.75288,0.75310,0.75331,0.75352,0.75372,0.75392,0.75411,0.75429],
[0.45798,0.47614,0.49075,0.50308,0.51235,0.52000,0.52740,0.53456,0.54150,0.54822,0.55472,0.56101,0.56711,0.57300,0.57871,0.58424,0.58959,0.59478,0.59979,0.60465,0.60935,0.61390,0.61830,0.62257,0.62670,0.63070,0.63457,0.63831,0.64194,0.64545,0.64885,0.65214,0.65532,0.65841,0.66139,0.66428,0.66708,0.66979,0.67241,0.67495,0.67741,0.67979,0.68209,0.68432,0.68648,0.68857,0.69059,0.69255,0.69445,0.69628,0.69806,0.69978,0.70145,0.70306,0.70462,0.70613,0.70759,0.70901,0.71038,0.71171,0.71299,0.71424,0.71544,0.71661,0.71773,0.71883,0.71988,0.72091,0.72190,0.72286,0.72379,0.72469,0.72556,0.72640,0.72722,0.72801,0.72877,0.72951,0.73023,0.73092,0.73159,0.73224,0.73287,0.73348,0.73407,0.73464,0.73520,0.73573,0.73625,0.73675,0.73724,0.73771,0.73816,0.73860,0.73903,0.73944,0.73984,0.74023,0.74061,0.74097,0.74132,0.74166,0.74199,0.74231,0.74261,0.74291,0.74320,0.74348,0.74375,0.74402,0.74427,0.74452,0.74475,0.74498,0.74521,0.74542,0.74563,0.74583,0.74603,0.74622,0.74640],
[0.45147,0.47091,0.48673,0.50011,0.51039,0.51892,0.52598,0.53282,0.53945,0.54586,0.55208,0.55810,0.56393,0.56958,0.57505,0.58035,0.58548,0.59045,0.59527,0.59993,0.60445,0.60882,0.61306,0.61716,0.62114,0.62499,0.62872,0.63233,0.63583,0.63922,0.64250,0.64568,0.64876,0.65174,0.65463,0.65742,0.66013,0.66276,0.66530,0.66776,0.67015,0.67246,0.67470,0.67686,0.67896,0.68099,0.68296,0.68487,0.68672,0.68851,0.69024,0.69192,0.69354,0.69512,0.69664,0.69812,0.69955,0.70094,0.70228,0.70358,0.70484,0.70606,0.70724,0.70838,0.70949,0.71056,0.71160,0.71261,0.71359,0.71453,0.71545,0.71633,0.71719,0.71802,0.71883,0.71961,0.72036,0.72109,0.72180,0.72249,0.72315,0.72380,0.72442,0.72503,0.72561,0.72618,0.72673,0.72726,0.72777,0.72827,0.72876,0.72922,0.72968,0.73012,0.73054,0.73095,0.73135,0.73174,0.73211,0.73247,0.73283,0.73317,0.73349,0.73381,0.73412,0.73442,0.73471,0.73499,0.73526,0.73553,0.73578,0.73603,0.73627,0.73650,0.73673,0.73694,0.73715,0.73736,0.73755,0.73775,0.73793],
[0.44153,0.46238,0.47954,0.49407,0.50545,0.51492,0.52170,0.52826,0.53463,0.54079,0.54677,0.55256,0.55817,0.56361,0.56888,0.57399,0.57893,0.58373,0.58837,0.59288,0.59724,0.60147,0.60557,0.60954,0.61338,0.61711,0.62073,0.62423,0.62762,0.63091,0.63409,0.63718,0.64017,0.64307,0.64588,0.64861,0.65124,0.65380,0.65628,0.65868,0.66101,0.66326,0.66545,0.66756,0.66961,0.67160,0.67353,0.67540,0.67720,0.67896,0.68066,0.68230,0.68390,0.68544,0.68694,0.68839,0.68980,0.69116,0.69248,0.69376,0.69501,0.69621,0.69737,0.69850,0.69960,0.70066,0.70168,0.70268,0.70364,0.70458,0.70548,0.70636,0.70721,0.70804,0.70883,0.70961,0.71036,0.71109,0.71179,0.71247,0.71313,0.71378,0.71440,0.71500,0.71558,0.71615,0.71669,0.71723,0.71774,0.71824,0.71872,0.71919,0.71964,0.72008,0.72051,0.72092,0.72132,0.72171,0.72208,0.72245,0.72280,0.72314,0.72347,0.72379,0.72411,0.72441,0.72470,0.72498,0.72526,0.72552,0.72578,0.72603,0.72627,0.72650,0.72673,0.72695,0.72717,0.72737,0.72757,0.72777,0.72795],
[0.42814,0.45059,0.46923,0.48503,0.49761,0.50810,0.51585,0.52217,0.52829,0.53423,0.53999,0.54558,0.55099,0.55624,0.56133,0.56626,0.57104,0.57568,0.58017,0.58453,0.58876,0.59286,0.59683,0.60068,0.60441,0.60803,0.61154,0.61495,0.61824,0.62144,0.62454,0.62755,0.63046,0.63329,0.63603,0.63869,0.64126,0.64376,0.64618,0.64852,0.65080,0.65301,0.65514,0.65722,0.65923,0.66118,0.66307,0.66490,0.66667,0.66840,0.67007,0.67168,0.67325,0.67477,0.67625,0.67768,0.67907,0.68041,0.68171,0.68298,0.68420,0.68539,0.68654,0.68766,0.68874,0.68979,0.69081,0.69179,0.69275,0.69368,0.69457,0.69545,0.69629,0.69711,0.69790,0.69867,0.69942,0.70014,0.70085,0.70153,0.70219,0.70283,0.70344,0.70405,0.70463,0.70519,0.70574,0.70627,0.70679,0.70729,0.70777,0.70824,0.70869,0.70914,0.70956,0.70998,0.71038,0.71077,0.71115,0.71151,0.71187,0.71221,0.71255,0.71287,0.71318,0.71349,0.71378,0.71407,0.71435,0.71461,0.71487,0.71513,0.71537,0.71561,0.71584,0.71606,0.71628,0.71649,0.71669,0.71689,0.71708],
[0.41098,0.43523,0.45553,0.47274,0.48664,0.49825,0.50704,0.51424,0.52016,0.52590,0.53147,0.53687,0.54210,0.54718,0.55211,0.55689,0.56153,0.56603,0.57039,0.57462,0.57873,0.58271,0.58657,0.59032,0.59395,0.59747,0.60089,0.60421,0.60742,0.61055,0.61357,0.61651,0.61935,0.62212,0.62479,0.62739,0.62991,0.63236,0.63473,0.63703,0.63926,0.64143,0.64353,0.64556,0.64754,0.64945,0.65131,0.65311,0.65486,0.65656,0.65820,0.65980,0.66135,0.66285,0.66430,0.66572,0.66709,0.66842,0.66971,0.67096,0.67217,0.67335,0.67449,0.67559,0.67667,0.67771,0.67872,0.67970,0.68065,0.68157,0.68247,0.68333,0.68417,0.68499,0.68578,0.68655,0.68729,0.68802,0.68872,0.68940,0.69006,0.69070,0.69132,0.69192,0.69250,0.69307,0.69362,0.69415,0.69467,0.69517,0.69565,0.69613,0.69658,0.69703,0.69746,0.69787,0.69828,0.69867,0.69905,0.69942,0.69978,0.70013,0.70047,0.70079,0.70111,0.70142,0.70172,0.70201,0.70229,0.70256,0.70282,0.70308,0.70333,0.70357,0.70380,0.70403,0.70425,0.70446,0.70467,0.70487,0.70507],
[0.38994,0.41623,0.43839,0.45718,0.47254,0.48538,0.49531,0.50347,0.50921,0.51478,0.52019,0.52544,0.53053,0.53547,0.54027,0.54492,0.54944,0.55382,0.55807,0.56220,0.56621,0.57009,0.57387,0.57753,0.58108,0.58453,0.58787,0.59112,0.59427,0.59733,0.60030,0.60318,0.60597,0.60868,0.61131,0.61387,0.61635,0.61875,0.62109,0.62335,0.62555,0.62768,0.62975,0.63176,0.63371,0.63560,0.63744,0.63922,0.64095,0.64263,0.64426,0.64584,0.64737,0.64886,0.65031,0.65171,0.65307,0.65439,0.65567,0.65691,0.65812,0.65929,0.66043,0.66153,0.66260,0.66364,0.66464,0.66562,0.66657,0.66749,0.66839,0.66925,0.67010,0.67091,0.67170,0.67247,0.67322,0.67394,0.67465,0.67533,0.67599,0.67663,0.67726,0.67786,0.67845,0.67902,0.67957,0.68011,0.68063,0.68114,0.68163,0.68210,0.68256,0.68301,0.68345,0.68387,0.68428,0.68468,0.68506,0.68544,0.68580,0.68615,0.68650,0.68683,0.68715,0.68746,0.68777,0.68806,0.68835,0.68862,0.68889,0.68915,0.68941,0.68965,0.68989,0.69012,0.69035,0.69057,0.69078,0.69098,0.69118],
[0.36457,0.39317,0.41743,0.43800,0.45498,0.46919,0.48038,0.48958,0.49628,0.50170,0.50697,0.51208,0.51704,0.52186,0.52654,0.53109,0.53550,0.53978,0.54394,0.54797,0.55189,0.55570,0.55939,0.56298,0.56646,0.56985,0.57313,0.57632,0.57941,0.58242,0.58533,0.58817,0.59092,0.59359,0.59618,0.59869,0.60114,0.60351,0.60581,0.60805,0.61022,0.61233,0.61438,0.61636,0.61829,0.62017,0.62199,0.62375,0.62547,0.62713,0.62875,0.63032,0.63184,0.63332,0.63475,0.63615,0.63750,0.63882,0.64009,0.64133,0.64254,0.64370,0.64484,0.64594,0.64701,0.64804,0.64905,0.65003,0.65098,0.65190,0.65280,0.65367,0.65451,0.65533,0.65613,0.65690,0.65765,0.65838,0.65908,0.65977,0.66044,0.66108,0.66171,0.66232,0.66291,0.66349,0.66405,0.66459,0.66512,0.66563,0.66612,0.66660,0.66707,0.66753,0.66797,0.66839,0.66881,0.66921,0.66960,0.66999,0.67035,0.67071,0.67106,0.67140,0.67173,0.67205,0.67235,0.67266,0.67295,0.67323,0.67350,0.67377,0.67403,0.67428,0.67453,0.67476,0.67499,0.67522,0.67543,0.67564,0.67585],
[0.33823,0.36586,0.39249,0.41506,0.43386,0.44961,0.46220,0.47255,0.48029,0.48655,0.49169,0.49668,0.50154,0.50625,0.51082,0.51527,0.51959,0.52378,0.52786,0.53182,0.53566,0.53939,0.54302,0.54655,0.54997,0.55329,0.55652,0.55966,0.56271,0.56567,0.56854,0.57133,0.57405,0.57668,0.57924,0.58173,0.58414,0.58649,0.58876,0.59098,0.59313,0.59522,0.59724,0.59922,0.60113,0.60299,0.60479,0.60655,0.60825,0.60991,0.61151,0.61308,0.61459,0.61607,0.61750,0.61889,0.62024,0.62155,0.62282,0.62406,0.62526,0.62643,0.62757,0.62867,0.62974,0.63078,0.63179,0.63277,0.63372,0.63465,0.63555,0.63642,0.63727,0.63809,0.63889,0.63967,0.64042,0.64116,0.64187,0.64256,0.64323,0.64389,0.64452,0.64514,0.64574,0.64632,0.64688,0.64743,0.64796,0.64848,0.64898,0.64947,0.64995,0.65041,0.65085,0.65129,0.65171,0.65212,0.65252,0.65291,0.65328,0.65365,0.65400,0.65435,0.65468,0.65501,0.65532,0.65563,0.65593,0.65622,0.65650,0.65677,0.65704,0.65729,0.65754,0.65779,0.65802,0.65825,0.65848,0.65869,0.65890],
[0.31089,0.33742,0.36307,0.38791,0.40877,0.42623,0.44038,0.45202,0.46091,0.46809,0.47313,0.47803,0.48279,0.48742,0.49192,0.49629,0.50053,0.50466,0.50867,0.51257,0.51636,0.52004,0.52361,0.52709,0.53047,0.53375,0.53694,0.54004,0.54305,0.54598,0.54883,0.55159,0.55428,0.55689,0.55943,0.56190,0.56429,0.56662,0.56889,0.57109,0.57322,0.57530,0.57732,0.57928,0.58119,0.58304,0.58484,0.58659,0.58829,0.58994,0.59155,0.59311,0.59463,0.59610,0.59753,0.59893,0.60028,0.60159,0.60287,0.60411,0.60532,0.60649,0.60763,0.60874,0.60981,0.61086,0.61188,0.61286,0.61382,0.61476,0.61566,0.61654,0.61740,0.61823,0.61904,0.61983,0.62059,0.62133,0.62205,0.62275,0.62343,0.62410,0.62474,0.62536,0.62597,0.62656,0.62713,0.62769,0.62823,0.62876,0.62927,0.62977,0.63025,0.63072,0.63118,0.63162,0.63205,0.63247,0.63288,0.63327,0.63366,0.63403,0.63439,0.63475,0.63509,0.63542,0.63575,0.63606,0.63637,0.63666,0.63695,0.63723,0.63751,0.63777,0.63803,0.63828,0.63852,0.63876,0.63899,0.63921,0.63943],
[0.28251,0.30780,0.33232,0.35632,0.37949,0.39890,0.41479,0.42787,0.43804,0.44625,0.45217,0.45699,0.46167,0.46622,0.47065,0.47496,0.47914,0.48321,0.48716,0.49101,0.49475,0.49839,0.50192,0.50536,0.50870,0.51195,0.51510,0.51817,0.52116,0.52406,0.52688,0.52963,0.53230,0.53489,0.53741,0.53986,0.54225,0.54456,0.54682,0.54901,0.55114,0.55321,0.55522,0.55718,0.55908,0.56093,0.56273,0.56448,0.56618,0.56783,0.56944,0.57100,0.57252,0.57400,0.57544,0.57683,0.57819,0.57951,0.58079,0.58204,0.58326,0.58444,0.58558,0.58670,0.58778,0.58883,0.58986,0.59086,0.59182,0.59277,0.59368,0.59457,0.59544,0.59628,0.59710,0.59789,0.59867,0.59942,0.60015,0.60086,0.60155,0.60222,0.60288,0.60351,0.60413,0.60473,0.60531,0.60588,0.60643,0.60697,0.60749,0.60800,0.60849,0.60897,0.60943,0.60989,0.61033,0.61076,0.61117,0.61158,0.61197,0.61235,0.61273,0.61309,0.61344,0.61378,0.61411,0.61444,0.61475,0.61506,0.61535,0.61564,0.61592,0.61620,0.61646,0.61672,0.61697,0.61721,0.61745,0.61768,0.61791],
[0.25391,0.27778,0.30100,0.32398,0.34624,0.36781,0.38565,0.40033,0.41193,0.42127,0.42816,0.43370,0.43831,0.44280,0.44716,0.45141,0.45554,0.45955,0.46346,0.46726,0.47096,0.47455,0.47805,0.48145,0.48476,0.48798,0.49111,0.49415,0.49712,0.50000,0.50280,0.50552,0.50818,0.51076,0.51326,0.51570,0.51808,0.52039,0.52263,0.52482,0.52694,0.52901,0.53102,0.53297,0.53487,0.53672,0.53852,0.54027,0.54198,0.54363,0.54524,0.54681,0.54833,0.54982,0.55126,0.55266,0.55403,0.55535,0.55664,0.55790,0.55912,0.56031,0.56146,0.56259,0.56368,0.56474,0.56578,0.56678,0.56776,0.56871,0.56964,0.57054,0.57142,0.57227,0.57310,0.57390,0.57469,0.57545,0.57619,0.57691,0.57762,0.57830,0.57896,0.57961,0.58024,0.58085,0.58144,0.58202,0.58258,0.58313,0.58366,0.58418,0.58468,0.58517,0.58565,0.58611,0.58657,0.58700,0.58743,0.58784,0.58825,0.58864,0.58902,0.58939,0.58976,0.59011,0.59045,0.59078,0.59110,0.59142,0.59172,0.59202,0.59231,0.59259,0.59287,0.59313,0.59339,0.59364,0.59389,0.59413,0.59436],
[0.22538,0.24764,0.26935,0.29114,0.31230,0.33305,0.35306,0.36952,0.38270,0.39329,0.40126,0.40758,0.41213,0.41656,0.42087,0.42507,0.42915,0.43312,0.43699,0.44075,0.44441,0.44797,0.45144,0.45481,0.45809,0.46129,0.46440,0.46742,0.47037,0.47323,0.47602,0.47873,0.48137,0.48394,0.48644,0.48887,0.49124,0.49354,0.49579,0.49797,0.50009,0.50216,0.50417,0.50612,0.50803,0.50988,0.51168,0.51344,0.51514,0.51681,0.51842,0.52000,0.52153,0.52302,0.52447,0.52588,0.52725,0.52859,0.52989,0.53115,0.53239,0.53358,0.53475,0.53588,0.53699,0.53806,0.53911,0.54013,0.54112,0.54208,0.54302,0.54393,0.54482,0.54568,0.54652,0.54734,0.54814,0.54891,0.54967,0.55040,0.55112,0.55181,0.55249,0.55315,0.55379,0.55441,0.55502,0.55561,0.55618,0.55674,0.55728,0.55781,0.55833,0.55883,0.55932,0.55979,0.56025,0.56070,0.56114,0.56157,0.56198,0.56238,0.56278,0.56316,0.56353,0.56389,0.56424,0.56458,0.56492,0.56524,0.56556,0.56586,0.56616,0.56645,0.56674,0.56701,0.56728,0.56754,0.56779,0.56804,0.56828],
[0.19725,0.21771,0.23772,0.25811,0.27798,0.29772,0.31682,0.33526,0.35018,0.36217,0.37132,0.37852,0.38374,0.38811,0.39237,0.39652,0.40055,0.40448,0.40831,0.41203,0.41566,0.41919,0.42262,0.42597,0.42923,0.43240,0.43548,0.43849,0.44142,0.44427,0.44704,0.44974,0.45237,0.45493,0.45742,0.45985,0.46221,0.46451,0.46675,0.46892,0.47105,0.47311,0.47512,0.47708,0.47899,0.48084,0.48265,0.48441,0.48612,0.48779,0.48941,0.49099,0.49253,0.49403,0.49549,0.49691,0.49829,0.49963,0.50094,0.50222,0.50346,0.50467,0.50585,0.50699,0.50811,0.50919,0.51025,0.51128,0.51228,0.51326,0.51421,0.51513,0.51603,0.51691,0.51776,0.51859,0.51940,0.52019,0.52096,0.52170,0.52243,0.52314,0.52382,0.52450,0.52515,0.52578,0.52640,0.52700,0.52759,0.52816,0.52872,0.52926,0.52979,0.53030,0.53080,0.53128,0.53176,0.53222,0.53267,0.53310,0.53353,0.53394,0.53435,0.53474,0.53512,0.53549,0.53585,0.53621,0.53655,0.53688,0.53721,0.53753,0.53783,0.53813,0.53843,0.53871,0.53899,0.53926,0.53952,0.53978,0.54002],
[0.16989,0.18835,0.20644,0.22524,0.24360,0.26215,0.28014,0.29775,0.31460,0.32812,0.33858,0.34674,0.35270,0.35702,0.36123,0.36533,0.36932,0.37321,0.37699,0.38068,0.38427,0.38777,0.39118,0.39450,0.39774,0.40088,0.40395,0.40694,0.40985,0.41268,0.41544,0.41813,0.42075,0.42330,0.42579,0.42821,0.43056,0.43286,0.43510,0.43727,0.43939,0.44146,0.44347,0.44543,0.44734,0.44920,0.45101,0.45278,0.45449,0.45617,0.45780,0.45938,0.46093,0.46244,0.46390,0.46533,0.46672,0.46808,0.46940,0.47068,0.47194,0.47316,0.47434,0.47550,0.47663,0.47773,0.47880,0.47984,0.48085,0.48184,0.48280,0.48374,0.48465,0.48554,0.48641,0.48725,0.48807,0.48887,0.48965,0.49041,0.49115,0.49187,0.49257,0.49326,0.49392,0.49457,0.49520,0.49581,0.49641,0.49700,0.49756,0.49812,0.49866,0.49918,0.49969,0.50019,0.50068,0.50115,0.50161,0.50206,0.50249,0.50292,0.50333,0.50374,0.50413,0.50451,0.50488,0.50525,0.50560,0.50595,0.50628,0.50661,0.50693,0.50724,0.50754,0.50783,0.50812,0.50840,0.50867,0.50893,0.50919],
[0.14370,0.15996,0.17592,0.19293,0.20957,0.22672,0.24339,0.25999,0.27591,0.29112,0.30302,0.31223,0.31900,0.32327,0.32743,0.33148,0.33543,0.33928,0.34303,0.34668,0.35024,0.35371,0.35709,0.36038,0.36359,0.36672,0.36976,0.37273,0.37563,0.37844,0.38119,0.38387,0.38648,0.38902,0.39150,0.39391,0.39626,0.39855,0.40078,0.40296,0.40508,0.40715,0.40916,0.41112,0.41303,0.41489,0.41671,0.41848,0.42020,0.42188,0.42352,0.42511,0.42666,0.42818,0.42965,0.43109,0.43249,0.43386,0.43519,0.43648,0.43774,0.43898,0.44017,0.44134,0.44248,0.44359,0.44467,0.44572,0.44675,0.44775,0.44873,0.44968,0.45060,0.45150,0.45238,0.45324,0.45407,0.45488,0.45568,0.45645,0.45720,0.45793,0.45865,0.45934,0.46002,0.46068,0.46133,0.46195,0.46256,0.46316,0.46374,0.46431,0.46486,0.46539,0.46592,0.46643,0.46692,0.46741,0.46788,0.46834,0.46879,0.46922,0.46965,0.47006,0.47047,0.47086,0.47124,0.47162,0.47198,0.47234,0.47268,0.47302,0.47335,0.47367,0.47398,0.47428,0.47458,0.47487,0.47515,0.47542,0.47569],
[0.11912,0.13297,0.14660,0.16160,0.17631,0.19186,0.20700,0.22239,0.23719,0.25157,0.26504,0.27541,0.28306,0.28727,0.29138,0.29538,0.29928,0.30308,0.30679,0.31040,0.31392,0.31736,0.32070,0.32397,0.32715,0.33025,0.33327,0.33622,0.33909,0.34189,0.34462,0.34728,0.34988,0.35241,0.35487,0.35728,0.35962,0.36191,0.36413,0.36630,0.36842,0.37048,0.37249,0.37445,0.37637,0.37823,0.38005,0.38182,0.38354,0.38522,0.38687,0.38846,0.39002,0.39154,0.39302,0.39447,0.39588,0.39725,0.39859,0.39989,0.40116,0.40240,0.40361,0.40479,0.40594,0.40706,0.40815,0.40921,0.41025,0.41126,0.41224,0.41320,0.41414,0.41505,0.41594,0.41681,0.41766,0.41848,0.41929,0.42007,0.42083,0.42158,0.42230,0.42301,0.42370,0.42437,0.42503,0.42567,0.42629,0.42690,0.42749,0.42807,0.42863,0.42918,0.42971,0.43024,0.43074,0.43124,0.43172,0.43219,0.43265,0.43310,0.43354,0.43396,0.43438,0.43478,0.43517,0.43556,0.43593,0.43630,0.43665,0.43700,0.43734,0.43767,0.43799,0.43830,0.43861,0.43890,0.43919,0.43948,0.43975],
[0.10208,0.11328,0.12431,0.13702,0.14951,0.16316,0.17649,0.19038,0.20378,0.21706,0.22955,0.24111,0.24967,0.25486,0.25887,0.26278,0.26660,0.27032,0.27395,0.27749,0.28095,0.28431,0.28760,0.29080,0.29392,0.29697,0.29994,0.30284,0.30566,0.30842,0.31111,0.31373,0.31629,0.31878,0.32121,0.32358,0.32589,0.32815,0.33035,0.33250,0.33459,0.33663,0.33862,0.34056,0.34245,0.34430,0.34610,0.34785,0.34957,0.35124,0.35287,0.35446,0.35600,0.35751,0.35899,0.36043,0.36183,0.36319,0.36453,0.36583,0.36709,0.36833,0.36954,0.37071,0.37186,0.37298,0.37407,0.37513,0.37617,0.37718,0.37817,0.37913,0.38007,0.38099,0.38188,0.38275,0.38360,0.38443,0.38524,0.38603,0.38679,0.38754,0.38827,0.38899,0.38968,0.39036,0.39102,0.39167,0.39230,0.39291,0.39351,0.39409,0.39466,0.39521,0.39575,0.39628,0.39680,0.39730,0.39779,0.39827,0.39873,0.39919,0.39963,0.40006,0.40048,0.40089,0.40129,0.40168,0.40207,0.40244,0.40280,0.40315,0.40350,0.40383,0.40416,0.40448,0.40479,0.40510,0.40539,0.40568,0.40597],
[0.09054,0.09893,0.10717,0.11740,0.12746,0.13900,0.15029,0.16247,0.17426,0.18625,0.19756,0.20825,0.21775,0.22398,0.22788,0.23168,0.23539,0.23901,0.24255,0.24599,0.24936,0.25264,0.25584,0.25896,0.26201,0.26499,0.26789,0.27072,0.27348,0.27617,0.27880,0.28137,0.28387,0.28631,0.28870,0.29102,0.29329,0.29550,0.29766,0.29977,0.30183,0.30383,0.30579,0.30770,0.30956,0.31138,0.31315,0.31488,0.31657,0.31822,0.31982,0.32139,0.32292,0.32442,0.32587,0.32729,0.32868,0.33003,0.33135,0.33264,0.33390,0.33512,0.33632,0.33748,0.33862,0.33973,0.34082,0.34187,0.34291,0.34391,0.34490,0.34585,0.34679,0.34770,0.34859,0.34946,0.35031,0.35114,0.35194,0.35273,0.35350,0.35425,0.35498,0.35569,0.35639,0.35706,0.35773,0.35837,0.35900,0.35962,0.36022,0.36081,0.36138,0.36194,0.36248,0.36301,0.36353,0.36403,0.36453,0.36501,0.36548,0.36593,0.36638,0.36682,0.36724,0.36766,0.36806,0.36846,0.36884,0.36922,0.36959,0.36994,0.37029,0.37063,0.37097,0.37129,0.37161,0.37192,0.37222,0.37251,0.37280],
[0.08452,0.08998,0.09532,0.10292,0.11038,0.11963,0.12870,0.13899,0.14897,0.15949,0.16945,0.17912,0.18777,0.19508,0.19952,0.20319,0.20677,0.21026,0.21368,0.21701,0.22026,0.22343,0.22653,0.22956,0.23251,0.23539,0.23820,0.24095,0.24363,0.24624,0.24879,0.25129,0.25372,0.25609,0.25841,0.26067,0.26288,0.26503,0.26714,0.26919,0.27120,0.27315,0.27506,0.27693,0.27875,0.28052,0.28225,0.28395,0.28560,0.28721,0.28878,0.29032,0.29182,0.29328,0.29471,0.29611,0.29747,0.29879,0.30009,0.30136,0.30259,0.30380,0.30497,0.30612,0.30725,0.30834,0.30941,0.31045,0.31147,0.31246,0.31343,0.31438,0.31530,0.31621,0.31709,0.31795,0.31879,0.31960,0.32040,0.32118,0.32194,0.32269,0.32341,0.32412,0.32481,0.32549,0.32615,0.32679,0.32742,0.32803,0.32863,0.32921,0.32978,0.33034,0.33088,0.33141,0.33193,0.33243,0.33292,0.33341,0.33387,0.33433,0.33478,0.33522,0.33564,0.33606,0.33646,0.33686,0.33725,0.33762,0.33799,0.33835,0.33870,0.33905,0.33938,0.33971,0.34003,0.34034,0.34064,0.34094,0.34123],
[0.07864,0.08374,0.08872,0.09359,0.09834,0.10517,0.11187,0.12011,0.12812,0.13701,0.14547,0.15400,0.16167,0.16775,0.17274,0.17626,0.17970,0.18305,0.18633,0.18953,0.19265,0.19570,0.19868,0.20159,0.20443,0.20721,0.20992,0.21256,0.21515,0.21767,0.22013,0.22254,0.22489,0.22718,0.22942,0.23161,0.23374,0.23583,0.23786,0.23985,0.24179,0.24369,0.24554,0.24735,0.24912,0.25084,0.25253,0.25417,0.25578,0.25734,0.25888,0.26037,0.26183,0.26326,0.26465,0.26601,0.26734,0.26863,0.26990,0.27113,0.27234,0.27352,0.27467,0.27579,0.27689,0.27796,0.27901,0.28003,0.28103,0.28201,0.28296,0.28389,0.28479,0.28568,0.28655,0.28739,0.28822,0.28902,0.28981,0.29058,0.29133,0.29206,0.29278,0.29348,0.29416,0.29482,0.29547,0.29611,0.29673,0.29734,0.29793,0.29851,0.29907,0.29962,0.30016,0.30068,0.30120,0.30170,0.30219,0.30266,0.30313,0.30359,0.30403,0.30447,0.30489,0.30530,0.30571,0.30610,0.30649,0.30687,0.30723,0.30759,0.30794,0.30829,0.30862,0.30895,0.30926,0.30958,0.30988,0.31018,0.31047],
[0.07290,0.07765,0.08228,0.08681,0.09123,0.09555,0.09977,0.10585,0.11177,0.11891,0.12574,0.13300,0.13959,0.14433,0.14848,0.15183,0.15510,0.15830,0.16142,0.16447,0.16745,0.17036,0.17320,0.17598,0.17870,0.18135,0.18394,0.18647,0.18894,0.19136,0.19371,0.19602,0.19827,0.20047,0.20262,0.20472,0.20677,0.20877,0.21073,0.21264,0.21451,0.21633,0.21812,0.21986,0.22156,0.22322,0.22485,0.22643,0.22798,0.22949,0.23097,0.23242,0.23383,0.23521,0.23656,0.23787,0.23916,0.24041,0.24164,0.24284,0.24401,0.24515,0.24627,0.24736,0.24843,0.24947,0.25049,0.25148,0.25245,0.25340,0.25433,0.25523,0.25612,0.25698,0.25782,0.25865,0.25946,0.26024,0.26101,0.26176,0.26250,0.26321,0.26391,0.26460,0.26527,0.26592,0.26656,0.26718,0.26779,0.26838,0.26897,0.26953,0.27009,0.27063,0.27116,0.27167,0.27218,0.27267,0.27316,0.27363,0.27409,0.27454,0.27497,0.27540,0.27582,0.27623,0.27663,0.27702,0.27740,0.27778,0.27814,0.27850,0.27884,0.27918,0.27951,0.27984,0.28016,0.28046,0.28077,0.28106,0.28135],
[0.06731,0.07170,0.07600,0.08019,0.08430,0.08830,0.09222,0.09605,0.09979,0.10508,0.11019,0.11608,0.12151,0.12482,0.12805,0.13121,0.13429,0.13731,0.14026,0.14314,0.14596,0.14871,0.15140,0.15403,0.15660,0.15911,0.16157,0.16397,0.16631,0.16860,0.17084,0.17303,0.17517,0.17726,0.17930,0.18130,0.18325,0.18516,0.18702,0.18884,0.19062,0.19236,0.19406,0.19572,0.19735,0.19893,0.20049,0.20200,0.20348,0.20493,0.20635,0.20773,0.20908,0.21040,0.21169,0.21295,0.21419,0.21539,0.21657,0.21772,0.21885,0.21995,0.22102,0.22207,0.22310,0.22410,0.22508,0.22604,0.22698,0.22789,0.22879,0.22966,0.23051,0.23135,0.23216,0.23296,0.23374,0.23450,0.23525,0.23598,0.23669,0.23738,0.23806,0.23872,0.23937,0.24001,0.24063,0.24123,0.24182,0.24240,0.24297,0.24352,0.24406,0.24459,0.24510,0.24561,0.24610,0.24658,0.24705,0.24751,0.24796,0.24840,0.24883,0.24925,0.24966,0.25006,0.25045,0.25083,0.25121,0.25157,0.25193,0.25228,0.25262,0.25295,0.25328,0.25360,0.25391,0.25421,0.25451,0.25480,0.25509],
[0.06186,0.06591,0.06987,0.07374,0.07752,0.08122,0.08484,0.08838,0.09184,0.09522,0.09852,0.10298,0.10718,0.11026,0.11327,0.11622,0.11910,0.12192,0.12467,0.12736,0.13000,0.13257,0.13509,0.13755,0.13995,0.14230,0.14460,0.14685,0.14905,0.15120,0.15330,0.15536,0.15736,0.15933,0.16125,0.16313,0.16496,0.16676,0.16851,0.17023,0.17190,0.17354,0.17515,0.17672,0.17825,0.17975,0.18121,0.18264,0.18404,0.18541,0.18675,0.18806,0.18934,0.19059,0.19182,0.19301,0.19418,0.19533,0.19645,0.19754,0.19861,0.19965,0.20067,0.20167,0.20265,0.20361,0.20454,0.20545,0.20634,0.20722,0.20807,0.20890,0.20972,0.21052,0.21130,0.21206,0.21280,0.21353,0.21425,0.21494,0.21562,0.21629,0.21694,0.21758,0.21820,0.21881,0.21940,0.21998,0.22055,0.22111,0.22165,0.22218,0.22270,0.22321,0.22371,0.22420,0.22467,0.22513,0.22559,0.22603,0.22647,0.22689,0.22731,0.22771,0.22811,0.22850,0.22887,0.22925,0.22961,0.22996,0.23031,0.23065,0.23098,0.23130,0.23162,0.23193,0.23223,0.23253,0.23282,0.23310,0.23337],
[0.05655,0.06026,0.06389,0.06744,0.07092,0.07431,0.07764,0.08089,0.08407,0.08718,0.09022,0.09320,0.09611,0.09896,0.10174,0.10446,0.10713,0.10973,0.11228,0.11478,0.11721,0.11960,0.12193,0.12421,0.12645,0.12863,0.13076,0.13285,0.13490,0.13689,0.13885,0.14076,0.14263,0.14446,0.14625,0.14800,0.14971,0.15138,0.15302,0.15462,0.15619,0.15772,0.15922,0.16068,0.16212,0.16352,0.16489,0.16623,0.16755,0.16883,0.17009,0.17131,0.17251,0.17369,0.17484,0.17596,0.17706,0.17814,0.17919,0.18022,0.18122,0.18221,0.18317,0.18411,0.18503,0.18593,0.18682,0.18768,0.18852,0.18935,0.19015,0.19094,0.19171,0.19247,0.19321,0.19393,0.19463,0.19532,0.19600,0.19666,0.19731,0.19794,0.19856,0.19916,0.19976,0.20033,0.20090,0.20145,0.20200,0.20252,0.20304,0.20355,0.20405,0.20453,0.20500,0.20547,0.20592,0.20637,0.20680,0.20722,0.20764,0.20805,0.20844,0.20883,0.20921,0.20958,0.20995,0.21030,0.21065,0.21099,0.21132,0.21165,0.21197,0.21228,0.21258,0.21288,0.21317,0.21346,0.21374,0.21401,0.21428],
[0.05137,0.05476,0.05807,0.06131,0.06447,0.06758,0.07061,0.07358,0.07649,0.07933,0.08211,0.08484,0.08750,0.09011,0.09266,0.09515,0.09760,0.09999,0.10232,0.10461,0.10685,0.10904,0.11119,0.11328,0.11534,0.11734,0.11931,0.12123,0.12311,0.12496,0.12676,0.12852,0.13025,0.13193,0.13359,0.13520,0.13678,0.13833,0.13985,0.14133,0.14278,0.14420,0.14558,0.14694,0.14827,0.14957,0.15085,0.15209,0.15331,0.15450,0.15567,0.15681,0.15793,0.15902,0.16009,0.16114,0.16216,0.16316,0.16415,0.16511,0.16604,0.16696,0.16786,0.16874,0.16960,0.17045,0.17127,0.17208,0.17287,0.17364,0.17439,0.17513,0.17586,0.17656,0.17726,0.17793,0.17860,0.17925,0.17988,0.18050,0.18111,0.18171,0.18229,0.18286,0.18342,0.18396,0.18450,0.18502,0.18553,0.18603,0.18652,0.18700,0.18747,0.18792,0.18837,0.18881,0.18924,0.18966,0.19007,0.19048,0.19087,0.19125,0.19163,0.19200,0.19236,0.19271,0.19306,0.19340,0.19373,0.19405,0.19437,0.19468,0.19498,0.19528,0.19557,0.19586,0.19613,0.19641,0.19667,0.19693,0.19719],
[0.04634,0.04940,0.05240,0.05533,0.05820,0.06101,0.06376,0.06645,0.06909,0.07167,0.07420,0.07667,0.07909,0.08146,0.08378,0.08605,0.08827,0.09045,0.09258,0.09466,0.09671,0.09870,0.10066,0.10257,0.10445,0.10628,0.10808,0.10984,0.11156,0.11324,0.11489,0.11650,0.11808,0.11963,0.12115,0.12263,0.12408,0.12550,0.12689,0.12825,0.12958,0.13089,0.13216,0.13341,0.13464,0.13584,0.13701,0.13816,0.13928,0.14038,0.14145,0.14251,0.14354,0.14455,0.14554,0.14651,0.14745,0.14838,0.14929,0.15018,0.15105,0.15190,0.15273,0.15355,0.15435,0.15513,0.15589,0.15664,0.15738,0.15809,0.15880,0.15948,0.16016,0.16082,0.16146,0.16209,0.16271,0.16332,0.16391,0.16449,0.16506,0.16561,0.16616,0.16669,0.16721,0.16772,0.16822,0.16871,0.16919,0.16966,0.17012,0.17057,0.17100,0.17144,0.17186,0.17227,0.17267,0.17307,0.17345,0.17383,0.17420,0.17457,0.17492,0.17527,0.17561,0.17594,0.17627,0.17659,0.17690,0.17721,0.17751,0.17780,0.17809,0.17837,0.17864,0.17891,0.17917,0.17943,0.17969,0.17993,0.18017],
[0.04145,0.04419,0.04688,0.04951,0.05209,0.05461,0.05709,0.05951,0.06188,0.06420,0.06648,0.06870,0.07088,0.07302,0.07511,0.07716,0.07916,0.08113,0.08305,0.08493,0.08678,0.08859,0.09035,0.09209,0.09378,0.09544,0.09707,0.09866,0.10022,0.10175,0.10325,0.10471,0.10615,0.10755,0.10893,0.11028,0.11160,0.11289,0.11416,0.11540,0.11661,0.11780,0.11896,0.12010,0.12122,0.12231,0.12338,0.12443,0.12546,0.12646,0.12745,0.12841,0.12935,0.13028,0.13118,0.13207,0.13294,0.13379,0.13462,0.13544,0.13624,0.13702,0.13778,0.13853,0.13927,0.13999,0.14069,0.14138,0.14206,0.14272,0.14337,0.14400,0.14462,0.14523,0.14583,0.14641,0.14698,0.14754,0.14809,0.14863,0.14915,0.14967,0.15017,0.15066,0.15115,0.15162,0.15208,0.15254,0.15298,0.15342,0.15384,0.15426,0.15467,0.15507,0.15546,0.15585,0.15622,0.15659,0.15695,0.15730,0.15765,0.15799,0.15832,0.15865,0.15896,0.15927,0.15958,0.15988,0.16017,0.16046,0.16074,0.16101,0.16128,0.16154,0.16180,0.16206,0.16230,0.16254,0.16278,0.16301,0.16324],
[0.03669,0.03913,0.04151,0.04385,0.04614,0.04839,0.05059,0.05274,0.05485,0.05692,0.05895,0.06093,0.06288,0.06478,0.06665,0.06848,0.07027,0.07202,0.07374,0.07543,0.07708,0.07869,0.08027,0.08183,0.08335,0.08483,0.08629,0.08772,0.08912,0.09049,0.09184,0.09315,0.09444,0.09571,0.09694,0.09816,0.09934,0.10051,0.10165,0.10277,0.10386,0.10493,0.10598,0.10701,0.10802,0.10901,0.10997,0.11092,0.11185,0.11276,0.11365,0.11452,0.11538,0.11622,0.11704,0.11784,0.11863,0.11940,0.12016,0.12090,0.12162,0.12233,0.12303,0.12371,0.12438,0.12504,0.12568,0.12631,0.12692,0.12752,0.12812,0.12869,0.12926,0.12982,0.13036,0.13089,0.13142,0.13193,0.13243,0.13292,0.13340,0.13387,0.13434,0.13479,0.13523,0.13567,0.13609,0.13651,0.13692,0.13732,0.13771,0.13809,0.13847,0.13884,0.13920,0.13955,0.13990,0.14024,0.14057,0.14090,0.14122,0.14153,0.14184,0.14214,0.14243,0.14272,0.14300,0.14328,0.14355,0.14381,0.14407,0.14433,0.14458,0.14482,0.14506,0.14529,0.14552,0.14575,0.14597,0.14619,0.14640],
[0.03207,0.03421,0.03630,0.03835,0.04036,0.04233,0.04427,0.04616,0.04801,0.04983,0.05162,0.05336,0.05507,0.05675,0.05840,0.06001,0.06159,0.06313,0.06465,0.06614,0.06759,0.06902,0.07042,0.07179,0.07314,0.07446,0.07575,0.07701,0.07825,0.07947,0.08066,0.08183,0.08297,0.08409,0.08519,0.08627,0.08732,0.08836,0.08937,0.09037,0.09134,0.09229,0.09323,0.09415,0.09504,0.09592,0.09679,0.09763,0.09846,0.09927,0.10007,0.10085,0.10162,0.10237,0.10310,0.10382,0.10453,0.10522,0.10589,0.10656,0.10721,0.10785,0.10847,0.10909,0.10969,0.11027,0.11085,0.11142,0.11197,0.11251,0.11305,0.11357,0.11408,0.11458,0.11507,0.11555,0.11602,0.11649,0.11694,0.11738,0.11782,0.11824,0.11866,0.11907,0.11947,0.11987,0.12025,0.12063,0.12100,0.12136,0.12172,0.12207,0.12241,0.12274,0.12307,0.12339,0.12371,0.12402,0.12432,0.12462,0.12491,0.12519,0.12547,0.12575,0.12601,0.12628,0.12654,0.12679,0.12704,0.12728,0.12752,0.12775,0.12798,0.12820,0.12842,0.12864,0.12885,0.12905,0.12925,0.12945,0.12965],
[0.02759,0.02943,0.03124,0.03301,0.03475,0.03645,0.03812,0.03976,0.04136,0.04293,0.04448,0.04599,0.04747,0.04893,0.05035,0.05175,0.05312,0.05446,0.05578,0.05707,0.05834,0.05958,0.06080,0.06199,0.06316,0.06431,0.06543,0.06654,0.06762,0.06868,0.06972,0.07073,0.07173,0.07271,0.07367,0.07461,0.07554,0.07644,0.07733,0.07820,0.07905,0.07989,0.08071,0.08151,0.08230,0.08307,0.08383,0.08457,0.08530,0.08602,0.08672,0.08740,0.08808,0.08874,0.08938,0.09002,0.09064,0.09125,0.09185,0.09243,0.09301,0.09357,0.09412,0.09466,0.09519,0.09571,0.09622,0.09672,0.09722,0.09770,0.09817,0.09863,0.09908,0.09953,0.09996,0.10039,0.10081,0.10122,0.10162,0.10202,0.10240,0.10278,0.10316,0.10352,0.10388,0.10423,0.10457,0.10491,0.10524,0.10556,0.10588,0.10619,0.10650,0.10680,0.10709,0.10738,0.10766,0.10794,0.10821,0.10847,0.10874,0.10899,0.10924,0.10949,0.10973,0.10996,0.11020,0.11042,0.11065,0.11086,0.11108,0.11129,0.11149,0.11169,0.11189,0.11209,0.11228,0.11246,0.11265,0.11282,0.11300],
[0.02324,0.02480,0.02633,0.02782,0.02929,0.03073,0.03215,0.03353,0.03489,0.03623,0.03753,0.03882,0.04008,0.04131,0.04252,0.04371,0.04487,0.04601,0.04713,0.04823,0.04931,0.05037,0.05140,0.05242,0.05342,0.05440,0.05536,0.05630,0.05722,0.05812,0.05901,0.05988,0.06074,0.06157,0.06240,0.06320,0.06399,0.06477,0.06553,0.06627,0.06701,0.06772,0.06843,0.06912,0.06979,0.07046,0.07111,0.07175,0.07237,0.07299,0.07359,0.07418,0.07476,0.07533,0.07589,0.07643,0.07697,0.07750,0.07801,0.07852,0.07902,0.07950,0.07998,0.08045,0.08091,0.08136,0.08180,0.08223,0.08266,0.08308,0.08349,0.08389,0.08428,0.08467,0.08505,0.08542,0.08578,0.08614,0.08649,0.08683,0.08717,0.08750,0.08782,0.08814,0.08845,0.08876,0.08906,0.08935,0.08964,0.08993,0.09020,0.09048,0.09074,0.09101,0.09126,0.09151,0.09176,0.09200,0.09224,0.09248,0.09270,0.09293,0.09315,0.09336,0.09358,0.09378,0.09399,0.09419,0.09438,0.09458,0.09476,0.09495,0.09513,0.09531,0.09548,0.09565,0.09582,0.09599,0.09615,0.09631,0.09646],
[0.01903,0.02031,0.02156,0.02280,0.02400,0.02519,0.02635,0.02749,0.02861,0.02971,0.03079,0.03185,0.03288,0.03390,0.03490,0.03588,0.03684,0.03778,0.03871,0.03962,0.04051,0.04138,0.04224,0.04308,0.04391,0.04472,0.04552,0.04630,0.04706,0.04781,0.04855,0.04927,0.04998,0.05068,0.05136,0.05203,0.05269,0.05334,0.05397,0.05459,0.05520,0.05580,0.05639,0.05696,0.05753,0.05808,0.05863,0.05916,0.05968,0.06020,0.06070,0.06120,0.06168,0.06216,0.06262,0.06308,0.06353,0.06397,0.06441,0.06483,0.06525,0.06566,0.06606,0.06645,0.06684,0.06722,0.06759,0.06796,0.06832,0.06867,0.06901,0.06935,0.06968,0.07001,0.07033,0.07064,0.07095,0.07125,0.07155,0.07184,0.07212,0.07240,0.07268,0.07295,0.07321,0.07347,0.07373,0.07397,0.07422,0.07446,0.07470,0.07493,0.07515,0.07538,0.07560,0.07581,0.07602,0.07623,0.07643,0.07663,0.07682,0.07701,0.07720,0.07739,0.07757,0.07775,0.07792,0.07809,0.07826,0.07842,0.07858,0.07874,0.07890,0.07905,0.07920,0.07935,0.07949,0.07963,0.07977,0.07991,0.08004],
[0.01496,0.01597,0.01695,0.01792,0.01888,0.01981,0.02073,0.02163,0.02252,0.02338,0.02424,0.02507,0.02589,0.02670,0.02749,0.02827,0.02903,0.02978,0.03051,0.03123,0.03194,0.03264,0.03332,0.03399,0.03464,0.03529,0.03592,0.03654,0.03715,0.03775,0.03834,0.03891,0.03948,0.04003,0.04058,0.04111,0.04164,0.04215,0.04266,0.04316,0.04365,0.04412,0.04459,0.04505,0.04551,0.04595,0.04639,0.04682,0.04724,0.04765,0.04805,0.04845,0.04884,0.04922,0.04960,0.04997,0.05033,0.05069,0.05103,0.05138,0.05171,0.05204,0.05237,0.05268,0.05300,0.05330,0.05360,0.05390,0.05419,0.05447,0.05475,0.05502,0.05529,0.05556,0.05581,0.05607,0.05632,0.05656,0.05680,0.05704,0.05727,0.05750,0.05772,0.05794,0.05816,0.05837,0.05857,0.05878,0.05898,0.05917,0.05937,0.05955,0.05974,0.05992,0.06010,0.06027,0.06045,0.06062,0.06078,0.06094,0.06110,0.06126,0.06141,0.06157,0.06171,0.06186,0.06200,0.06214,0.06228,0.06241,0.06255,0.06268,0.06280,0.06293,0.06305,0.06317,0.06329,0.06341,0.06352,0.06363,0.06374],
[0.01102,0.01176,0.01249,0.01321,0.01391,0.01461,0.01529,0.01595,0.01661,0.01725,0.01788,0.01850,0.01911,0.01971,0.02030,0.02087,0.02144,0.02200,0.02254,0.02308,0.02360,0.02412,0.02463,0.02513,0.02561,0.02610,0.02657,0.02703,0.02748,0.02793,0.02837,0.02880,0.02922,0.02964,0.03005,0.03045,0.03084,0.03122,0.03160,0.03198,0.03234,0.03270,0.03305,0.03340,0.03374,0.03407,0.03440,0.03472,0.03504,0.03535,0.03565,0.03595,0.03625,0.03653,0.03682,0.03709,0.03737,0.03764,0.03790,0.03816,0.03841,0.03866,0.03890,0.03915,0.03938,0.03961,0.03984,0.04006,0.04028,0.04050,0.04071,0.04092,0.04112,0.04132,0.04152,0.04171,0.04190,0.04209,0.04227,0.04245,0.04263,0.04280,0.04297,0.04313,0.04330,0.04346,0.04362,0.04377,0.04392,0.04407,0.04422,0.04437,0.04451,0.04465,0.04478,0.04492,0.04505,0.04518,0.04530,0.04543,0.04555,0.04567,0.04579,0.04591,0.04602,0.04613,0.04624,0.04635,0.04645,0.04656,0.04666,0.04676,0.04686,0.04695,0.04705,0.04714,0.04723,0.04732,0.04741,0.04750,0.04758],
[0.00721,0.00770,0.00818,0.00865,0.00911,0.00957,0.01002,0.01045,0.01089,0.01131,0.01172,0.01213,0.01253,0.01293,0.01332,0.01370,0.01407,0.01444,0.01480,0.01515,0.01550,0.01584,0.01618,0.01651,0.01683,0.01715,0.01746,0.01777,0.01807,0.01837,0.01866,0.01894,0.01922,0.01950,0.01977,0.02004,0.02030,0.02055,0.02081,0.02105,0.02130,0.02154,0.02177,0.02200,0.02223,0.02245,0.02267,0.02288,0.02310,0.02330,0.02351,0.02371,0.02390,0.02410,0.02429,0.02447,0.02465,0.02483,0.02501,0.02518,0.02535,0.02552,0.02569,0.02585,0.02600,0.02616,0.02631,0.02646,0.02661,0.02676,0.02690,0.02704,0.02718,0.02731,0.02744,0.02757,0.02770,0.02783,0.02795,0.02807,0.02819,0.02831,0.02842,0.02854,0.02865,0.02876,0.02886,0.02897,0.02907,0.02917,0.02927,0.02937,0.02947,0.02956,0.02965,0.02974,0.02983,0.02992,0.03001,0.03009,0.03018,0.03026,0.03034,0.03042,0.03050,0.03057,0.03065,0.03072,0.03079,0.03086,0.03093,0.03100,0.03107,0.03114,0.03120,0.03126,0.03133,0.03139,0.03145,0.03151,0.03157],
[0.00354,0.00378,0.00402,0.00425,0.00448,0.00470,0.00492,0.00514,0.00535,0.00556,0.00576,0.00597,0.00616,0.00636,0.00655,0.00674,0.00692,0.00710,0.00728,0.00746,0.00763,0.00780,0.00797,0.00813,0.00829,0.00845,0.00860,0.00876,0.00891,0.00905,0.00920,0.00934,0.00948,0.00962,0.00975,0.00989,0.01002,0.01014,0.01027,0.01039,0.01052,0.01063,0.01075,0.01087,0.01098,0.01109,0.01120,0.01131,0.01141,0.01152,0.01162,0.01172,0.01182,0.01192,0.01201,0.01210,0.01220,0.01229,0.01237,0.01246,0.01255,0.01263,0.01271,0.01280,0.01288,0.01295,0.01303,0.01311,0.01318,0.01325,0.01333,0.01340,0.01347,0.01353,0.01360,0.01367,0.01373,0.01380,0.01386,0.01392,0.01398,0.01404,0.01410,0.01416,0.01421,0.01427,0.01432,0.01437,0.01443,0.01448,0.01453,0.01458,0.01463,0.01468,0.01472,0.01477,0.01482,0.01486,0.01490,0.01495,0.01499,0.01503,0.01507,0.01511,0.01515,0.01519,0.01523,0.01527,0.01530,0.01534,0.01538,0.01541,0.01545,0.01548,0.01551,0.01555,0.01558,0.01561,0.01564,0.01567,0.01570]]

/* define mort tables */
var qxdata =
[[0.0,0.0],
[0.00034000,0.00020300],
[0.00034000,0.00020300],
[0.00034000,0.00020300],
[0.00034000,0.00020300],
[0.00034000,0.00020300],
[0.00034000,0.00020300],
[0.00034000,0.00020300],
[0.00034000,0.00020300],
[0.00034000,0.00020300],
[0.00034000,0.00020300],
[0.00034000,0.00020300],
[0.00034000,0.00020300],
[0.00034000,0.00020300],
[0.00034000,0.00020300],
[0.00034000,0.00020300],
[0.00034000,0.00020300],
[0.00034000,0.00020300],
[0.00034000,0.00020300],
[0.00034000,0.00020300],
[0.00034000,0.00020300],
[0.00033800,0.00020200],
[0.00033700,0.00020200],
[0.00033500,0.00020200],
[0.00033400,0.00020200],
[0.00033300,0.00020300],
[0.00033200,0.00020400],
[0.00033100,0.00020600],
[0.00033100,0.00020900],
[0.00033200,0.00021200],
[0.00033300,0.00021700],
[0.00033500,0.00022200],
[0.00033800,0.00023000],
[0.00034300,0.00023800],
[0.00034900,0.00024900],
[0.00035700,0.00026300],
[0.00036700,0.00027900],
[0.00038000,0.00029800],
[0.00039600,0.00032100],
[0.00041700,0.00034900],
[0.00044300,0.00038200],
[0.00047500,0.00042100],
[0.00051400,0.00046800],
[0.00056100,0.00052200],
[0.00061900,0.00058600],
[0.00068900,0.00066200],
[0.00077400,0.00075000],
[0.00087600,0.00085200],
[0.00099700,0.00097200],
[0.00114200,0.00111000],
[0.00131500,0.00127100],
[0.00151900,0.00145600],
[0.00176100,0.00167000],
[0.00204500,0.00191700],
[0.00237900,0.00220000],
[0.00277100,0.00252400],
[0.00322800,0.00289400],
[0.00375900,0.00331700],
[0.00437600,0.00379900],
[0.00509000,0.00434500],
[0.00591400,0.00496500],
[0.00686100,0.00566700],
[0.00794700,0.00645800],
[0.00918900,0.00735000],
[0.01060400,0.00835200],
[0.01221100,0.00947600],
[0.01403200,0.01073400],
[0.01608800,0.01213800],
[0.01840200,0.01370300],
[0.02099800,0.01544200],
[0.02390100,0.01737100],
[0.02713700,0.01950500],
[0.03073200,0.02186100],
[0.03471300,0.02445500],
[0.03910500,0.02730600],
[0.04393500,0.03043200],
[0.04922700,0.03384900],
[0.05500600,0.03757700],
[0.06129200,0.04163200],
[0.06810600,0.04603500],
[0.07546400,0.05080000],
[0.08337900,0.05594600],
[0.09186200,0.06148800],
[0.10091700,0.06744100],
[0.11054400,0.07381700],
[0.12073900,0.08062900],
[0.13149200,0.08788500],
[0.14278600,0.09559400],
[0.15459900,0.10376100],
[0.16690300,0.11238600],
[0.17966400,0.12147000],
[0.19284100,0.13100900],
[0.20638900,0.14099600],
[0.22025700,0.15142000],
[0.23438900,0.16226700],
[0.24872700,0.17351900],
[0.26320600,0.18515500],
[0.27776200,0.19715000],
[0.29232700,0.20947700],
[0.30683200,0.22210300],
[0.32120900,0.23499500],
[0.33538900,0.24811500],
[0.34930500,0.26142400],
[0.36289300,0.27487900],
[0.37609100,0.28843700],
[0.38883800,0.30205400],
[0.40107900,0.31568400],
[0.41276300,0.32928000],
[0.42384200,0.34279500],
[0.43427200,0.35618500],
[0.44401400,0.36940300],
[0.45303300,0.38240600],
[0.46129700,0.39515000],
[0.46878000,0.40759400],
[0.47545900,0.41970000],
[0.48131300,0.43143100],
[0.48632600,0.44275200],
[0.49048400,0.45363000],
[0.49377600,0.46403800],
[0.49619400,0.47394700],
[1.00000000,1.00000000]]


	gtee=5;
	age_diff = 3;
	table_end = 120;
	an=0;
	monthly_adv=13/24;
	mem_mort = new Array(120);
	sps_mort = new Array(120);

if(sex == "M"){
	age_diff = age_diff;
	}
else{
	age_diff = -1*age_diff;
	}


for (var j=nra-Math.abs(age_diff); j<=table_end; j++){
	        x1 = j - 50;
		y1 = yob + j - 2005;
	        x2 = j - 50;
		y2 = y1 + age_diff;
	        if (x1 < 0){x1=0}
		if (y1 < 0){y1=0}
		if (y2 < 0){y2=0}
                if (x1<60){x = (1-imp_factors[x1][Math.min(y1,120)])}
		else {x = 1}
                if (x1<60){y = (1-imp_factors[x1][Math.min(y2,120)])}
		else {y = 1}

		if(sex=="M"){
			mem_mort[j] = (1 - x * qxdata[j][0]);
			sps_mort[j] = (1 - y * qxdata[j][1]);
			}
		else{
                       	mem_mort[j] = (1 - x * qxdata[j][1])
		        sps_mort[j] = (1 - y * qxdata[j][0])
			}
}


	net = (1+interest)/(1+esc)-1;

        ifrq = Math.pow(1+net, 1/12);
        if ((ifrq != 1.0) && (net != 0.0)){ifrq = net * ifrq/12/(ifrq-1)}
        else {ifrq = 1.0}

        an = 0;
        npx = 1;
        vn = 1;

	for ( var i=nra; i<table_end; i++ ) {
               npx = mem_mort[i] * npx;
               vn = vn * 1.0/(1.0+net);
               if ((i >= nra) && (i <= (nra+gtee-1))){
               		an = an + vn * ifrq;
                        if (i == (nra+gtee-1)){an = an + vn * npx * monthly_adv}
                  }
               else {an = an + vn * npx}
        }

        if (sps_perc > 0.0){
        	npy = 1;
                npx = 1;
                vn = 1;

		for ( var i=(nra-age_diff); i<(table_end-Math.abs(age_diff)); i++ ) {
                        npx = npx * mem_mort[i+age_diff]
                       	npy = npy * sps_mort[i];
                        vn = vn * 1.0/(1.0+net);
                        an = an + vn*npy*(1.0-npx)*sps_perc;
                }
	}

        if (gtee == 0){an = an + monthly_adv}

	annuity =an
   return annuity;
}
/*"End of all ax"*/
