layers = {"0": {"config": {"units": 24, "activation": "relu"}, "weights": [[-0.0712476298213005, -0.21628223359584808, 0.14250448346138, 0.06827332079410553, 0.25613123178482056, 0.192555233836174, -0.18780209124088287, -0.25465095043182373, 0.09863675385713577, 0.03512730076909065, -0.10223575681447983, -0.20522738993167877, -0.0505947507917881, -0.0205729678273201, 0.06210687756538391, 0.32976672053337097, 0.2171603888273239, -0.11185265332460403, 0.039154767990112305, -0.2529630661010742, -0.18510882556438446, 0.0457104928791523, -0.2333776354789734, -0.40469205379486084], [0.04364797845482826, -0.32607993483543396, 0.06773651391267776, 0.37222620844841003, 0.08080223202705383, -0.059861574321985245, -0.1771385371685028, 0.16220086812973022, -0.12230481207370758, 0.043851546943187714, 0.18005046248435974, -0.14116179943084717, -0.13330192863941193, 0.029149867594242096, 0.17793187499046326, -0.20554178953170776, -0.30762413144111633, -0.2656342089176178, -0.045440997928380966, 0.055619560182094574, -0.24984624981880188, -0.16239282488822937, 0.17193260788917542, 0.9076698422431946], [-0.060772594064474106, -0.17007984220981598, 0.026526711881160736, -0.1342599242925644, 0.057117920368909836, -0.03944489732384682, 0.028292791917920113, 0.3111819326877594, 0.2370210587978363, 0.19507570564746857, -0.3878660798072815, -0.14502675831317902, 0.07636977732181549, -0.06459898501634598, -0.2561645209789276, 0.28444790840148926, -0.07906265556812286, 0.10000811517238617, 0.1929672807455063, 0.17733950912952423, -0.37499716877937317, 0.02475614659488201, -0.017202356830239296, 0.5669506192207336], [0.11458950489759445, -0.23495836555957794, -0.22986172139644623, 0.11526309698820114, 0.03841787204146385, -0.01789262145757675, 0.028796566650271416, -0.22622986137866974, -0.03554873168468475, -0.12050248682498932, 0.10439977794885635, 0.04450233280658722, 0.48675665259361267, 0.2555849850177765, -0.07377631962299347, -0.10108556598424911, -0.011122435331344604, 0.4297563135623932, 0.41908153891563416, 0.38560450077056885, 0.11181133985519409, -0.2777884602546692, -0.4362550973892212, -0.020308421924710274], [-0.08688879758119583, 0.3339505195617676, -0.16018591821193695, -0.142471045255661, 0.18469257652759552, 0.1626187562942505, 0.009782794862985611, 0.23489053547382355, -0.047684501856565475, 0.018831592053174973, -0.20075277984142303, 0.3413820266723633, -0.058537643402814865, -0.1958301067352295, 0.14631006121635437, -0.13211233913898468, 0.06483801454305649, 0.18651330471038818, 0.030463557690382004, 0.054507575929164886, -0.2073703110218048, -0.17033882439136505, -0.3507384657859802, -0.5395141839981079], [0.03945894539356232, 0.16706697642803192, 0.11159250140190125, -0.21633563935756683, -0.025883175432682037, 0.01766255311667919, -0.21351316571235657, 0.15320558845996857, 0.004271349869668484, 0.1597733050584793, -0.012056959792971611, -0.442605584859848, 0.1055539920926094, 0.38738101720809937, 0.1171644926071167, 0.023469960317015648, 0.4627244174480438, -0.03334511071443558, -0.555698037147522, -0.35490381717681885, -0.14012205600738525, 0.30893850326538086, -0.11643087863922119, 0.3073270618915558], [0.4505635201931, 0.14668059349060059, 0.17785410583019257, 0.026151292026042938, 0.1899663805961609, -0.1902007758617401, -0.045425258576869965, 0.06709915399551392, 0.35210856795310974, -0.28949567675590515, 0.24356670677661896, -0.27726370096206665, -0.20973339676856995, -0.022077325731515884, 0.1967020332813263, 0.20263756811618805, -0.3647458553314209, -0.5069553256034851, -0.39108696579933167, -0.260928213596344, -0.20574867725372314, -0.20823536813259125, 0.0556049644947052, -0.813456654548645], [0.1133359968662262, 0.2335350066423416, -0.07907098531723022, 0.028258495032787323, 0.11805401742458344, -0.12157480418682098, 0.3088681697845459, -0.24653980135917664, 0.15686339139938354, -0.0010489023989066482, 0.12155013531446457, -0.29900988936424255, 0.09404170513153076, 0.303460031747818, 0.004634981509298086, 0.36903971433639526, 0.1356925070285797, 0.1304931938648224, -0.14413918554782867, -0.24455343186855316, 0.22669026255607605, -0.03467969968914986, 0.22867341339588165, 0.7002215385437012], [-0.18490085005760193, 0.14787262678146362, -0.35442548990249634, -0.18321746587753296, 0.23623983561992645, -0.20000742375850677, 0.021913466975092888, 0.19435502588748932, -0.1821393370628357, 0.275783896446228, 0.1825297474861145, -0.2906946837902069, 0.0403643362224102, -0.0730479434132576, 0.17254088819026947, -0.21548357605934143, -0.012170790694653988, 0.40814343094825745, 0.30147188901901245, -0.0049957954324781895, -0.18137182295322418, 0.3847169876098633, 0.07631707936525345, -1.083641529083252], [-0.393106073141098, 0.011905636638402939, -0.013172193430364132, 0.07795505225658417, -0.25342705845832825, -0.1546856015920639, -0.35586684942245483, 0.23782247304916382, -0.17648951709270477, 0.04443368688225746, 0.05313149467110634, 0.1314508020877838, 0.27031174302101135, 0.27689093351364136, 0.0701199397444725, -0.2392212599515915, -0.024722106754779816, -0.1649080365896225, -0.061809226870536804, 0.2634578347206116, -0.047696005553007126, 0.23253624141216278, 0.2476760596036911, 0.26390358805656433], [0.18001417815685272, -0.09240705519914627, 0.12940649688243866, 0.13186699151992798, -0.08294494450092316, 0.38826602697372437, -0.023320108652114868, 0.2486247420310974, 0.10575070977210999, 0.0034956650342792273, -0.18267497420310974, 0.004381336271762848, 0.22840569913387299, -0.21037814021110535, -0.20594362914562225, 0.0923788845539093, -0.27474918961524963, 0.3729965090751648, -0.16992880403995514, 0.12407150119543076, -0.5615553855895996, -0.12661617994308472, -0.09665614366531372, 0.6938126683235168], [0.13112781941890717, 0.13456660509109497, -0.011985636316239834, -0.404954731464386, -0.08202138543128967, 0.08393259346485138, -0.1463039517402649, -0.34664562344551086, 0.15317216515541077, 0.20972101390361786, 0.295968234539032, -0.10846281796693802, 0.19284851849079132, -0.21772494912147522, 0.18064500391483307, 0.2544485926628113, 0.20134279131889343, 0.1922764927148819, 0.3249681293964386, -0.1454142928123474, 0.04156089574098587, -0.03423164784908295, -0.1728193759918213, -0.8506799340248108], [-0.3688397705554962, -0.09934122860431671, 0.10391214489936829, 0.13617105782032013, 0.2689281404018402, 0.13611726462841034, 0.21252043545246124, 0.022494390606880188, 0.40633633732795715, 0.3641432821750641, -0.23502276837825775, -0.03580489009618759, 0.23762141168117523, 0.2002914845943451, 0.0189406406134367, 0.012383424676954746, 0.29757198691368103, -0.1647886484861374, -0.1441025733947754, -0.30046993494033813, 0.11489057540893555, -0.2189851850271225, -0.11603245884180069, -0.51725172996521], [0.10167524218559265, 0.32124611735343933, 0.18491627275943756, -0.27258700132369995, -0.147397980093956, -0.17568427324295044, -0.4286462366580963, -0.29190292954444885, 0.22207914292812347, 0.2061789333820343, 0.10462769865989685, -0.2707694172859192, -0.3852589428424835, -0.1361318677663803, 0.10852845013141632, -0.1231532096862793, 0.2520003020763397, -0.08466989547014236, 0.21607400476932526, -0.2267783135175705, 0.3422774076461792, 0.13096573948860168, 0.050953928381204605, 0.16928069293498993], [-0.4191138744354248, -0.2727447748184204, -0.1090606078505516, -0.20064428448677063, 0.06678363680839539, -0.06282305717468262, 0.3476421535015106, -0.09926043450832367, 0.06624197959899902, 0.1580435186624527, 0.003981804475188255, 0.31672415137290955, -0.04918232932686806, -0.03185618668794632, 0.04898250848054886, 0.3064987361431122, -0.011871554888784885, -0.11894383281469345, 0.30900838971138, -0.138247549533844, 0.15972015261650085, 0.29379409551620483, 0.02982654981315136, 0.45778757333755493], [-0.09981627017259598, 0.028558142483234406, 0.06929821521043777, 0.1259087473154068, -0.1553771197795868, 0.018408140167593956, 0.21996904909610748, 0.1438549906015396, 0.09230145066976547, 0.032473403960466385, -0.08326695114374161, 0.11494627594947815, -0.115909144282341, 0.043641239404678345, -0.20181696116924286, 0.0942978784441948, 0.22704873979091644, 0.2173866331577301, 0.30965301394462585, -0.08975650370121002, -0.19076241552829742, -0.10283409804105759, 0.13045655190944672, 0.5387446880340576], [-0.05740927904844284, -0.046991363167762756, -0.23395027220249176, 0.17926020920276642, 0.3057742416858673, -0.10129228234291077, -0.16329136490821838, -0.11638885736465454, 0.30918294191360474, -0.3162912130355835, -0.3283497393131256, -0.05649034306406975, 0.25292110443115234, -0.1596449315547943, -0.233733132481575, -0.1202758178114891, 0.08497696369886398, 0.2749735116958618, -0.17221121490001678, 0.18283696472644806, 0.2713337242603302, -0.046788137406110764, 0.31039106845855713, -0.809240996837616], [0.22055546939373016, -0.2498064935207367, 0.013879552483558655, 0.17365358769893646, -0.34853941202163696, 0.09319235384464264, 0.17834195494651794, -0.09588884562253952, -0.09685471653938293, -0.13594217598438263, 0.2553254961967468, -0.376228928565979, -0.23777326941490173, -0.26003921031951904, 0.13763278722763062, -0.045902837067842484, 0.2718260884284973, -0.3131961226463318, -0.13781557977199554, 0.36968138813972473, 0.17034557461738586, 0.2707637548446655, -0.11711110919713974, 0.09182945638895035], [-0.08291846513748169, -0.06757417321205139, 0.1632535308599472, -0.42105963826179504, 0.16892081499099731, -0.23452259600162506, 0.0345853753387928, 0.38292956352233887, 0.3063839375972748, 0.22846436500549316, 0.29186055064201355, -0.34233778715133667, 0.04906647652387619, 0.19945412874221802, 0.12462542206048965, 0.13908500969409943, -0.028676267713308334, -0.4102940559387207, -0.10858315229415894, -0.1657927930355072, 0.1634354293346405, -0.07575583457946777, -0.15152563154697418, 0.03112708032131195], [-0.044329509139060974, -0.6051923036575317, -0.018240805715322495, 0.045074887573719025, 0.010573447681963444, 0.3980170786380768, 0.4236900806427002, 0.29203540086746216, -0.13412386178970337, -0.19776774942874908, 0.17240796983242035, -0.11743304878473282, 0.006746708415448666, -0.23060011863708496, -0.2927601933479309, -0.4223519563674927, 0.08501580357551575, 0.26509684324264526, 0.25994807481765747, 0.11861147731542587, -0.050585221499204636, 0.07939203083515167, 0.02189025469124317, 0.2667770981788635], [0.0910719707608223, 0.36337998509407043, 0.17963866889476776, 0.5275316834449768, -0.2502506971359253, 0.2536097764968872, -0.32562005519866943, -0.021963082253932953, -0.10866555571556091, -0.018921270966529846, -0.09315028786659241, 0.09894800931215286, -0.16989444196224213, -0.26584431529045105, 0.15826809406280518, -0.1042863130569458, -0.4220127761363983, 0.059837110340595245, 0.10152365267276764, 0.10952189564704895, 0.027767185121774673, -0.258158415555954, -0.19039155542850494, 0.21401458978652954], [0.17257723212242126, 0.05521951988339424, -0.14015206694602966, -0.32254359126091003, 0.08468310534954071, 0.1777341663837433, -0.1333245486021042, -0.09495978057384491, -0.14273804426193237, -0.17389406263828278, -0.2549538016319275, 0.21970833837985992, 0.08572112768888474, -0.24420025944709778, -0.08755545318126678, -0.00336922868154943, 0.11422652006149292, 0.26896074414253235, -0.18278828263282776, 0.3395828604698181, 0.29486575722694397, -0.27823159098625183, 0.08792074769735336, 0.7334399223327637], [0.26002591848373413, -0.1636498123407364, -0.1064215824007988, -0.19697539508342743, -0.14255604147911072, -0.2327277809381485, 0.04320497810840607, -0.037930093705654144, -0.07967833429574966, 0.12729869782924652, -0.035268817096948624, -0.03844456002116203, -0.10148080438375473, 0.3507976531982422, -0.24125337600708008, -0.2667119801044464, 0.21522188186645508, 0.01858585886657238, 0.10371407121419907, 0.4436108469963074, -0.13857118785381317, -0.07651402801275253, -0.1973259299993515, -0.5653419494628906], [0.0812932625412941, -0.10816117376089096, -0.37533918023109436, -0.10862744599580765, 0.10676717013120651, 0.21336093544960022, -0.038703013211488724, 0.32955387234687805, -0.2542472779750824, 0.3102232813835144, -0.028752541169524193, 0.2984028458595276, 0.3141400218009949, -0.4106471836566925, -0.35780373215675354, 0.13912919163703918, 0.11557222902774811, 0.15577352046966553, -0.03846509009599686, -0.3512362241744995, -0.06131725758314133, -0.36153480410575867, -0.29644638299942017, 0.4463150203227997]], "biases": [0.4881874918937683, 0.5304844379425049, -0.3307607173919678, 0.4794946312904358, -1.3747559785842896, -0.8684259653091431, 0.30182212591171265, 0.02704109437763691, -0.44645825028419495, 0.3283206820487976, 0.2714494466781616, 1.1233046054840088, 0.14563876390457153, -0.637688934803009, 0.3616487681865692, 0.5388120412826538, 0.3958888053894043, -1.6835644245147705, 0.1891358196735382, -0.38234278559684753, -0.06428322941064835, -0.6226982474327087, 0.8401606678962708, -0.6757689118385315]}, "1": {"config": {"units": 20, "activation": "relu"}, "weights": [[-0.19358424842357635, 0.06314094364643097, -0.0502031072974205, 0.14110194146633148, -0.23813940584659576, 0.01609952189028263, -0.009582191705703735, 0.21194055676460266, -0.21553735435009003, -0.05130917206406593, -0.15861770510673523, -0.2646704316139221, 0.026200590655207634, 0.06836763769388199, 0.23608297109603882, 0.16512709856033325, 0.08083120733499527, 0.04224862530827522, 0.14113785326480865, -0.17669403553009033, 0.019431307911872864, 0.04480818286538124, 0.12677717208862305, -0.4853421449661255], [-0.07552316784858704, 0.035720136016607285, -0.3654206693172455, -0.12522172927856445, 0.007643842604011297, -0.12980011105537415, 0.0643789991736412, -0.14104878902435303, 0.11497955024242401, -0.16813963651657104, -0.05910791829228401, 0.11503051966428757, 0.20130793750286102, -0.1141972616314888, -0.07546185702085495, -0.4659520089626312, 0.05397419631481171, 0.04175799712538719, -0.3492952585220337, 0.08725550025701523, 0.0489080548286438, 0.29225268959999084, 0.2904251515865326, -0.052401263266801834], [-0.23780909180641174, -0.14228478074073792, 0.18608681857585907, -0.03639761358499527, 0.28914305567741394, 0.1613331139087677, -0.5037028193473816, -0.03619178757071495, -0.32090359926223755, 0.03466174006462097, 0.151624858379364, 0.2307879626750946, -0.013826931826770306, 0.061188653111457825, 0.11217668652534485, 0.027292026206851006, -0.1495968997478485, 0.13168008625507355, 0.010413682088255882, 0.06911584734916687, 0.01983601599931717, 0.2668479084968567, 0.08538985997438431, -0.1743154376745224], [-0.6180530786514282, -0.028226468712091446, 0.10711656510829926, -0.02619766630232334, -0.02699635550379753, 0.07668374478816986, 0.06450141966342926, 0.10009534657001495, -0.622698187828064, 0.06238095089793205, 0.005562387406826019, -0.1461133360862732, 0.05946001783013344, -0.022099001333117485, 0.08452989161014557, 0.14330457150936127, -0.15219126641750336, 0.0865878090262413, 0.15212565660476685, 0.018726389855146408, 0.03214170038700104, 0.04920404031872749, -0.26494845747947693, 0.10830619186162949], [0.10899538546800613, -0.0884278267621994, -0.2391088306903839, 0.26787716150283813, -0.009499545209109783, -0.01891680806875229, 0.41200289130210876, 0.028776194900274277, 0.26992905139923096, 0.20952950417995453, -0.3185153007507324, 0.42979103326797485, 0.1286165714263916, -0.10044657438993454, -0.04715963825583458, 0.030195415019989014, 0.42213529348373413, -0.02350476197898388, 0.019643183797597885, 0.12539266049861908, -0.02371034398674965, -0.12585005164146423, -0.040169354528188705, -0.10344966500997543], [0.22083327174186707, 0.1934620589017868, -0.12524789571762085, 0.1481829434633255, 0.35267767310142517, -0.11323340982198715, -0.0389944463968277, 0.34270620346069336, 0.0916658490896225, 0.14736278355121613, 0.16605649888515472, -0.4069276750087738, 0.18583528697490692, 0.17192442715168, 0.21006815135478973, 0.222610741853714, -0.2021303027868271, -0.15495705604553223, 0.1990816742181778, -0.1525680422782898, -0.1293211728334427, 0.08814387768507004, 0.03501224145293236, 0.1399882584810257], [0.10348888486623764, -0.04626374691724777, 0.1295165717601776, -0.12431220710277557, 0.10435878485441208, 0.006858535576611757, 0.1094459667801857, 0.07380902767181396, 0.09961289912462234, -0.06390266865491867, 0.028429314494132996, -0.13082058727741241, 0.23650585114955902, -0.04780028387904167, 0.0023969023022800684, -0.0028336800169199705, -0.05373093858361244, -0.10430271923542023, 0.1679365187883377, 0.10838548839092255, 0.026342500001192093, 0.03624538704752922, 0.23513704538345337, 0.0236511193215847], [0.12683339416980743, 0.17557337880134583, -0.169581338763237, 0.008727400563657284, -0.13259640336036682, 0.3432677090167999, 0.15407924354076385, -0.028456252068281174, -0.4040336608886719, 0.32559436559677124, -0.08359447866678238, 0.3280702531337738, -0.043538037687540054, 0.17257994413375854, -0.0798044502735138, 0.014538437128067017, 0.04416312649846077, -0.14537413418293, 0.15620428323745728, -0.11339498311281204, 0.17245525121688843, 0.0021936672274023294, -0.16609646379947662, -0.4677896201610565], [0.1292429268360138, 0.2670976519584656, 0.07771347463130951, -0.10721395909786224, -0.1429227590560913, 0.03650752827525139, -0.030284155160188675, 0.004560303874313831, -0.1082695871591568, -0.10995999723672867, -0.010784354992210865, 0.12516646087169647, 0.08941272646188736, -0.08577345311641693, -0.012411598116159439, -0.051354940980672836, -0.02629111334681511, -0.02296573854982853, -0.01694677397608757, 0.2354360818862915, 0.2184341549873352, 0.16313010454177856, 0.110640749335289, -0.24757717549800873], [0.04692767933011055, 0.06568262726068497, 0.05993152782320976, -0.01664310321211815, -0.15128232538700104, -0.6612560153007507, -0.1034269705414772, -0.16525210440158844, -0.35148024559020996, 0.06819767504930496, 0.028012989088892937, 0.19730961322784424, 0.06973359733819962, -0.07444513589143753, 0.0344054251909256, -0.09966044872999191, -0.07902073860168457, -0.40374842286109924, 0.08045884966850281, -0.21399471163749695, -0.20410016179084778, 0.08366137742996216, 0.1521512120962143, 0.08967600017786026], [-0.038191817700862885, -0.02544252946972847, -0.05672408640384674, -0.0023703493643552065, -0.4525042474269867, -0.12469467520713806, -0.04142485186457634, 0.03389132395386696, -0.12200196832418442, -0.03851810470223427, -0.25270795822143555, -0.2530539631843567, 0.15882088243961334, 0.18846547603607178, -0.1148172914981842, 0.00438102800399065, 0.174042209982872, 0.20726901292800903, 0.058477044105529785, -0.35994765162467957, 0.12384601682424545, 0.08122452348470688, 0.029629914090037346, -0.5590981245040894], [-0.2042350322008133, -0.07899101078510284, -0.12160249054431915, -0.03176620230078697, -0.2178528904914856, 0.16577409207820892, 0.09723187983036041, 0.12421845644712448, -0.6069439649581909, -0.11420147120952606, 0.1520296335220337, -0.08764462172985077, 0.08160476386547089, 0.014276213943958282, 0.2088160663843155, 0.05833963304758072, -0.5014830827713013, -0.1464626044034958, -0.07017505913972855, 0.10002864897251129, -0.03130234405398369, -0.0833982452750206, 0.22547756135463715, 0.12931174039840698], [0.001471760799176991, -0.30376479029655457, -0.5617092847824097, -0.46336692571640015, 0.033723123371601105, -0.20843000710010529, -0.105864517390728, -0.0650339424610138, 0.13468435406684875, -0.08655542135238647, -0.06665164977312088, 0.0403897799551487, -0.1917928159236908, 0.24442017078399658, 0.006649071350693703, 0.15771566331386566, 0.07206088304519653, 0.019272906705737114, -0.3729475438594818, -0.02298179641366005, -0.08582679182291031, 0.007644339930266142, 0.0811455175280571, 0.0006767091690562665], [0.04585918411612511, -0.08102249354124069, -0.1437663584947586, -0.5984488725662231, 0.05191373452544212, 0.5429649353027344, 0.14412973821163177, 0.13906459510326385, 0.1041610836982727, 0.048298660665750504, -0.037558723241090775, 0.1287265419960022, 0.13418060541152954, 0.00611621281132102, 0.088365837931633, -0.07500503212213516, -0.048267874866724014, 0.06823142617940903, 0.18102428317070007, -0.24874676764011383, 0.06853270530700684, -0.24742992222309113, 0.08253810554742813, -0.17787820100784302], [0.07026030123233795, 0.4861765205860138, 0.10698454082012177, -0.11003278195858002, -0.06715556234121323, -0.009781226515769958, -0.031022172421216965, 0.3037503659725189, 0.04269478842616081, -0.055672891438007355, 0.14989744126796722, 0.281029611825943, 0.005747862625867128, 0.010792981833219528, 0.12036248296499252, 0.0237455852329731, -0.02979178912937641, -0.02635490521788597, 0.030955422669649124, 0.22723440825939178, 0.10176349431276321, 0.3279370963573456, 0.017950816079974174, -0.26502877473831177], [-0.2915157079696655, 0.39234423637390137, -0.05649225413799286, -0.19367213547229767, -0.07993096113204956, 0.03925767540931702, 0.2626950442790985, 0.1284000426530838, -0.29149678349494934, -0.10819443315267563, 0.23430803418159485, 0.3564026951789856, -0.07703934609889984, 0.1596556007862091, -0.086184561252594, -0.2286853939294815, 0.0482645183801651, -0.26142674684524536, 0.11111672222614288, 0.01576179452240467, -0.008992922492325306, 0.2154548317193985, 0.1500486135482788, -0.30161282420158386], [0.12994471192359924, -0.13108660280704498, -0.07412823289632797, -0.09474745392799377, 0.16175414621829987, 0.3048659563064575, 0.2149421125650406, -0.18151000142097473, 0.1769377738237381, 0.002515231491997838, -0.17716370522975922, 0.36962273716926575, 0.30569809675216675, -0.05855347588658333, 0.1869617998600006, 0.12459268420934677, 0.2802223563194275, 0.07460853457450867, 0.19237804412841797, 0.27727240324020386, -0.2118726670742035, -0.33282801508903503, 0.10544120520353317, -0.13332626223564148], [0.10724173486232758, -0.1619652807712555, 0.27430999279022217, 0.03864924609661102, 0.05515288561582565, -0.0755058154463768, 0.13320037722587585, -0.0008906577131710947, 0.06476473808288574, 0.33664941787719727, 0.15723159909248352, -0.2610830068588257, -0.16420766711235046, 0.17069970071315765, -0.06798555701971054, -0.17670513689517975, -0.018732350319623947, -0.08805379271507263, 0.0901358425617218, -0.14910005033016205, -0.09791328758001328, 0.12809796631336212, -0.15888333320617676, 0.34105873107910156], [0.36439400911331177, 0.40668848156929016, 0.07751656323671341, 0.1184094175696373, -0.07147426158189774, 0.07285667955875397, -0.15764671564102173, 0.2786756455898285, -0.20270590484142303, 0.10954803973436356, -0.006105517502874136, 0.1315668523311615, 0.12434225529432297, 0.017301833257079124, 0.23610340058803558, 0.2548830807209015, -0.1576203852891922, 0.024732956662774086, -0.1127498671412468, 0.11803877353668213, 0.16268232464790344, 0.16114790737628937, 0.0008023955160751939, 0.13776127994060516], [-0.7253994941711426, 0.08292575925588608, 0.10106106847524643, -0.07022877037525177, -0.1873929351568222, 0.07105372101068497, 0.07446770370006561, 0.1329527646303177, -0.28422582149505615, 0.11301106959581375, 0.04133531451225281, -0.15978188812732697, -0.04620591178536415, 0.03837817907333374, 0.02434838004410267, -0.04740498587489128, -0.2512611746788025, 0.06017507240176201, 0.11755654215812683, -0.05289449915289879, -0.0207078717648983, 0.01734427735209465, -0.3554949462413788, 0.22509342432022095]], "biases": [0.4363986849784851, -0.41968369483947754, -0.22642499208450317, 0.19856658577919006, 0.42747631669044495, -0.09336460381746292, 0.002192764077335596, 0.12614260613918304, -0.0659114345908165, 1.0140008926391602, 0.4634236991405487, 0.6883453726768494, 0.4697215259075165, 0.628672182559967, 0.12421304732561111, 0.2646881639957428, 0.6467455625534058, 0.0647091493010521, 0.24873007833957672, 0.32750874757766724]}, "2": {"config": {"units": 12, "activation": "linear"}, "weights": [[0.11814840883016586, -0.4280756115913391, 0.24718120694160461, -0.2513495981693268, -0.40892294049263, -0.010222052223980427, -0.06233168765902519, 0.13996769487857819, -0.24418951570987701, 0.11473855376243591, -0.0013881835620850325, -0.05198739841580391, -0.006114365998655558, -0.11352796852588654, 0.3687000572681427, 0.09343072772026062, -0.135250523686409, -0.13957202434539795, 0.29355597496032715, 0.4564202129840851], [0.16285210847854614, -0.2917444109916687, 0.09437793493270874, 0.37952372431755066, -0.4701249599456787, 0.1551835983991623, -0.360162615776062, 0.05810936167836189, 0.22810165584087372, 0.25605353713035583, -0.01538268756121397, -0.10000478476285934, -0.05685577169060707, -0.13788044452667236, 0.1784180849790573, 0.16913844645023346, -0.032599352300167084, 0.04417531564831734, 0.15722885727882385, 0.10690221190452576], [0.15388678014278412, -0.3386504054069519, 0.3477247655391693, -0.20000813901424408, -0.25219184160232544, 0.2765432298183441, -0.22205054759979248, -0.013387992046773434, 0.5084752440452576, 0.2895819842815399, 0.08447209000587463, 0.060727570205926895, -0.0627426877617836, -0.21168164908885956, -0.05085321515798569, 0.07127135246992111, -0.28487443923950195, -0.14425833523273468, 0.21661260724067688, 0.44792357087135315], [0.18082058429718018, -0.32330557703971863, -0.02637670375406742, 0.3444317579269409, -0.35181793570518494, -0.15577490627765656, 0.15428943932056427, -0.0670977309346199, -0.19821441173553467, 0.38107192516326904, 0.19051577150821686, -0.2036251276731491, -0.32412147521972656, -0.2558899223804474, 0.27500876784324646, 0.1347760111093521, -0.28883683681488037, -0.05059998109936714, 0.4247243106365204, -0.03718104586005211], [-0.19344663619995117, -0.036285340785980225, 0.26913562417030334, 0.4569748342037201, -0.1342967003583908, 0.43328776955604553, -0.3488595187664032, -0.3063960075378418, 0.40742138028144836, 0.5631600618362427, 0.40155479311943054, -0.08882394433021545, -0.3956667482852936, -0.16782084107398987, -0.03339628502726555, 0.0403725765645504, -0.49657106399536133, -0.20055153965950012, 0.19162027537822723, -0.11286617815494537], [0.13538797199726105, -0.02192564122378826, 0.1131015196442604, 0.4291188418865204, -0.22382231056690216, 0.174521803855896, -0.23751422762870789, -0.34732550382614136, 0.3142932951450348, 0.7387776374816895, 0.4974406361579895, 0.26226383447647095, -0.681032657623291, -0.17985792458057404, 0.37280210852622986, -0.20202335715293884, -0.3848404586315155, 0.1630387157201767, -0.1204528883099556, -0.2411329448223114], [-0.08084546029567719, -0.07077904790639877, 0.35384106636047363, 0.10001157224178314, -0.16893485188484192, 0.07351167500019073, 0.23775476217269897, -0.25487080216407776, -0.22419889271259308, 0.7028850317001343, 0.7901055812835693, 0.3661049008369446, -0.7635833621025085, -0.3900851607322693, 0.3760387897491455, -0.26323166489601135, -0.5111334919929504, -0.06636953353881836, -0.010657068341970444, 0.12742063403129578], [0.44001299142837524, -0.27671048045158386, 0.17281685769557953, 0.28141018748283386, -0.2360931634902954, -0.12839916348457336, 0.18446919322013855, -0.5275985598564148, -0.0436796136200428, 0.907507061958313, 0.7893751263618469, 0.2671787142753601, -0.7054793834686279, -0.2847900688648224, 0.008019346743822098, -0.0397784523665905, -0.38073891401290894, 0.06404216587543488, 0.16216568648815155, 0.18555991351604462], [0.056448355317115784, 0.031851284205913544, -0.005945018492639065, 0.19569522142410278, -0.2487899512052536, 0.036086373031139374, 0.2741631269454956, -0.33703523874282837, -0.3474760055541992, 0.9357348084449768, 0.9388517141342163, 0.20609527826309204, -0.8755332827568054, -0.4023664593696594, 0.04643290117383003, -0.16778773069381714, -0.44280096888542175, -0.06609055399894714, 0.27581658959388733, 0.2678903639316559], [0.04946170747280121, 0.28781813383102417, 0.20945268869400024, 0.38889938592910767, -0.33688652515411377, 0.4270034730434418, -0.25759097933769226, -0.39234647154808044, 0.2124040275812149, 0.9826835989952087, 0.9418627023696899, 0.3793131411075592, -0.9623403549194336, -0.41179394721984863, -0.2954191267490387, -0.0894114151597023, -0.23269718885421753, -0.029766835272312164, 0.00514239864423871, 0.28703612089157104], [0.3422412872314453, 0.26809900999069214, -0.06192199885845184, -0.08990474045276642, -0.40611517429351807, 0.27706652879714966, 0.3888581395149231, -0.18795174360275269, -0.3680625855922699, 1.0194201469421387, 0.7085323333740234, -0.05007519945502281, -0.9698378443717957, -0.2988809049129486, 0.34057286381721497, -0.3534514605998993, -0.4608781039714813, -0.03748966380953789, -0.0929337814450264, 0.027564862743020058], [0.18356846272945404, -0.1515456736087799, -0.0075557236559689045, 0.2233993262052536, -0.11995979398488998, 0.38097622990608215, -0.1547391265630722, -0.510952889919281, 0.06576910614967346, 1.002048134803772, 0.9722775220870972, 0.19250081479549408, -0.7885034680366516, -0.3307425081729889, -0.2506730556488037, -0.1369636058807373, -0.37376904487609863, -0.09091443568468094, 0.09490037709474564, 0.40287816524505615]], "biases": [-0.09532429277896881, -0.16432999074459076, -0.08537286520004272, -0.21049848198890686, 0.0744931772351265, -0.16623863577842712, 0.014557255432009697, -0.39545318484306335, -0.2830202579498291, -0.2553127408027649, -0.1643781214952469, -0.484878271818161]}}
# def normalize(arr, mx, mn):
# for i in range(len(arr)):
# for j in range(len(arr[i])):
# arr[i][j] = arr[i][j]*100 / (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
# import numpy as np
# file = open("data.txt", "r")
# sys.stdin = file
# total_correct = 0
# total_incorrect = 0
data = []
days = int(input())
for i in range(days):
temps = [float(x) for x in input().split()]
data.append(temps)
for d in data:
ans = custom_predict(d[:24])
print(" ".join([format(x, ".1f") for x in ans]))
# truth = d[24:]
# diff = np.abs(np.array(ans) - np.array(truth))
# correct = np.count_nonzero(diff < 0.75)
# incorrect = np.count_nonzero(diff >= 2.05)
# total_correct += correct
# total_incorrect += incorrect
# score = 25 * (total_correct - total_incorrect) / days
# print(total_correct, total_incorrect, score)
# file.close()