function err = KBr400s(x)
%

F(1) = -0.99819+x(21)+(1-x(167))+x(315)-x(21)*(1-x(167))-x(21)*x(315)-(1-x(167))*x(315)+x(21)*(1-x(167))*x(315);
F(2) = -1+(1-x(267))+(1-x(206))+x(365)-(1-x(267))*(1-x(206))-(1-x(267))*x(365)-(1-x(206))*x(365)+(1-x(267))*(1-x(206))*x(365);
F(3) = -0.99999+(1-x(271))+x(17)+(1-x(382))-(1-x(271))*x(17)-(1-x(271))*(1-x(382))-x(17)*(1-x(382))+(1-x(271))*x(17)*(1-x(382));
F(4) = -0.99899+x(312)+x(338)+(1-x(9))-x(312)*x(338)-x(312)*(1-x(9))-x(338)*(1-x(9))+x(312)*x(338)*(1-x(9));
F(5) = -0.99999+x(41)+(1-x(62))+(1-x(61))-x(41)*(1-x(62))-x(41)*(1-x(61))-(1-x(62))*(1-x(61))+x(41)*(1-x(62))*(1-x(61));
F(6) = -1+(1-x(117))+x(298)+(1-x(194))-(1-x(117))*x(298)-(1-x(117))*(1-x(194))-x(298)*(1-x(194))+(1-x(117))*x(298)*(1-x(194));
F(7) = -0.9967+(1-x(122))+x(318)+x(195)-(1-x(122))*x(318)-(1-x(122))*x(195)-x(318)*x(195)+(1-x(122))*x(318)*x(195);
F(8) = -0.99832+(1-x(85))+x(355)+x(224)-(1-x(85))*x(355)-(1-x(85))*x(224)-x(355)*x(224)+(1-x(85))*x(355)*x(224);
F(9) = -1+(1-x(11))+(1-x(251))+(1-x(55))-(1-x(11))*(1-x(251))-(1-x(11))*(1-x(55))-(1-x(251))*(1-x(55))+(1-x(11))*(1-x(251))*(1-x(55));
F(10) = -0.0093146+x(285)+x(248)+x(341)-x(285)*x(248)-x(285)*x(341)-x(248)*x(341)+x(285)*x(248)*x(341);
F(11) = -0.0073281+x(131)+x(28)+x(377)-x(131)*x(28)-x(131)*x(377)-x(28)*x(377)+x(131)*x(28)*x(377);
F(12) = -0.0062306+x(29)+x(296)+x(37)-x(29)*x(296)-x(29)*x(37)-x(296)*x(37)+x(29)*x(296)*x(37);
F(13) = -1+(1-x(249))+(1-x(36))+(1-x(194))-(1-x(249))*(1-x(36))-(1-x(249))*(1-x(194))-(1-x(36))*(1-x(194))+(1-x(249))*(1-x(36))*(1-x(194));
F(14) = -0.99899+x(40)+x(394)+(1-x(385))-x(40)*x(394)-x(40)*(1-x(385))-x(394)*(1-x(385))+x(40)*x(394)*(1-x(385));
F(15) = -0.99801+(1-x(166))+x(251)+x(31)-(1-x(166))*x(251)-(1-x(166))*x(31)-x(251)*x(31)+(1-x(166))*x(251)*x(31);
F(16) = -0.9953+x(248)+(1-x(57))+x(258)-x(248)*(1-x(57))-x(248)*x(258)-(1-x(57))*x(258)+x(248)*(1-x(57))*x(258);
F(17) = -0.99714+x(230)+(1-x(379))+x(181)-x(230)*(1-x(379))-x(230)*x(181)-(1-x(379))*x(181)+x(230)*(1-x(379))*x(181);
F(18) = -0.9965+x(310)+(1-x(108))+x(392)-x(310)*(1-x(108))-x(310)*x(392)-(1-x(108))*x(392)+x(310)*(1-x(108))*x(392);
F(19) = -0.99624+x(79)+(1-x(315))+x(201)-x(79)*(1-x(315))-x(79)*x(201)-(1-x(315))*x(201)+x(79)*(1-x(315))*x(201);
F(20) = -1+x(105)+(1-x(107))+(1-x(262))-x(105)*(1-x(107))-x(105)*(1-x(262))-(1-x(107))*(1-x(262))+x(105)*(1-x(107))*(1-x(262));
F(21) = -1+(1-x(107))+(1-x(31))+(1-x(380))-(1-x(107))*(1-x(31))-(1-x(107))*(1-x(380))-(1-x(31))*(1-x(380))+(1-x(107))*(1-x(31))*(1-x(380));
F(22) = -0.99999+(1-x(289))+x(310)+(1-x(1))-(1-x(289))*x(310)-(1-x(289))*(1-x(1))-x(310)*(1-x(1))+(1-x(289))*x(310)*(1-x(1));
F(23) = -1+(1-x(34))+(1-x(302))+(1-x(74))-(1-x(34))*(1-x(302))-(1-x(34))*(1-x(74))-(1-x(302))*(1-x(74))+(1-x(34))*(1-x(302))*(1-x(74));
F(24) = -0.0068864+x(370)+x(291)+x(188)-x(370)*x(291)-x(370)*x(188)-x(291)*x(188)+x(370)*x(291)*x(188);
F(25) = -0.0058416+x(365)+x(120)+x(301)-x(365)*x(120)-x(365)*x(301)-x(120)*x(301)+x(365)*x(120)*x(301);
F(26) = -0.99622+x(146)+x(94)+(1-x(204))-x(146)*x(94)-x(146)*(1-x(204))-x(94)*(1-x(204))+x(146)*x(94)*(1-x(204));
F(27) = -0.012925+x(357)+x(250)+x(57)-x(357)*x(250)-x(357)*x(57)-x(250)*x(57)+x(357)*x(250)*x(57);
F(28) = -0.99648+x(118)+x(324)+(1-x(68))-x(118)*x(324)-x(118)*(1-x(68))-x(324)*(1-x(68))+x(118)*x(324)*(1-x(68));
F(29) = -1+(1-x(179))+x(395)+(1-x(394))-(1-x(179))*x(395)-(1-x(179))*(1-x(394))-x(395)*(1-x(394))+(1-x(179))*x(395)*(1-x(394));
F(30) = -0.99941+(1-x(45))+x(51)+x(251)-(1-x(45))*x(51)-(1-x(45))*x(251)-x(51)*x(251)+(1-x(45))*x(51)*x(251);
F(31) = -1+x(337)+(1-x(257))+(1-x(291))-x(337)*(1-x(257))-x(337)*(1-x(291))-(1-x(257))*(1-x(291))+x(337)*(1-x(257))*(1-x(291));
F(32) = -0.99998+x(68)+x(128)+(1-x(168))-x(68)*x(128)-x(68)*(1-x(168))-x(128)*(1-x(168))+x(68)*x(128)*(1-x(168));
F(33) = -0.99999+(1-x(108))+(1-x(141))+x(183)-(1-x(108))*(1-x(141))-(1-x(108))*x(183)-(1-x(141))*x(183)+(1-x(108))*(1-x(141))*x(183);
F(34) = -1+(1-x(301))+x(302)+(1-x(96))-(1-x(301))*x(302)-(1-x(301))*(1-x(96))-x(302)*(1-x(96))+(1-x(301))*x(302)*(1-x(96));
F(35) = -1+x(116)+(1-x(302))+(1-x(309))-x(116)*(1-x(302))-x(116)*(1-x(309))-(1-x(302))*(1-x(309))+x(116)*(1-x(302))*(1-x(309));
F(36) = -0.99921+x(2)+(1-x(380))+x(18)-x(2)*(1-x(380))-x(2)*x(18)-(1-x(380))*x(18)+x(2)*(1-x(380))*x(18);
F(37) = -0.99625+(1-x(16))+x(99)+x(80)-(1-x(16))*x(99)-(1-x(16))*x(80)-x(99)*x(80)+(1-x(16))*x(99)*x(80);
F(38) = -1+(1-x(81))+(1-x(377))+(1-x(315))-(1-x(81))*(1-x(377))-(1-x(81))*(1-x(315))-(1-x(377))*(1-x(315))+(1-x(81))*(1-x(377))*(1-x(315));
F(39) = -0.99999+(1-x(245))+x(323)+(1-x(298))-(1-x(245))*x(323)-(1-x(245))*(1-x(298))-x(323)*(1-x(298))+(1-x(245))*x(323)*(1-x(298));
F(40) = -0.99624+x(250)+x(82)+(1-x(315))-x(250)*x(82)-x(250)*(1-x(315))-x(82)*(1-x(315))+x(250)*x(82)*(1-x(315));
F(41) = -0.99651+x(43)+x(105)+(1-x(108))-x(43)*x(105)-x(43)*(1-x(108))-x(105)*(1-x(108))+x(43)*x(105)*(1-x(108));
F(42) = -1+(1-x(129))+(1-x(7))+(1-x(46))-(1-x(129))*(1-x(7))-(1-x(129))*(1-x(46))-(1-x(7))*(1-x(46))+(1-x(129))*(1-x(7))*(1-x(46));
F(43) = -0.0076719+x(377)+x(232)+x(104)-x(377)*x(232)-x(377)*x(104)-x(232)*x(104)+x(377)*x(232)*x(104);
F(44) = -0.99999+(1-x(250))+x(229)+(1-x(98))-(1-x(250))*x(229)-(1-x(250))*(1-x(98))-x(229)*(1-x(98))+(1-x(250))*x(229)*(1-x(98));
F(45) = -0.0096265+x(243)+x(235)+x(139)-x(243)*x(235)-x(243)*x(139)-x(235)*x(139)+x(243)*x(235)*x(139);
F(46) = -0.99586+(1-x(309))+x(336)+x(87)-(1-x(309))*x(336)-(1-x(309))*x(87)-x(336)*x(87)+(1-x(309))*x(336)*x(87);
F(47) = -0.005332+x(331)+x(47)+x(190)-x(331)*x(47)-x(331)*x(190)-x(47)*x(190)+x(331)*x(47)*x(190);
F(48) = -0.99509+x(42)+x(262)+(1-x(148))-x(42)*x(262)-x(42)*(1-x(148))-x(262)*(1-x(148))+x(42)*x(262)*(1-x(148));
F(49) = -0.99999+(1-x(289))+x(120)+(1-x(25))-(1-x(289))*x(120)-(1-x(289))*(1-x(25))-x(120)*(1-x(25))+(1-x(289))*x(120)*(1-x(25));
F(50) = -0.99999+(1-x(346))+(1-x(95))+x(239)-(1-x(346))*(1-x(95))-(1-x(346))*x(239)-(1-x(95))*x(239)+(1-x(346))*(1-x(95))*x(239);
err = norm(F);
