layers = {"0": {"config": {"units": 24, "activation": "relu"}, "weights": [[-0.18675094842910767, 0.3024212121963501, 0.040732935070991516, -0.09352750331163406, 0.22586221992969513, -0.3163670599460602, -0.21002480387687683, 0.08123208582401276, 0.22302545607089996, -0.14945650100708008, -0.41111794114112854, -0.16396814584732056, -0.4002451002597809, 0.05359027162194252, 0.24978354573249817, -0.20227386057376862, 0.26381251215934753, -0.4044945538043976, -0.3574722409248352, -0.052158113569021225, 0.17892809212207794, -0.07379904389381409, 0.05977107211947441, 0.2792774438858032], [0.2965308129787445, 0.13803599774837494, -0.19525101780891418, 0.21403273940086365, -0.2040015310049057, 0.09971275925636292, -0.19559411704540253, 0.002203559735789895, -0.19486957788467407, -0.214618518948555, 0.004252047277987003, 0.292413592338562, 0.15373070538043976, 0.05679575726389885, 0.004444960504770279, 0.2552601099014282, -0.1864125281572342, -0.2919735610485077, -0.08376499265432358, -0.1240708976984024, 0.37278106808662415, 0.31958189606666565, -0.19300058484077454, 0.4899381697177887], [0.2627880275249481, -0.0785493403673172, -0.2586451768875122, -0.061528176069259644, -0.3565939664840698, -0.06345812976360321, -0.1016978994011879, -0.14666064083576202, -0.0453268401324749, 0.3084770441055298, 0.18268093466758728, 0.13777339458465576, 0.0745706707239151, -0.21774272620677948, 0.18480513989925385, -0.23600265383720398, -0.11564359813928604, 0.40143656730651855, 0.23999406397342682, -0.10351826995611191, 0.22800685465335846, 0.27096667885780334, -0.34138381481170654, -0.7049490213394165], [-0.12228815257549286, -0.20813994109630585, 0.19162003695964813, 0.4026778042316437, 0.030474374070763588, 0.32304680347442627, 0.0713944286108017, 0.007891052402555943, 0.25745901465415955, -0.30375057458877563, -0.15919098258018494, 0.250447154045105, -0.27799925208091736, -0.02184240147471428, -0.40765976905822754, 0.1585220843553543, -0.08170473575592041, -0.006220423150807619, -0.20254215598106384, 0.1138024628162384, -0.23919495940208435, -0.038447003811597824, 0.16036584973335266, 0.29830437898635864], [-0.3300798833370209, 0.204713374376297, 0.14608493447303772, -0.2587396502494812, -0.009387737140059471, 0.0667981281876564, 0.21813306212425232, 0.26436662673950195, 0.01031190250068903, 0.22035235166549683, 0.09258158504962921, 0.22495707869529724, -0.16577856242656708, -0.23874321579933167, 0.3109292685985565, 0.09754952788352966, 0.22958093881607056, 0.3808737099170685, 0.23275858163833618, -0.025392554700374603, -0.33524924516677856, -0.14983415603637695, -0.13865482807159424, 0.4648955762386322], [0.14059893786907196, -0.2549484670162201, 0.10774990916252136, -0.13461211323738098, -0.1469845175743103, 0.041211023926734924, 0.5976870656013489, 0.47251302003860474, 0.07123943418264389, 0.03524225950241089, -0.07519272714853287, -0.2776728868484497, 0.016329554840922356, -0.12263743579387665, -0.28994566202163696, -0.23726022243499756, 0.29970860481262207, -0.03872576355934143, 0.3555755317211151, 0.11470396816730499, 0.21353954076766968, 0.17054599523544312, -0.2808290421962738, -0.3223101496696472], [0.08850833028554916, -0.14004790782928467, 0.22153592109680176, 0.2189330905675888, 0.3546421229839325, 0.2795078754425049, -0.02022494561970234, -0.29610538482666016, -0.09510286152362823, -0.16670876741409302, -0.246919184923172, -0.1297454535961151, 0.06695016473531723, 0.3462451100349426, 0.02315426431596279, -0.2863107919692993, 0.18262766301631927, 0.18912182748317719, -0.34062451124191284, -0.10604731738567352, -0.21502883732318878, 0.18380650877952576, 0.45109081268310547, -0.3818409740924835], [0.1938774287700653, 0.04150412231683731, 0.1543394774198532, -0.16696420311927795, 0.3565799295902252, -0.3275744318962097, -0.284567266702652, 0.2307334542274475, -0.09780412912368774, -0.10745085030794144, 0.06792046874761581, 0.25978800654411316, 0.23469191789627075, 0.344961941242218, -0.003946273121982813, -0.19192172586917877, 0.16400103271007538, -0.004720462020486593, -0.6909867525100708, -0.19557751715183258, -0.320957213640213, -0.009153986349701881, -0.05507016181945801, 0.2416415512561798], [-0.05817520618438721, -0.2352203130722046, 0.08803174644708633, 0.09855819493532181, 0.12522080540657043, 0.09562534838914871, 0.19623376429080963, 0.20580945909023285, 0.07005985826253891, -0.19259677827358246, -0.36476731300354004, -0.24595347046852112, -0.2317187637090683, -0.03809912130236626, -0.0945817306637764, 0.20398807525634766, 0.169432133436203, 0.21493764221668243, 0.06948962807655334, 0.2111034095287323, 0.016344299539923668, -0.31523028016090393, -0.12978790700435638, 0.780208170413971], [-0.23317071795463562, -0.24832773208618164, -0.06360317021608353, 0.24820111691951752, -0.057312678545713425, 0.11366109549999237, -0.19376394152641296, 0.07316263020038605, -0.05832104757428169, -0.12675893306732178, -0.16802670061588287, -0.18339090049266815, 0.03136450797319412, -0.29940012097358704, -0.3068096935749054, 0.05950774624943733, -0.3310670554637909, 0.23072944581508636, -0.027546115219593048, 0.1871657371520996, -0.2713411748409271, -0.06511452794075012, 0.04453415796160698, -0.5955429673194885], [0.3392511010169983, -0.027372853830456734, 0.06335950642824173, -0.15242131054401398, -0.09476609528064728, -0.2885834872722626, -0.11214251071214676, 0.08842971175909042, 0.17308111488819122, -0.06533429026603699, -0.09062554687261581, -0.020216496661305428, 0.1527283638715744, 0.2441270649433136, 0.014498158358037472, -0.016313795000314713, 0.06376771628856659, -0.3247581720352173, -0.35398590564727783, 0.005079779773950577, 0.03446994349360466, 0.13870470225811005, -0.23082616925239563, -0.8118477463722229], [-0.02191452868282795, 0.15953275561332703, 0.1763571798801422, -0.14768312871456146, -0.10582686215639114, 0.10880706459283829, -0.21475106477737427, 0.24826094508171082, 0.11317848414182663, -0.14533551037311554, 0.08633354306221008, 0.1982850432395935, -0.09239616990089417, -0.12105714529752731, -0.1097351610660553, -0.3657674193382263, -0.3780680000782013, 0.09284698963165283, 0.019354211166501045, -0.17565573751926422, -0.2384069263935089, 0.04877540469169617, 0.20645514130592346, 0.919028639793396], [-0.18262045085430145, -0.36700165271759033, -0.26079535484313965, 0.2911728620529175, 0.21338774263858795, 0.10315732657909393, -0.025868134573101997, -0.354331910610199, -0.06915969401597977, -0.16640372574329376, 0.20146909356117249, 0.31287968158721924, 0.05915084481239319, 0.5666624307632446, -0.21412940323352814, -0.10695228725671768, -0.2610502541065216, -0.19489917159080505, 0.27049899101257324, 0.16351550817489624, -0.13367396593093872, 0.12312650680541992, 0.018890511244535446, 0.40406545996665955], [0.1919633448123932, 0.12854048609733582, 0.18205824494361877, -0.3813975751399994, 0.21445229649543762, -0.0738145262002945, -0.003934206906706095, 0.22338058054447174, 0.4827832281589508, -0.24145293235778809, 0.13045091927051544, -0.05435190349817276, -0.28275826573371887, -0.11286874115467072, -0.1961948275566101, -0.20623339712619781, 0.1653202623128891, 0.18430233001708984, -0.3968365490436554, 0.13448208570480347, -0.15240755677223206, 0.15365447103977203, -0.12484068423509598, -0.7947323322296143], [0.19528114795684814, 0.1916249841451645, -0.23042050004005432, 0.1483135223388672, -0.15212209522724152, -0.19412991404533386, 0.18391209840774536, -0.2574120759963989, -0.11025869101285934, -0.23207812011241913, 0.03851279988884926, 0.23982839286327362, -0.04332589730620384, -0.17617924511432648, 0.46204978227615356, -0.17004357278347015, 0.29903826117515564, 0.06832149624824524, 0.24742569029331207, 0.18983788788318634, -0.1104448214173317, 0.45019569993019104, -0.17390088737010956, -0.24825109541416168], [-0.34459027647972107, 0.21995264291763306, -0.2879517078399658, -0.06502756476402283, -0.005174245685338974, 0.2296925187110901, 0.10706820338964462, -0.1935303956270218, 0.24456487596035004, -0.0057013616897165775, 0.23733434081077576, 0.2466907501220703, 0.12625649571418762, 0.07659982144832611, 0.043212611228227615, 0.38325539231300354, 0.22475144267082214, -0.30134695768356323, -0.387081116437912, -0.4785118103027344, -0.09010537713766098, -0.17740398645401, -0.25143447518348694, 0.2126358449459076], [-0.38199931383132935, -0.07745309174060822, -0.3120909333229065, 0.020274564623832703, 0.08258244395256042, 0.0720219761133194, 0.3532015085220337, 0.146669402718544, 0.16828718781471252, 0.3108953535556793, 0.1029108390212059, -0.2123292088508606, -0.14313244819641113, 0.25891852378845215, 0.3882330656051636, 0.07335656136274338, 0.001772871008142829, 0.4406261742115021, 0.12037073820829391, -0.018317213281989098, -0.09662178158760071, -0.09417807310819626, 0.0881182923913002, -0.23871682584285736], [0.19809719920158386, -0.3019126355648041, -0.03738531842827797, -0.0254200492054224, 0.200963094830513, 0.04802120849490166, 0.217955082654953, 0.000605256762355566, -0.0826093927025795, 0.25290873646736145, 0.2712874114513397, -0.18511506915092468, 0.40167081356048584, 0.09239982813596725, 0.12786811590194702, -0.014231120236217976, -0.09303921461105347, -0.08001721650362015, -0.0846286416053772, -0.16420574486255646, 0.07287555187940598, 0.20152263343334198, 0.1598532348871231, 0.34533801674842834], [-0.06269870698451996, -0.13714174926280975, 0.04302190989255905, 0.24528801441192627, 0.26751112937927246, 0.25511252880096436, -0.1088380217552185, -0.15102799236774445, 0.21695716679096222, -0.054368045181035995, -0.0035372027195990086, 0.18303894996643066, -0.4105927646160126, -0.12735164165496826, -0.0992855429649353, -0.3334512412548065, 0.1550368070602417, 0.3782748878002167, -0.28105780482292175, 0.26565834879875183, -0.37601613998413086, 0.0016727658221498132, 0.19683344662189484, 0.2704872190952301], [-0.19137240946292877, 0.09708680957555771, -0.15505234897136688, 0.27538466453552246, -0.35171496868133545, -0.11094028502702713, -0.5066919326782227, -0.41588857769966125, -0.19449295103549957, 0.26731905341148376, -0.17699730396270752, -0.033552832901477814, -0.28902220726013184, -0.08187219500541687, 0.24340865015983582, 0.046842947602272034, 0.4095168709754944, 0.37035560607910156, -0.001688848133198917, 0.3617180585861206, 0.10122839361429214, -0.06585471332073212, -0.022992445155978203, -0.021413814276456833], [-0.028750205412507057, 0.06221731752157211, -0.07033157348632812, -0.3148842453956604, -0.11443407833576202, 0.010343211703002453, 0.3768478333950043, -0.18067744374275208, -0.04593528434634209, -0.0021232375875115395, -0.21700836718082428, 0.05245780199766159, 0.09027483314275742, -0.37624597549438477, 0.1916041374206543, -0.12444018572568893, 0.2235695868730545, -0.2497589886188507, 0.18453523516654968, 0.24681368470191956, -0.4172510802745819, -0.42413005232810974, -0.06254139542579651, 0.8310737609863281], [0.14149385690689087, 0.061715513467788696, 0.08427424728870392, 0.3177657723426819, 0.35713469982147217, 0.1288239061832428, -0.23310673236846924, -0.36493805050849915, -0.15670384466648102, -0.19834309816360474, -0.03688635677099228, -0.03141631558537483, -0.05163209140300751, -0.04762095957994461, 0.38091036677360535, 0.23343369364738464, 0.10973779857158661, -0.4216924011707306, -0.3014744520187378, 0.16791985929012299, -0.20333395898342133, 0.08405434340238571, -0.014028486795723438, -0.0714171975851059], [-0.03974456712603569, 0.23187695443630219, -0.13584065437316895, -0.04683215543627739, -0.11046886444091797, 0.06539604812860489, -0.051657162606716156, -0.24812498688697815, 0.1273660659790039, -0.004915023688226938, -0.24894218146800995, -0.024833567440509796, 0.091948501765728, 0.01993618905544281, 0.29709213972091675, 0.08427688479423523, 0.11893443018198013, 0.1647954285144806, 0.49055996537208557, 0.4771246612071991, -0.30382516980171204, -0.27678021788597107, -0.20339857041835785, -0.7612483501434326], [0.0068228659220039845, 0.15121948719024658, 0.14339588582515717, -0.16364392638206482, 0.15333572030067444, -0.16047610342502594, -0.2022019773721695, -0.3624540865421295, 0.06314608454704285, 0.0961100161075592, -0.34526321291923523, -0.04700629413127899, -0.12845323979854584, 0.11244838684797287, -0.35912105441093445, 0.169070765376091, 0.2889366149902344, -0.06034580245614052, 0.02000918611884117, -0.1579780876636505, 0.21715621650218964, 0.24603316187858582, 0.3284400999546051, 0.7063130140304565]], "biases": [-0.26407161355018616, -0.4244931936264038, 0.13509272038936615, -0.8314300179481506, 0.3132592737674713, -0.9471725821495056, 0.7055825591087341, -0.3469575345516205, -0.14653775095939636, 0.5127319097518921, 0.6148090362548828, 0.08388978242874146, 0.13515709340572357, 0.534791886806488, 0.671260416507721, 0.23501256108283997, 0.3528432846069336, 0.15496164560317993, 0.5441612005233765, -0.7142737507820129, 0.3599216639995575, 0.03511291742324829, 0.5898630619049072, -0.11394702643156052]}, "1": {"config": {"units": 18, "activation": "relu"}, "weights": [[0.2133820354938507, 0.24302777647972107, -0.10082564502954483, 0.19769680500030518, -0.03256905451416969, -1.0492596626281738, 0.1629890501499176, 0.13465940952301025, 0.28390973806381226, -0.005179440136998892, 0.05796703323721886, -0.019446851685643196, 0.34261295199394226, -0.1524483561515808, -0.6168491244316101, -0.3800416588783264, -0.1982440948486328, 0.013626660220324993, -0.09201185405254364, -0.08435038477182388, -0.039359863847494125, 0.051537688821554184, 0.3438527584075928, -0.37227490544319153], [-0.12322529405355453, -0.2499186098575592, -0.2891846299171448, 0.19571223855018616, -0.5921646952629089, -0.4673694968223572, 0.16786575317382812, -0.3425463140010834, 0.2114001363515854, 0.0855279415845871, 0.09963978826999664, 0.21018050611019135, 0.7632017731666565, 0.062031690031290054, -0.6137523055076599, -0.6490157246589661, 0.14762268960475922, -0.19842465221881866, 0.43286630511283875, -0.5242649912834167, 0.19483743607997894, -0.08804680407047272, 0.20555832982063293, -0.16920024156570435], [-0.02965441532433033, 0.10555188357830048, 0.10664738714694977, -0.2175731360912323, -0.23536016047000885, 0.12333590537309647, 0.0065519846975803375, 0.06375838816165924, 0.2340361624956131, 0.2728925049304962, 0.2274407595396042, -0.25593024492263794, -0.155961811542511, 0.4308457672595978, 0.09851886332035065, -0.23214082419872284, 0.47889477014541626, -0.19415372610092163, 0.005850312300026417, -0.08493702113628387, -0.04906383156776428, 0.09157457202672958, 0.436772882938385, -0.10525177419185638], [-0.10595306754112244, -0.016809463500976562, -0.7698960900306702, -0.13883483409881592, -0.8347439765930176, 0.47791510820388794, -0.12222293764352798, 0.4015665054321289, -0.48644453287124634, -1.1775847673416138, 0.4484373927116394, 0.1174621507525444, -0.34051278233528137, -0.6688764691352844, -0.002761505777016282, -0.7051328420639038, -0.16763819754123688, -0.3496646583080292, 0.1026703491806984, -0.4746749997138977, 0.7081554532051086, 0.15777313709259033, -0.023689422756433487, 0.19058580696582794], [-0.8139849901199341, -0.6781643033027649, 0.745036244392395, -0.5824777483940125, -0.026814458891749382, -0.9863442182540894, -0.763205885887146, -0.6376907825469971, 0.2471926063299179, 0.09581923484802246, -0.22643478214740753, 0.4761925935745239, 0.10840373486280441, 0.0881173238158226, 0.09842639416456223, -0.3704661428928375, -0.1269199401140213, -0.1854470819234848, 0.3615967035293579, -0.31387385725975037, -0.26710203289985657, -0.20951083302497864, 0.20092293620109558, -1.12125825881958], [0.3750033378601074, -0.16129407286643982, -0.49685606360435486, -0.045578598976135254, -0.45310458540916443, -0.07011369615793228, 0.3373882472515106, 0.2712641656398773, 0.6021802425384521, -0.275840699672699, 0.2901947498321533, 0.2944179177284241, 0.2712448239326477, -0.2066570222377777, -0.7190853357315063, 0.2505075931549072, -0.8710306286811829, -0.24588769674301147, -0.6390283107757568, -0.27565667033195496, -0.1535012573003769, 0.23187704384326935, -0.3483826220035553, -0.4076090455055237], [-0.24157612025737762, -0.10782035440206528, 0.009524732828140259, -0.30587226152420044, 0.2409396916627884, -0.005652917083352804, 0.24549172818660736, -0.28734907507896423, 0.022232620045542717, 0.006089632399380207, 0.2593514919281006, -0.21187520027160645, 0.25191494822502136, -0.6655227541923523, 0.1063675805926323, 0.3184848129749298, 0.22073757648468018, -0.07921017706394196, 0.04283726215362549, -0.07796210050582886, 0.48301297426223755, 0.06905549019575119, 0.055188264697790146, 0.00883569661527872], [-1.1884158849716187, -0.5553911924362183, 0.15925054252147675, -0.24497626721858978, -0.3164202570915222, -0.45361462235450745, 0.045912791043519974, 0.7339625954627991, -0.5846824049949646, 0.013435949571430683, -0.6277109384536743, 0.005052635446190834, 0.1431996077299118, -1.352167010307312, 0.1921268105506897, 0.24536335468292236, 0.024906275793910027, -0.14721041917800903, 0.359752357006073, 0.1655924916267395, 0.04774869978427887, 0.1752786487340927, 0.25399917364120483, -0.18584290146827698], [-0.4326336085796356, 0.12740246951580048, 0.5115846395492554, 0.25885719060897827, 0.28207293152809143, 0.03116314671933651, -0.06683459132909775, -0.313097208738327, 0.44907745718955994, -0.14845804870128632, 0.11067468672990799, 0.2543535530567169, -0.06991273164749146, -0.04654114693403244, -0.06418703496456146, -0.1454501450061798, -0.13283424079418182, 0.3118286728858948, 0.009739667177200317, 0.09466253966093063, 0.3647229075431824, -0.08923069387674332, 0.1089349240064621, 0.2241325080394745], [0.30304625630378723, 0.2452334761619568, -0.08581393957138062, 0.11765150725841522, -0.03299732133746147, -0.1797322779893875, -0.2727542221546173, -0.6268183588981628, -0.21448494493961334, -0.2908172905445099, -0.7743232250213623, -0.16267789900302887, -0.15818071365356445, 0.20949237048625946, 0.07253953814506531, -0.3800737261772156, 0.2795471251010895, 0.2927444577217102, 0.07492716610431671, 0.18929365277290344, 0.3622383177280426, -0.10833276808261871, 0.38277876377105713, 0.12153933942317963], [-0.47178059816360474, 0.071996308863163, -0.4968390464782715, -0.7071956396102905, -0.15226708352565765, 0.25264886021614075, 0.26610222458839417, -0.003887648694217205, -0.1399608850479126, 0.21458175778388977, 0.01259620487689972, -0.9827831387519836, -0.37250077724456787, -0.1336432248353958, 0.015771249309182167, 0.1434541642665863, 0.029950054362416267, -1.672849178314209, 0.3697652220726013, -0.7972695827484131, -0.8269778490066528, 0.23536531627178192, 0.4591231942176819, 0.5108904838562012], [-0.09873214364051819, 0.14318759739398956, 0.07867754995822906, 0.21170257031917572, 0.21401536464691162, -0.08059185743331909, -0.1779327094554901, 0.07503876090049744, 0.4350164830684662, -0.3786134719848633, 0.049819398671388626, 0.5056003928184509, 0.12477002292871475, 0.03466598317027092, 0.005672579165548086, -0.1073865294456482, -0.18214116990566254, 0.27153506875038147, -0.22022998332977295, -0.07333332300186157, -0.008606809191405773, 0.038211531937122345, -0.08822512626647949, 0.3227544128894806], [-0.14086607098579407, 0.17951621115207672, 0.1686544567346573, -0.20077800750732422, -0.15727676451206207, -0.5734357237815857, -0.20067356526851654, -0.08138823509216309, -0.27743443846702576, -0.2638399600982666, 0.033137448132038116, 0.09561114758253098, -0.005070108454674482, 0.500734269618988, 0.052715905010700226, 0.41095077991485596, -0.20524631440639496, 0.3411961793899536, 0.23483330011367798, -0.6434944868087769, -0.4437565505504608, 0.04590332508087158, 0.5391722917556763, 0.0712946280837059], [-0.004197714384645224, -0.028511349111795425, 0.15023918449878693, 0.1612037867307663, 0.25327661633491516, 0.04406038671731949, 0.05514954775571823, 0.05786236375570297, 0.5119414329528809, 0.2000764012336731, 0.09529563039541245, -0.33532172441482544, -0.24710850417613983, 0.4198831617832184, -0.8235917687416077, 0.09299000352621078, -0.018055882304906845, -0.32107773423194885, -0.7802234888076782, 0.08566609770059586, -0.17888304591178894, -0.043582022190093994, 0.31642377376556396, -0.5460832118988037], [0.009191428311169147, 0.35019999742507935, 0.0956108570098877, -0.18688900768756866, 0.0035223194863647223, -0.1595955342054367, -0.16797295212745667, -0.22574806213378906, 0.1884099692106247, -0.3004280626773834, -0.2556491792201996, 0.2847824990749359, 0.18886879086494446, -0.1587057262659073, 0.02044902741909027, -0.19262096285820007, 0.33943668007850647, 0.15632875263690948, 0.3162270784378052, 0.010514561086893082, 0.34591060876846313, 0.14408953487873077, 0.07533767074346542, 0.21724271774291992], [-0.025841163471341133, 0.18762433528900146, 0.0429915115237236, -0.08237532526254654, 0.29325950145721436, -0.010546155273914337, -0.07137146592140198, -0.4256596565246582, -0.017345424741506577, -0.3686632215976715, -0.5092639327049255, -0.36810073256492615, 0.03705713525414467, 0.3395146131515503, -0.15786129236221313, -0.353020578622818, -0.19518449902534485, 0.15502804517745972, 0.22172822058200836, 0.32542234659194946, 0.45694708824157715, -0.28738903999328613, 0.05285660922527313, -0.09449794143438339], [-0.08289077132940292, -0.3838878870010376, 0.18792517483234406, 0.08722026646137238, 0.24093177914619446, 0.028233034536242485, 0.11174852401018143, -0.025029556825757027, 0.4446411430835724, 0.3585711121559143, 0.3596747815608978, -0.5462216138839722, -0.07204648852348328, 0.4797442853450775, -0.7507787942886353, 0.13036827743053436, -0.07244610041379929, -0.23136793076992035, -0.5409568548202515, -0.03397539258003235, -0.22321301698684692, -0.09965097159147263, 0.3939110040664673, -0.422667533159256], [-0.14833414554595947, -0.36872339248657227, 0.3101692795753479, -0.21019239723682404, 0.3369140923023224, -0.23936618864536285, 0.5295696258544922, -0.3075471818447113, -0.5317209959030151, -0.2192959487438202, 0.4880341589450836, -0.9322116374969482, -0.0901375412940979, 0.07615768164396286, 0.005106349941343069, 0.08292539417743683, 0.28919559717178345, -0.011613426730036736, -0.4618934988975525, 0.4782455265522003, -0.26391488313674927, 0.03521425649523735, 0.26648789644241333, 0.19125095009803772]], "biases": [0.5056610107421875, -0.677240788936615, 0.8365676403045654, 0.010070860385894775, 0.08893702924251556, 0.019733982160687447, 0.6414692997932434, -0.12492462247610092, -0.23471516370773315, 0.34596332907676697, -0.27944090962409973, -0.13698981702327728, -0.11523041129112244, 0.3215664327144623, -0.27289995551109314, 0.6002198457717896, -0.03320777043700218, 0.8436673283576965]}, "2": {"config": {"units": 12, "activation": "linear"}, "weights": [[0.1444561779499054, -0.09887881577014923, -0.1964605748653412, -0.019212927669286728, 0.04206039756536484, -0.00829963106662035, 0.06777028739452362, -0.2432870715856552, 0.09199253469705582, 0.0707710012793541, -0.08563383668661118, 0.3759325444698334, -0.00907796062529087, -0.1131477952003479, 0.25766411423683167, -0.00847537163645029, -0.3289634883403778, -0.05668291449546814], [0.1900949776172638, -0.05210516229271889, -0.24177512526512146, 0.13422581553459167, 0.02420622855424881, -0.027816489338874817, 0.15531626343727112, -0.3065119683742523, 0.18486371636390686, 0.18317550420761108, -0.11849290877580643, 0.37880218029022217, -0.003844083286821842, 0.25630149245262146, 0.10796402394771576, -0.15329715609550476, -0.5178443193435669, -0.13250645995140076], [0.08645793050527573, -0.0630882978439331, -0.0990399718284607, -0.0046793799847364426, 0.19010423123836517, -0.0341225303709507, 0.07477039098739624, -0.3921213448047638, 0.2099200338125229, -0.024653777480125427, -0.0691429078578949, 0.17815974354743958, -0.04641731455922127, -0.01832158863544464, 0.3705064058303833, 0.004002681467682123, -0.45042744278907776, -0.15391138195991516], [0.1251249760389328, -0.01967208832502365, -0.27554193139076233, -0.284656286239624, 0.17055347561836243, -0.11376206576824188, 0.18484772741794586, -0.5059089064598083, 0.252415269613266, 0.056451618671417236, 0.15298962593078613, 0.2714604437351227, -0.12096226960420609, -0.0004903667140752077, 0.14986635744571686, -0.04083466902375221, -0.3221496045589447, -0.17605170607566833], [-0.04825006425380707, -0.094111368060112, -0.16905292868614197, -0.6776079535484314, 0.2515872120857239, -0.19296026229858398, 0.05449166148900986, -0.7611998915672302, 0.31525662541389465, -0.20986783504486084, 0.32520437240600586, -0.06367136538028717, -0.1743541806936264, -0.21341653168201447, 0.5181116461753845, 0.1849823296070099, -0.254239022731781, -0.18405629694461823], [-0.2117057889699936, -0.16727662086486816, -0.11550530046224594, -0.6127546429634094, 0.4228956699371338, -0.29448702931404114, 0.21487289667129517, -0.9125703573226929, 0.3605891168117523, 0.018585694953799248, 0.7014745473861694, 0.02106703259050846, -0.2681635618209839, -0.25862762331962585, 0.2620563805103302, 0.005472097080200911, -0.2337072342634201, -0.2482905387878418], [-0.33574774861335754, -0.2870216965675354, -0.08449212461709976, -0.6522883772850037, 0.7163309454917908, -0.3709467947483063, 0.358400821685791, -0.976151168346405, 0.1923007220029831, 0.09746937453746796, 0.8569991588592529, 0.32255908846855164, -0.31771668791770935, 0.02151392586529255, -0.021860681474208832, 0.17962341010570526, -0.4057246744632721, -0.314969539642334], [-0.20347018539905548, -0.47080332040786743, -0.1965886652469635, -0.574967622756958, 0.9781708717346191, -0.41185879707336426, 0.3562411069869995, -1.0756961107254028, 0.1997087001800537, 0.14982390403747559, 0.9767907857894897, 0.17418158054351807, -0.2740059792995453, -0.650662899017334, 0.06512728333473206, 0.22606885433197021, 0.11119444668292999, -0.3292664885520935], [-0.10078223794698715, -0.5513421297073364, -0.34966540336608887, -0.6503862142562866, 1.287895679473877, -0.4784983694553375, 0.4388546347618103, -0.9872048497200012, 0.1320963352918625, 0.46189969778060913, 1.169783592224121, 0.2513006031513214, -0.2758711576461792, -0.6230818629264832, -0.08094719052314758, 0.023836012929677963, 0.21677261590957642, -0.3819374740123749], [-0.12714208662509918, -0.5831323266029358, -0.3434832990169525, -0.6073589324951172, 1.4000039100646973, -0.5198252201080322, 0.44588199257850647, -1.1555591821670532, 0.12456724047660828, 0.42056146264076233, 1.0991179943084717, 0.12383651733398438, -0.20043973624706268, 0.09420649707317352, 0.04769159108400345, 0.08295714855194092, -0.23260509967803955, -0.4400925636291504], [-0.2825208306312561, -0.6112207174301147, -0.18414047360420227, -0.6291072368621826, 1.4266771078109741, -0.5203362703323364, 0.4437984526157379, -1.371538519859314, 0.001470568822696805, 0.2627444565296173, 0.9391763210296631, 0.14364761114120483, -0.16598151624202728, 0.17671027779579163, 0.16927120089530945, 0.29202842712402344, -0.3926139771938324, -0.4589730501174927], [-0.11809541285037994, -0.6284410953521729, -0.4874925911426544, -0.5433629751205444, 1.363259196281433, -0.5374475717544556, 0.5509894490242004, -1.5268529653549194, 0.06747309863567352, 0.4923347532749176, 1.0356688499450684, 0.18257956206798553, -0.16803300380706787, -0.23219534754753113, -0.03858767822384834, 0.06925537437200546, 0.10295682400465012, -0.444932222366333]], "biases": [0.2983994483947754, 0.33248624205589294, 0.2283172756433487, 0.23268930613994598, 0.1512608379125595, 0.007579194847494364, -0.10411430895328522, -0.15030215680599213, -0.12255669385194778, -0.20248821377754211, -0.40219324827194214, -0.3578866124153137]}}
def normalize(arr, mx, mn):
for i in range(len(arr)):
for j in range(len(arr[i])):
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
# 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)
# 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[: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()