layers = {"0": {"config": {"units": 24, "activation": "relu"}, "weights": [[0.13053663074970245, 0.041074540466070175, 0.4940476417541504, -0.08145961165428162, 0.09824325144290924, -0.16770829260349274, 0.06060829386115074, 0.21381248533725739, 0.3934554159641266, -0.23208725452423096, 0.11724318563938141, 0.1244906559586525, 0.060955144464969635, -0.027565373107790947, 0.10750407725572586, 0.2755488157272339, -0.12322302907705307, -0.242350235581398, -0.18603995442390442, -0.008414029143750668, -0.05738743394613266, -0.026891153305768967, -0.678250253200531, -2.1215105056762695], [0.22566697001457214, 0.25335878133773804, 0.3906916379928589, 0.6791504621505737, 0.41840478777885437, 0.621699869632721, 0.5451664328575134, 0.07693590223789215, -0.18688513338565826, -0.2576107084751129, 0.044985804706811905, -0.15343216061592102, -0.37685084342956543, -0.40814006328582764, -0.6886882781982422, -0.49744388461112976, 0.2213873267173767, 0.7358672022819519, 0.7509806156158447, 0.45453351736068726, 0.7734450697898865, 0.42422255873680115, 0.48819592595100403, -0.5942163467407227], [-0.2702828049659729, -0.26271945238113403, 0.04719981923699379, 0.45449548959732056, 0.9744182825088501, 1.1298117637634277, 0.8474346399307251, 0.209640771150589, -0.49556171894073486, 0.033615514636039734, -0.3541310429573059, -0.24138885736465454, -0.6154780983924866, -1.1456677913665771, -0.5638709664344788, -0.7448230385780334, -0.7716054320335388, -0.22184543311595917, 0.2207665592432022, -0.07771184295415878, 0.3065563440322876, 0.3973672091960907, 0.8317880034446716, 1.5028618574142456], [0.3150475323200226, 0.5207880139350891, 0.49244192242622375, 0.6189227104187012, 0.38263842463493347, 0.5462197065353394, 0.010249386541545391, -0.19472520053386688, -0.020623259246349335, 0.21847744286060333, 0.2976509630680084, 0.305547833442688, 0.2857327163219452, 0.381296306848526, -0.13974276185035706, -0.34156888723373413, -0.6060974597930908, 0.11697968095541, 0.10312748700380325, -0.1269688904285431, 0.4237924814224243, 0.6723121404647827, 0.5062748193740845, 0.8412688970565796], [0.20192641019821167, -0.07322579622268677, 0.4498559534549713, 0.27947840094566345, 0.130903959274292, 0.8389684557914734, 0.8391931653022766, 0.6751217842102051, 0.11217881739139557, 0.02005482278764248, 0.2174271196126938, 0.047018490731716156, -0.45080819725990295, -0.03644948452711105, 0.31069380044937134, 0.15968605875968933, 0.35571807622909546, 0.6135066747665405, 0.37184709310531616, 0.47276291251182556, 0.003402158385142684, -0.11055047810077667, 0.408151239156723, 1.0008916854858398], [0.26166707277297974, 0.5302556157112122, 0.15582801401615143, 0.17804202437400818, 0.18446564674377441, -0.4128735065460205, -0.06376415491104126, -0.2253217101097107, 0.25422903895378113, -0.4074917137622833, 0.08711601048707962, -0.11406304687261581, 0.26020607352256775, -0.0540391281247139, -0.059773366898298264, 0.01586143486201763, 0.3423719108104706, 0.06475530564785004, -0.4410470128059387, -0.30933845043182373, -0.2839074730873108, -0.4595988392829895, -0.8922731876373291, -2.1855175495147705], [-0.24855533242225647, -0.20151005685329437, -0.19495418667793274, 0.034606482833623886, 0.02779768966138363, 0.5678094029426575, 0.7478736042976379, 0.5663493275642395, 0.3245870769023895, 0.10091622918844223, 0.10100899636745453, -0.21383853256702423, -0.34937524795532227, 0.05296126380562782, 0.3128480017185211, 0.7396606206893921, 0.5309281945228577, 0.9466732740402222, 0.8987798690795898, 0.22242547571659088, 0.19282177090644836, 0.022393032908439636, 0.07438212633132935, -0.6714856624603271], [-0.02924298495054245, 0.2576954960823059, 0.21668249368667603, 0.12105239182710648, -0.06594060361385345, 0.3857519328594208, 0.7354221940040588, 0.41965240240097046, 0.8271364569664001, 0.6949751973152161, 0.6145081520080566, 1.0487844944000244, 0.8902528882026672, 0.661986768245697, 1.2054662704467773, 1.267717719078064, 1.1466081142425537, 0.42802244424819946, 0.2923283576965332, -0.07482744008302689, 0.1360825002193451, 0.07364336401224136, -0.4530448913574219, -0.7514021396636963], [0.14424900710582733, -0.22682662308216095, -0.11413037776947021, -0.414171427488327, 0.19534441828727722, -0.4802955389022827, -0.029369773343205452, -0.5011364817619324, 0.40420323610305786, 0.24903801083564758, -0.40260830521583557, -0.2526378929615021, 0.07438606768846512, 0.38609158992767334, 0.5282158255577087, 0.5296433568000793, 0.38432416319847107, 0.41230517625808716, -0.06817943602800369, 0.04599449038505554, -0.06355064362287521, 0.3257255256175995, -0.2932238280773163, -1.6942335367202759], [-0.2563941776752472, -0.013312529772520065, 0.014698139391839504, -0.05226721242070198, 0.244582861661911, -0.38218382000923157, -0.30731201171875, 0.16333548724651337, -0.11161195486783981, 0.1903487592935562, -0.3338460922241211, -0.4183737337589264, -0.05739884823560715, 0.30208805203437805, -0.19402338564395905, 0.0689941868185997, -0.09254606813192368, -0.3623698949813843, -0.4718896448612213, -0.16506032645702362, -0.18893125653266907, -0.004352732095867395, -0.3310847580432892, -2.2198596000671387], [-0.15479034185409546, -0.07250449806451797, 0.435874879360199, -0.316025048494339, -0.0855986699461937, 0.2483658343553543, 0.004227174911648035, -0.017755955457687378, 0.5968729257583618, 0.5538478493690491, 0.048053376376628876, 0.4179306924343109, -0.08264387398958206, 0.4501363933086395, 0.10459576547145844, 0.8068665266036987, 0.40069201588630676, 0.18235549330711365, 0.5113204121589661, 0.3478259742259979, 0.11895191669464111, -0.17406176030635834, -0.31025439500808716, -0.03246229141950607], [-0.34819307923316956, 0.30402815341949463, 0.13099589943885803, 0.41159093379974365, -0.1731574684381485, -0.03988991677761078, -0.05682464316487312, -0.0002586559858173132, -0.41422051191329956, 0.10303656756877899, 0.025016799569129944, -0.40628695487976074, 0.05330073460936546, -0.4936152994632721, -0.16510441899299622, -0.36147427558898926, -0.49701961874961853, -0.11570245772600174, -0.06618496030569077, -0.4181583821773529, -0.41808417439460754, -0.20758889615535736, 0.8681600689888, 2.2021842002868652], [-0.14842641353607178, -0.1655484139919281, -0.05116509646177292, 0.27988770604133606, 0.33535587787628174, 0.7199574112892151, 0.7274330258369446, 0.08372694998979568, 0.22979843616485596, 0.0477340891957283, -0.31307774782180786, 0.07747722417116165, -0.2580268979072571, -0.2670973539352417, 0.4550754427909851, 0.1945105791091919, 0.053073395043611526, 0.5738263726234436, 0.6784730553627014, 0.2663170099258423, 0.3734588921070099, -0.2312300205230713, 0.22514526546001434, 1.3970272541046143], [0.9689330458641052, 1.2337872982025146, 1.229452133178711, 1.237894892692566, 0.9512898921966553, 0.5281323194503784, 0.32412219047546387, -0.2717735171318054, -0.0784546360373497, -0.08665730059146881, -0.21364189684391022, -0.3704548180103302, -0.06528514623641968, -0.04940046742558479, -0.7016667723655701, -0.919341504573822, -0.77956622838974, -1.2556028366088867, -1.0200433731079102, -0.7003290057182312, 0.21057753264904022, 0.9377221465110779, 0.8365490436553955, 0.43673422932624817], [-0.15701700747013092, 0.23063167929649353, -0.23776715993881226, -0.030750956386327744, 0.07313351333141327, -0.25778159499168396, 0.0370609275996685, 0.004995756782591343, -0.1565144658088684, -0.36274048686027527, -0.460202693939209, -0.2946794927120209, -0.4764192998409271, -0.12298911064863205, -0.37863272428512573, 0.08197388052940369, -0.524587869644165, 0.10510601848363876, -0.5453886985778809, -0.25866803526878357, 0.05766717344522476, -0.03438907116651535, -0.34327811002731323, -1.8703972101211548], [-0.14460916817188263, -0.2532682716846466, -0.5154938101768494, 0.1065441220998764, 0.06125497817993164, 0.168226957321167, 0.26289036870002747, 0.5192835927009583, 0.35258615016937256, 0.2587592601776123, -0.009262241423130035, -0.13642528653144836, 0.2866135835647583, 0.22956319153308868, 0.18591183423995972, 0.23048904538154602, 0.1159273236989975, 0.020825287327170372, 0.10124895721673965, 0.3082575500011444, -0.21867714822292328, 0.44110554456710815, 0.6189892888069153, 1.3376256227493286], [0.16349714994430542, 0.30924201011657715, 0.2912954092025757, -0.17570535838603973, 0.2348497211933136, 0.6557471752166748, 0.2958890497684479, 0.37192192673683167, 0.13134461641311646, -0.10885722190141678, -0.14508795738220215, -0.3002108335494995, -0.16252076625823975, -0.09778141975402832, 0.12071295827627182, 0.5247476696968079, 0.41085565090179443, 0.11275064200162888, 0.6480757594108582, 0.6219915151596069, 0.2429063320159912, 0.07255669683218002, -0.060078684240579605, 1.4262791872024536], [0.2706901729106903, -0.02987179532647133, -0.1173684149980545, 0.06861434131860733, 0.5556961297988892, 0.4206458032131195, 0.20604506134986877, 0.29739347100257874, 0.3888635039329529, -0.2829751670360565, 0.11628196388483047, 0.08153703063726425, 0.17538852989673615, -0.16173243522644043, 0.13487876951694489, 0.5270432233810425, 0.43616408109664917, 0.34461280703544617, 0.5533661842346191, 0.3021608591079712, -0.01799985207617283, 0.3364439606666565, 0.4810984432697296, 1.33212149143219], [-0.09703509509563446, 0.11102600395679474, 0.047213196754455566, -0.1514388471841812, 0.3830483555793762, -0.08589944988489151, 0.3694627285003662, -0.2474460005760193, 0.08541564643383026, 0.18592976033687592, -0.02760632522404194, 0.007220324594527483, 0.2568473517894745, 0.48048168420791626, 0.11138733476400375, 0.6217876076698303, 0.4865485727787018, 0.6338904500007629, 0.3752475678920746, 0.21003709733486176, 0.2767876386642456, 0.046797771006822586, 0.046888288110494614, 1.0655814409255981], [0.6012365818023682, 0.7740111351013184, 0.0747053474187851, -0.07027124613523483, 0.23340283334255219, -0.17650969326496124, -0.3543798327445984, -0.19714181125164032, 0.08599641174077988, -0.2372390180826187, 0.04720717668533325, -0.09185029566287994, -0.08044517785310745, 0.4247649013996124, -0.061756182461977005, -0.2171819806098938, 0.13899870216846466, -0.19143155217170715, -0.4543316960334778, -0.10501578450202942, 0.1547393649816513, -0.23121945559978485, -0.7423285841941833, -1.8330953121185303], [0.060325805097818375, -0.32979944348335266, -0.18914474546909332, 0.00804838351905346, -0.03308667242527008, -0.16869162023067474, 0.08453530073165894, 0.07029800862073898, 0.5900442004203796, 0.488221138715744, 0.33804741501808167, 0.09835048764944077, 0.4544045329093933, 0.23398417234420776, 0.6136050224304199, 0.23558111488819122, 0.3743727505207062, 0.25710317492485046, 0.5783942341804504, -0.12132491916418076, 0.07398151606321335, -0.12418227642774582, -0.011231822893023491, 0.6976622343063354], [-0.16091980040073395, 0.042724475264549255, -0.23694577813148499, -0.02966858632862568, -0.1491512954235077, -0.49427303671836853, -0.04923413693904877, -0.185370072722435, 0.18748724460601807, -0.19509990513324738, -0.5101519823074341, -0.1294664591550827, -0.43643662333488464, 0.135884627699852, 0.10867226123809814, -0.4029361307621002, 0.0015915316762402654, -0.2874581813812256, 0.26673826575279236, 0.18957316875457764, 0.09996317327022552, -0.3586871922016144, -0.45015260577201843, -1.8716344833374023], [0.5713680982589722, 0.20580622553825378, 0.5203520059585571, 0.5894659757614136, 0.17875811457633972, 0.0604606494307518, 0.3140224814414978, 0.2525192201137543, 0.09026837348937988, -0.42867550253868103, -0.05602745711803436, -0.5149865746498108, -0.7366334795951843, -0.372713178396225, -0.7134581804275513, -0.7178547978401184, -1.2401704788208008, -0.5231890082359314, -0.22458937764167786, 0.24828867614269257, 0.31578516960144043, 0.9686295390129089, 1.239916205406189, 0.7332636713981628], [-0.05385613813996315, 0.07362795621156693, 0.3543376326560974, 0.14268669486045837, 0.5834788084030151, 0.05776198208332062, 0.04883682355284691, -0.2712441086769104, -0.47919103503227234, -0.09413766860961914, -0.1455942541360855, 0.21418355405330658, 0.024222057312726974, 0.21976754069328308, -0.21753312647342682, -0.3262627422809601, 0.02381550893187523, -0.08963369578123093, 0.3887156844139099, -0.2032916098833084, -0.29067784547805786, 0.1938343048095703, 0.49546384811401367, 2.0100176334381104]], "biases": [0.3043791949748993, 0.3427279591560364, 0.056924305856227875, 0.06506690382957458, -0.19411709904670715, 0.03696831315755844, 0.3950643241405487, 0.04949159547686577, 0.020419666543602943, -0.032562822103500366, 0.6141383647918701, 0.26573851704597473, -0.002634486649185419, 0.19360722601413727, 0.16611933708190918, -0.28686627745628357, -0.0668056383728981, -0.009484230540692806, 0.13304387032985687, 0.007394608110189438, 0.6070071458816528, 0.2152472585439682, 0.05117567256093025, 0.29264816641807556]}, "1": {"config": {"units": 18, "activation": "relu"}, "weights": [[0.5642349720001221, -0.4164164066314697, -0.16288816928863525, 0.3078414797782898, -0.1450028270483017, 0.44534778594970703, 0.15327832102775574, 0.5853524804115295, 0.9242971539497375, 0.07307342439889908, -0.3269335627555847, -1.0980358123779297, -0.3043888211250305, 1.2069928646087646, 0.683810830116272, -0.23087266087532043, -0.649795413017273, -0.023363405838608742, -0.26572442054748535, 0.8515446186065674, -0.15053372085094452, 0.5234184861183167, -0.2090250849723816, -0.3196831941604614], [-0.7321228384971619, 0.6468410491943359, 0.05091582238674164, 0.15910965204238892, 0.3282816708087921, -1.0523769855499268, 0.7735738754272461, 0.7783997058868408, -0.5784732103347778, 0.13278816640377045, 0.8417417407035828, 0.43765538930892944, 0.7038204669952393, -0.23114390671253204, 0.3223876357078552, 1.0051376819610596, 0.645226001739502, 0.3042495846748352, 0.34870877861976624, -0.678715705871582, 0.18319463729858398, 0.38191914558410645, 0.13098818063735962, 0.026473624631762505], [-0.28161707520484924, 0.5765067934989929, 0.1268530637025833, 0.686043918132782, 0.2898498475551605, 0.057093579322099686, -0.15454699099063873, -0.0269877091050148, -0.3085692822933197, 0.32795533537864685, 0.14355705678462982, 2.466637372970581, 0.07986554503440857, 0.4926314353942871, -0.2765292823314667, 0.8278985619544983, 0.7200762629508972, 0.5329384803771973, 0.6638768911361694, 0.598237931728363, 0.6457834839820862, -0.3468785285949707, 0.47463738918304443, 0.6108061075210571], [0.13786782324314117, -0.1772768199443817, -0.10791240632534027, -0.2470293492078781, -0.06185660883784294, -0.14757245779037476, -0.28343328833580017, -0.21002702414989471, 0.2051800638437271, -0.09454900026321411, 0.2596249282360077, 0.05611007288098335, -0.27259746193885803, -0.13323822617530823, -0.3388509452342987, 0.15570954978466034, 0.02269057184457779, -0.11855234205722809, -0.2730771601200104, -0.3980690836906433, -0.0612795427441597, 0.035335469990968704, 0.0313800573348999, -0.2411111444234848], [0.7841086983680725, 0.21646426618099213, -0.02682027965784073, 0.14535118639469147, -0.43507659435272217, 0.10937754809856415, 0.6611520051956177, 0.6149945259094238, 1.0116568803787231, 0.5314318537712097, 0.5009174942970276, -1.5384793281555176, -0.40476933121681213, 0.1956758350133896, 0.7720677852630615, -0.5028048753738403, -0.3955804109573364, -0.507556676864624, 0.006467788480222225, 0.23136340081691742, 0.02715473063290119, 0.5271080732345581, 0.5031725764274597, 0.21299397945404053], [-0.3884614408016205, 0.27784761786460876, 0.5790091753005981, 0.2960768938064575, 0.44899144768714905, 0.003208907088264823, 0.3123469948768616, 0.12219545245170593, 0.10654914379119873, -0.020407242700457573, 0.5802256464958191, 1.1471425294876099, 0.8071722984313965, 0.21558740735054016, 0.04503539204597473, 0.6954968571662903, 0.43410199880599976, 0.5283566117286682, 0.6130347847938538, -0.19223225116729736, 0.6067032217979431, -0.176555797457695, -0.037858519703149796, 0.1256803274154663], [-0.16571596264839172, 0.010082129389047623, -0.21481116116046906, -0.18117468059062958, -0.2759931981563568, -0.15250061452388763, 0.3593604266643524, -0.29860207438468933, 0.017549404874444008, 0.03821519389748573, -0.28482383489608765, -0.09679049253463745, -0.053894106298685074, -0.25470465421676636, 0.0299279373139143, -0.13572490215301514, -0.25221875309944153, 0.17587247490882874, -0.015204250812530518, 0.3166375756263733, -0.26843246817588806, -0.1357688307762146, 0.11945992708206177, -0.28815728425979614], [-0.492168664932251, 0.021990125998854637, 0.20918142795562744, 0.1506112515926361, 0.23276658356189728, -0.4104773998260498, 0.23765027523040771, 0.46360817551612854, 0.1831582933664322, -0.25397804379463196, 0.31031376123428345, 1.1055409908294678, 0.6272425055503845, -0.13056941330432892, 0.16729994118213654, 0.7283856868743896, 0.7398182153701782, 0.41212016344070435, 0.28681719303131104, -0.6582280993461609, 0.6982820630073547, -0.19110475480556488, 0.5085833072662354, 0.6387100219726562], [0.679847776889801, 0.18824291229248047, -0.2964437007904053, -0.06191724166274071, -0.517077624797821, 0.2865807116031647, -0.007709166966378689, 0.3535842299461365, 0.9070992469787598, 0.6737552285194397, 0.23997952044010162, -0.8330978155136108, 0.0551273338496685, 0.6634275317192078, 0.656764030456543, -0.8014822602272034, -0.3561895191669464, -0.14588193595409393, -0.040031567215919495, 0.6719154119491577, 0.20469175279140472, 0.660999059677124, 0.5758607983589172, -0.20215757191181183], [0.9724165797233582, 0.24811697006225586, 0.6402687430381775, 0.4593221843242645, -0.16449660062789917, 0.5535801649093628, -0.15556353330612183, 0.10744807124137878, 0.7374232411384583, 0.20932629704475403, -0.2462017685174942, -0.5278535485267639, -0.1655609905719757, 1.1107454299926758, 0.720233142375946, -0.9054779410362244, -0.0360904261469841, -0.07424934208393097, 0.02397998981177807, 0.4933137595653534, -0.5504018068313599, 0.6600309610366821, 0.7472696900367737, 0.09918374568223953], [0.9963170886039734, 0.5080320835113525, 0.5491101741790771, 0.5207253694534302, -0.27860942482948303, 0.9077973961830139, 0.15532490611076355, -0.31269797682762146, 0.708567202091217, 0.6700806021690369, -0.3577008545398712, -0.13583964109420776, 0.402321457862854, 0.9139701128005981, 0.3750140368938446, -0.7795722484588623, 0.03200574219226837, -0.24528852105140686, -0.4244374930858612, 0.9483430981636047, -0.35495761036872864, 0.5032097101211548, 0.20028182864189148, 0.4514312446117401], [0.26587623357772827, 0.7061070799827576, 0.553011953830719, 0.33020883798599243, 0.05305274575948715, 0.033032216131687164, 0.5610972046852112, 0.5463749170303345, 0.6245837211608887, 0.5545809864997864, 0.39769411087036133, -1.8991349935531616, -0.10726097226142883, -0.14328533411026, 0.6789202094078064, -0.4850068986415863, -0.30780860781669617, -0.37176191806793213, -0.3075442910194397, 0.4386128783226013, 0.20727768540382385, 0.8789894580841064, 0.32405078411102295, -0.3804152011871338], [0.7166451215744019, 0.45290133357048035, 0.5275782346725464, -0.13038258254528046, 0.22993618249893188, 0.5665568709373474, 0.5894600749015808, 0.0682428702712059, 0.8353886604309082, 0.3409486413002014, -0.1956549882888794, -1.2822256088256836, -0.26196902990341187, 0.05326933041214943, 0.08532789349555969, -0.7280670404434204, -0.2743151783943176, -0.013966493308544159, -0.12531094253063202, 0.43926557898521423, 0.008090011775493622, 0.7026551961898804, 0.43359607458114624, -0.19775038957595825], [0.24595977365970612, -0.40281185507774353, -0.1743493378162384, -0.43385049700737, 0.06258867681026459, -0.044847890734672546, -0.040404558181762695, 0.21810325980186462, -0.24572978913784027, 0.055031947791576385, -0.16862957179546356, 0.002723066136240959, -0.18825674057006836, 0.03368378058075905, -0.2070324718952179, 0.3452180027961731, 0.1645735651254654, -0.006339425221085548, -0.19388262927532196, -0.3663340210914612, -0.17063792049884796, -0.24305501580238342, 0.0638197660446167, 0.2912531793117523], [0.04240690916776657, 0.1058850958943367, -0.20973166823387146, 0.4061489701271057, -0.35860392451286316, 0.5881603360176086, -0.11034588515758514, 0.1747409999370575, 0.8869776129722595, 0.5423616170883179, 0.3232487142086029, -1.5585733652114868, -0.4976252317428589, 0.7047243714332581, 0.733841598033905, -0.42926859855651855, -0.10557618737220764, 0.06715445965528488, 0.3774102032184601, 0.4296683669090271, 0.38874104619026184, 0.1793808937072754, -0.15931083261966705, -0.09796718508005142], [-0.033907052129507065, 0.09457096457481384, 0.640227198600769, 0.3905613124370575, 0.5666282773017883, 0.18043476343154907, 0.42479655146598816, 0.2141200453042984, -0.4418548047542572, -0.39086952805519104, 0.5164455771446228, 1.8841694593429565, 0.42724233865737915, 0.08712007850408554, 0.3045310378074646, 0.3907220661640167, 0.49890047311782837, 0.3780022859573364, 0.1496037393808365, 0.32982856035232544, 0.16078244149684906, -0.35301023721694946, 0.3537229597568512, 0.7101269364356995], [0.24663175642490387, 0.2738921642303467, -1.3361523151397705, 0.08732984960079193, 0.09509682655334473, 0.11838821321725845, -0.05064251646399498, 0.6196678876876831, 0.40228044986724854, -0.25680646300315857, 0.5584726929664612, -0.8627745509147644, -0.7291417717933655, -0.4365744888782501, -0.16409800946712494, -0.5191013813018799, -0.09161940962076187, -0.057100821286439896, 0.1712656468153, 0.13752126693725586, 0.12408452481031418, 0.4059012830257416, -1.1435543298721313, -1.2427558898925781], [-0.4981935918331146, 0.3890129029750824, 0.5242908000946045, 0.5527425408363342, 0.22231163084506989, -0.5386437773704529, 0.16748778522014618, 0.6377844214439392, 0.4589199423789978, -0.613927960395813, 0.5571945309638977, 1.5963977575302124, 0.14868304133415222, -0.016333753243088722, -0.11837566643953323, 0.6331344842910767, 0.2352433055639267, 0.5355566143989563, 0.25348523259162903, -0.6819663643836975, 0.30195724964141846, 0.23514747619628906, 0.5321629047393799, 0.6943031549453735]], "biases": [0.3400043845176697, 0.44670456647872925, 0.22229290008544922, -0.06524822860956192, 0.4490499496459961, 0.17136740684509277, -0.04514860734343529, 0.4623469114303589, 0.5272936224937439, 0.43895700573921204, 0.5518890023231506, 0.3527081608772278, 0.2638896703720093, -0.06488290429115295, 0.33561015129089355, 0.16744332015514374, 0.3245290517807007, 0.43197116255760193]}, "2": {"config": {"units": 12, "activation": "linear"}, "weights": [[0.3346686065196991, -0.1943666636943817, 0.6997851729393005, -0.025427203625440598, -1.013373613357544, 0.915645182132721, 0.38451728224754333, 0.16206811368465424, -0.19240030646324158, -0.603502094745636, -0.047175560146570206, -1.4238052368164062, -1.4449630975723267, -0.3103017210960388, -0.7407568097114563, 0.5807283520698547, 0.38785356283187866, 0.6410528421401978], [-0.01635907031595707, -0.008554941043257713, 0.6173408031463623, -0.26120254397392273, -1.0525115728378296, 0.5220301747322083, -0.06047530844807625, 0.4031006693840027, -0.4327765703201294, -0.2821677029132843, -0.20252811908721924, -1.384279727935791, -1.030613899230957, -0.23455438017845154, -0.5592292547225952, 0.8373871445655823, -0.05923764780163765, 0.4040200412273407], [-0.008871641010046005, 0.47213834524154663, 0.6889049410820007, -0.14064106345176697, -1.1694167852401733, 0.017217788845300674, 0.3297695517539978, 0.37009623646736145, -0.45004022121429443, -0.06053512170910835, -0.2539791762828827, -1.6017649173736572, -0.8041725158691406, -0.39635878801345825, -0.4527638256549835, 0.3396989703178406, -0.18414448201656342, 0.8157497048377991], [-0.6778447031974792, 0.3482426404953003, 0.6542319059371948, 0.22251708805561066, -0.8906566500663757, 0.3880159854888916, 0.17946650087833405, 0.5859683752059937, -0.4702307879924774, -0.08323783427476883, -0.1706882119178772, -0.8682271242141724, -0.6857838034629822, -0.30086010694503784, -1.070621371269226, 0.6552212238311768, -0.3834000527858734, -0.014912353828549385], [-0.7081590890884399, -0.020309295505285263, 0.6180907487869263, -0.2130812108516693, -0.9402079582214355, 0.6575879454612732, -0.3026082217693329, 0.2268305867910385, -0.9767507910728455, -0.30267342925071716, -0.24369223415851593, -0.24148476123809814, -0.6291947960853577, -0.3935273289680481, -0.596740186214447, 0.7668999433517456, -0.49400779604911804, 0.18605588376522064], [-0.8172969222068787, 0.6325098872184753, 0.42039185762405396, -0.3444209694862366, -0.8220325112342834, 0.20848919451236725, -0.07078109681606293, 0.576938807964325, -0.8957423567771912, -0.4195002019405365, -0.025156645104289055, -0.23926208913326263, -0.3089866638183594, 0.4297104775905609, -0.9726079106330872, 0.3338112235069275, -0.592254102230072, 0.17045390605926514], [-0.45935139060020447, 0.6757509112358093, -0.1204083263874054, 0.22058947384357452, -0.6065693497657776, 0.39430058002471924, 0.30077964067459106, 0.29824697971343994, -0.7830338478088379, -0.6700559854507446, -0.3248685896396637, -0.5984863042831421, 0.226665198802948, 0.3710158169269562, -0.9130026698112488, 0.5232784748077393, -1.1445451974868774, 0.5941599607467651], [-0.8566626906394958, 0.44728970527648926, 0.2046324461698532, 0.42821425199508667, -0.4542388617992401, 0.8203032612800598, 0.29909446835517883, 0.38174736499786377, -0.27164602279663086, -0.6551905870437622, -0.7207359075546265, -0.09040630608797073, -0.2572629451751709, 0.4092651903629303, -0.6866418123245239, 0.07366204261779785, -1.6373411417007446, 0.21050633490085602], [-0.7711578011512756, 0.7580057382583618, 0.12457367777824402, -0.16911599040031433, -0.19441048800945282, -0.14632396399974823, -0.2309105098247528, 0.5583136081695557, -0.4971260726451874, -0.7722362279891968, -0.7946586012840271, 0.1293085664510727, -0.174092099070549, 0.012194285169243813, -0.7425183057785034, 0.27993306517601013, -2.1716904640197754, 0.40589475631713867], [-0.9992286562919617, 0.9943898320198059, -0.061629172414541245, -0.21119920909404755, -0.45851925015449524, 0.08001203089952469, -0.2549358606338501, 0.06405481696128845, -0.048015229403972626, -1.0285738706588745, -0.6820968985557556, -0.17840911448001862, -0.12748631834983826, -0.05053236708045006, -0.09948795288801193, 0.05902918055653572, -2.4611639976501465, 0.7454808354377747], [-0.9837053418159485, 0.6107310056686401, 0.1492774486541748, -0.0407571941614151, 0.0474543459713459, 0.3004883825778961, 0.11205918341875076, 0.6744347214698792, -0.15315723419189453, -0.5344648957252502, -1.261523723602295, 0.0042650592513382435, -0.6766404509544373, -0.023347461596131325, -0.043459802865982056, -0.0801728144288063, -2.5350775718688965, 0.14962007105350494], [-1.058758020401001, 0.6342790126800537, -0.0154010821133852, 0.12903347611427307, 0.3770214021205902, 0.3120240867137909, -0.10778547823429108, 0.24666467308998108, -0.5810564160346985, -1.1668267250061035, -0.7484268546104431, 0.12664271891117096, -0.3371541202068329, 0.42191454768180847, -0.05920201912522316, 0.3902178406715393, -2.7734861373901367, 0.17894122004508972]], "biases": [0.33811551332473755, 0.4408878982067108, 0.33447593450546265, 0.08269637823104858, 0.14577358961105347, -0.07653413712978363, -0.04108548164367676, -0.20648692548274994, -0.04607367143034935, -0.17618820071220398, -0.16555385291576385, -0.30170580744743347]}}
def normalize(arr, mx, mn):
for i in range(len(arr)):
for j in range(len(arr[i])):
arr[i][j] = arr[i][j] / (mx - mn)
return arr
def relu(x):
return max(0.0, x)
def custom_predict(input):
for key, layer in layers.items():
# print(layer)
config = layer["config"]
weights = layer["weights"]
biases = layer["biases"]
# print(config)
neurons = config["units"]
output = [0]*neurons
for n in range(neurons):
activation = 0
assert len(input) == len(weights[n])
for (i, w) in zip(input, weights[n]):
activation += i * w
activation += biases[n]
# print(activation)
if(config["activation"] == 'relu'):
output[n] = relu(activation)
else:
output[n] = activation
input = output
return input
# import sys
# file = open("data.txt", "r")
# sys.stdin = file
data = []
days = int(input())
for i in range(days):
temps = [float(x) for x in input().split()]
past = temps[:24]
data.append(past)
maximum = 0
minimum = 0
for row in data:
for item in row:
maximum = max(item, maximum)
minimum = min(item, minimum)
data = normalize(data, maximum, minimum)
for d in data:
ans = custom_predict(d)
print(" ".join([format(x, ".1f") for x in ans]))
# file.close()