#include<bits/stdc++.h>
using namespace std;
using ll = long long;
int main(){
ios_base::sync_with_stdio(0); cin.tie(0);
unordered_map<float, float> m;
unordered_map<float, int> laskee;
m[-35.7] = -0.0601094;
m[-34.6] = -0.0327868;
m[-34.3] = -0.0027322;
m[-34.2] = -0.0327869;
m[-34] = 0.010929;
m[-33.8] = 0.0554338;
m[-33.7] = -0.032787;
m[-33.6] = 0.010929;
m[-33.5] = 0.00676015;
m[-33.4] = -0.0580059;
m[-33.1] = -0.196721;
m[-33] = -0.0297029;
m[-32.9] = 0.131147;
m[-32.8] = -0.072072;
m[-32.7] = -0.0606415;
m[-32.6] = -0.00495042;
m[-32.5] = -0.0246154;
m[-32.4] = 0.0237648;
m[-32.2] = 0.0269755;
m[-32.1] = 0.163934;
m[-32] = 0.0203249;
m[-31.9] = 0.0468716;
m[-31.8] = -0.0559799;
m[-31.7] = -0.252252;
m[-31.6] = -0.00343644;
m[-31.5] = 0.0103093;
m[-31.4] = -0.00102786;
m[-31.3] = -0.00909361;
m[-31.2] = 0.00343637;
m[-31.1] = 0.131148;
m[-31] = 0.126761;
m[-30.9] = 0.0774648;
m[-30.8] = -0.131895;
m[-30.7] = -0.0398635;
m[-30.6] = 0.0528931;
m[-30.5] = 0.0604922;
m[-30.4] = 0.0144383;
m[-30.3] = -0.012658;
m[-30.2] = -0.0337422;
m[-30.1] = -0.00367648;
m[-30] = 0.116402;
m[-29.9] = -0.0247048;
m[-29.8] = -0.0046769;
m[-29.7] = -0.0557781;
m[-29.6] = 0.197183;
m[-29.5] = 0.0146365;
m[-29.4] = 0.0342015;
m[-29.3] = 0.0114279;
m[-29.2] = -0.0553399;
m[-29.1] = 0.0382846;
m[-29] = 0.0397201;
m[-28.9] = -0.0239326;
m[-28.8] = 0.0662252;
m[-28.7] = 0.0291179;
m[-28.6] = 0.0160453;
m[-28.5] = -0.0246672;
m[-28.4] = 0.0107818;
m[-28.3] = 0.0128575;
m[-28.2] = 0.0201085;
m[-28.1] = 0.00711337;
m[-28] = -0.159088;
m[-27.9] = 0.0237659;
m[-27.8] = 0.0504051;
m[-27.7] = 0.0307353;
m[-27.6] = 0.00303059;
m[-27.5] = -0.00179175;
m[-27.4] = 0.056338;
m[-27.3] = 0.0290019;
m[-27.2] = 0.0090989;
m[-27.1] = -0.0424397;
m[-27] = -0.0640303;
m[-26.9] = 0.0235841;
m[-26.8] = -0.00803666;
m[-26.7] = -0.00720549;
m[-26.6] = 0.011815;
m[-26.5] = -0.0860746;
m[-26.4] = 0.0427591;
m[-26.3] = -0.0176307;
m[-26.2] = 0.00347342;
m[-26.1] = 0.0480531;
m[-26] = -0.0185637;
m[-25.9] = 0.0101096;
m[-25.8] = 0.0330248;
m[-25.7] = -0.0349625;
m[-25.6] = -0.0535883;
m[-25.5] = 0.0209403;
m[-25.4] = 0.0335749;
m[-25.3] = 0.0566584;
m[-25.2] = 0.0348536;
m[-25.1] = -0.0596426;
m[-25] = -0.0238104;
m[-24.9] = -0.00516817;
m[-24.8] = 0.0225215;
m[-24.7] = -0.0203264;
m[-24.6] = -0.052532;
m[-24.5] = -0.0377103;
m[-24.4] = 0.0366658;
m[-24.3] = 0.000763027;
m[-24.2] = 0.0540863;
m[-24.1] = 0.00527634;
m[-24] = 0.0218489;
m[-23.9] = -0.0303422;
m[-23.8] = -0.0245345;
m[-23.7] = 0.0727476;
m[-23.6] = 0.0419536;
m[-23.5] = 0.0130085;
m[-23.4] = -0.0420106;
m[-23.3] = -0.00696486;
m[-23.2] = -0.00944701;
m[-23.1] = 0.0525142;
m[-23] = 0.0674342;
m[-22.9] = 0.0501996;
m[-22.8] = -0.00396181;
m[-22.7] = 0.0436563;
m[-22.6] = -0.0172669;
m[-22.5] = 0.0217108;
m[-22.4] = 0.0012347;
m[-22.3] = -0.00038114;
m[-22.2] = 0.0388041;
m[-22.1] = 0.00223811;
m[-22] = -0.034285;
m[-21.9] = -0.00580573;
m[-21.8] = 0.0162298;
m[-21.7] = 0.00104734;
m[-21.6] = 0.00989663;
m[-21.5] = -0.00604241;
m[-21.4] = 0.0232362;
m[-21.3] = 0.0144792;
m[-21.2] = 0.0139295;
m[-21.1] = -0.00731057;
m[-21] = -0.0294596;
m[-20.9] = -0.00231919;
m[-20.8] = 0.0124327;
m[-20.7] = 0.0551979;
m[-20.6] = 0.0150009;
m[-20.5] = 0.014521;
m[-20.4] = -0.00941406;
m[-20.3] = 0.0277452;
m[-20.2] = 0.0303909;
m[-20.1] = 0.00911062;
m[-20] = 0.0492796;
m[-19.9] = -0.00103638;
m[-19.8] = 0.0318696;
m[-19.7] = 0.0169411;
m[-19.6] = 0.0291006;
m[-19.5] = 0.0342788;
m[-19.4] = -0.0132441;
m[-19.3] = -0.000174202;
m[-19.2] = -0.0087126;
m[-19.1] = 0.00336304;
m[-19] = 0.0225991;
m[-18.9] = 0.00527958;
m[-18.8] = 0.0367434;
m[-18.7] = 0.0192836;
m[-18.6] = 0.00534336;
m[-18.5] = 0.0230622;
m[-18.4] = 0.0456126;
m[-18.3] = 0.023406;
m[-18.2] = 0.0115479;
m[-18.1] = -0.0669048;
m[-18] = 0.014028;
m[-17.9] = 0.0392241;
m[-17.8] = 0.0449618;
m[-17.7] = -0.00204724;
m[-17.6] = 0.0208022;
m[-17.5] = -0.000528845;
m[-17.4] = 0.0357659;
m[-17.3] = 0.0513847;
m[-17.2] = -0.00670848;
m[-17.1] = 0.0173031;
m[-17] = 0.0411004;
m[-16.9] = 0.011757;
m[-16.8] = 0.00777842;
m[-16.7] = 0.00978946;
m[-16.6] = 0.0227596;
m[-16.5] = 0.033818;
m[-16.4] = 0.0261153;
m[-16.3] = 0.0182665;
m[-16.2] = -0.0198986;
m[-16.1] = 0.0278298;
m[-16] = 0.0389855;
m[-15.9] = 0.00959839;
m[-15.8] = -0.00765661;
m[-15.7] = 0.0154829;
m[-15.6] = 0.0152397;
m[-15.5] = -0.0231532;
m[-15.4] = 0.0308633;
m[-15.3] = 0.0136716;
m[-15.2] = 0.0296419;
m[-15.1] = 0.0507296;
m[-15] = 0.0147405;
m[-14.9] = -0.0121832;
m[-14.8] = 0.0363662;
m[-14.7] = 0.00945726;
m[-14.6] = -0.0137443;
m[-14.5] = 0.0382409;
m[-14.4] = 0.0232566;
m[-14.3] = 0.0319517;
m[-14.2] = -0.0147808;
m[-14.1] = 0.0016868;
m[-14] = -0.0122686;
m[-13.9] = 0.00963426;
m[-13.8] = 0.033919;
m[-13.7] = 0.0163938;
m[-13.6] = 0.0110066;
m[-13.5] = -0.00876702;
m[-13.4] = 0.0233124;
m[-13.3] = 0.00878857;
m[-13.2] = 0.0165386;
m[-13.1] = -0.0153418;
m[-13] = 0.0117716;
m[-12.9] = 0.024551;
m[-12.8] = -0.0122462;
m[-12.7] = 0.0233211;
m[-12.6] = 0.0309592;
m[-12.5] = 0.0315873;
m[-12.4] = 0.0248718;
m[-12.3] = 0.0142036;
m[-12.2] = 0.00110316;
m[-12.1] = 0.00718337;
m[-12] = 0.00129065;
m[-11.9] = 0.023181;
m[-11.8] = -0.00173073;
m[-11.7] = 0.0340549;
m[-11.6] = -0.00297446;
m[-11.5] = 0.0302859;
m[-11.4] = 0.0374511;
m[-11.3] = 0.0251836;
m[-11.2] = 0.0379373;
m[-11.1] = 0.0411486;
m[-11] = 0.038107;
m[-10.9] = 0.0123872;
m[-10.8] = 0.0138613;
m[-10.7] = 0.00952459;
m[-10.6] = 0.0410557;
m[-10.5] = 0.00228206;
m[-10.4] = 0.0163573;
m[-10.3] = -0.00189124;
m[-10.2] = -0.000595902;
m[-10.1] = 0.0015714;
m[-10] = 0.0291596;
m[-9.9] = 0.0267129;
m[-9.8] = -0.00281135;
m[-9.7] = 0.000153598;
m[-9.6] = 0.0297189;
m[-9.5] = 0.0273878;
m[-9.4] = 0.0252851;
m[-9.3] = 0.00341791;
m[-9.2] = -0.00553366;
m[-9.1] = 0.0108664;
m[-9] = 0.00448771;
m[-8.9] = 0.015901;
m[-8.8] = 0.0328483;
m[-8.7] = 0.00811962;
m[-8.6] = 0.0251178;
m[-8.5] = 0.0168259;
m[-8.4] = 0.0185934;
m[-8.3] = 0.0273149;
m[-8.2] = 0.012406;
m[-8.1] = 0.0144827;
m[-8] = 0.0106846;
m[-7.9] = 0.011202;
m[-7.8] = 0.00018699;
m[-7.7] = 0.0185283;
m[-7.6] = -0.00991749;
m[-7.5] = 0.0230211;
m[-7.4] = 0.0173671;
m[-7.3] = 0.0224653;
m[-7.2] = 0.0157862;
m[-7.1] = 0.0130325;
m[-7] = 0.0286209;
m[-6.9] = 0.0121392;
m[-6.8] = 0.0256585;
m[-6.7] = 0.0204474;
m[-6.6] = 0.0194418;
m[-6.5] = 0.0324416;
m[-6.4] = 0.0202384;
m[-6.3] = 0.00329936;
m[-6.2] = 0.00543621;
m[-6.1] = 0.00781864;
m[-6] = 0.0186444;
m[-5.9] = 0.0240534;
m[-5.8] = 0.0187289;
m[-5.7] = 0.00513776;
m[-5.6] = 0.0105324;
m[-5.5] = 0.013103;
m[-5.4] = 0.0241403;
m[-5.3] = 0.0067808;
m[-5.2] = 0.00453717;
m[-5.1] = 0.0202154;
m[-5] = 0.0207813;
m[-4.9] = 0.0094661;
m[-4.8] = 0.0100286;
m[-4.7] = 0.0159625;
m[-4.6] = 0.0173496;
m[-4.5] = 0.0238109;
m[-4.4] = 0.00860176;
m[-4.3] = 0.0177928;
m[-4.2] = 0.0133768;
m[-4.1] = 0.0146035;
m[-4] = 0.0120917;
m[-3.9] = 0.020907;
m[-3.8] = 0.0240927;
m[-3.7] = 0.0176295;
m[-3.6] = 0.0175426;
m[-3.5] = 0.0205255;
m[-3.4] = 0.00904506;
m[-3.3] = 0.0213841;
m[-3.2] = 0.0163241;
m[-3.1] = 0.0194247;
m[-3] = 0.0131358;
m[-2.9] = 0.00612115;
m[-2.8] = 0.0154914;
m[-2.7] = 0.00781105;
m[-2.6] = 0.0122238;
m[-2.5] = 0.0159075;
m[-2.4] = 0.0077049;
m[-2.3] = 0.0146543;
m[-2.2] = 0.0092752;
m[-2.1] = 0.0148405;
m[-2] = 0.0116017;
m[-1.9] = 0.0148914;
m[-1.8] = 0.0092451;
m[-1.7] = 0.00982257;
m[-1.6] = 0.00940255;
m[-1.5] = 0.00899886;
m[-1.4] = 0.00291895;
m[-1.3] = 0.0148413;
m[-1.2] = 0.0143069;
m[-1.1] = 0.0224247;
m[-1] = 0.0150955;
m[-0.9] = 0.00515715;
m[-0.8] = 0.0154779;
m[-0.7] = 0.0200328;
m[-0.6] = 0.0166918;
m[-0.5] = 0.0070836;
m[-0.4] = 0.022611;
m[-0.3] = 0.0143023;
m[-0.2] = 0.0157326;
m[-0.1] = 0.0114256;
m[0] = 0.0163043;
m[0.1] = 0.0216802;
m[0.2] = 0.0111287;
m[0.3] = 0.0143632;
m[0.4] = 0.0140323;
m[0.5] = 0.0194561;
m[0.6] = 0.0199991;
m[0.7] = 0.0131283;
m[0.8] = 0.0140009;
m[0.9] = 0.0197753;
m[1] = 0.0135914;
m[1.1] = 0.0290422;
m[1.2] = 0.0259634;
m[1.3] = 0.0284636;
m[1.4] = 0.0208683;
m[1.5] = 0.0215032;
m[1.6] = 0.0234354;
m[1.7] = 0.0216039;
m[1.8] = 0.0206754;
m[1.9] = 0.0312041;
m[2] = 0.0232105;
m[2.1] = 0.021501;
m[2.2] = 0.0200677;
m[2.3] = 0.0305188;
m[2.4] = 0.0188002;
m[2.5] = 0.0311524;
m[2.6] = 0.036243;
m[2.7] = 0.0173676;
m[2.8] = 0.0213879;
m[2.9] = 0.0237888;
m[3] = 0.0382256;
m[3.1] = 0.0192318;
m[3.2] = 0.0268513;
m[3.3] = 0.0265799;
m[3.4] = 0.0200163;
m[3.5] = 0.0236965;
m[3.6] = 0.0276704;
m[3.7] = 0.01849;
m[3.8] = 0.0262933;
m[3.9] = 0.0312857;
m[4] = 0.0285776;
m[4.1] = 0.0329573;
m[4.2] = 0.0305702;
m[4.3] = 0.0297018;
m[4.4] = 0.0410159;
m[4.5] = 0.032978;
m[4.6] = 0.0255325;
m[4.7] = 0.0385158;
m[4.8] = 0.036299;
m[4.9] = 0.0360667;
m[5] = 0.0388102;
m[5.1] = 0.0295459;
m[5.2] = 0.0381127;
m[5.3] = 0.0415249;
m[5.4] = 0.022401;
m[5.5] = 0.0416301;
m[5.6] = 0.0147795;
m[5.7] = 0.0467106;
m[5.8] = 0.0339903;
m[5.9] = 0.0318246;
m[6] = 0.0322898;
m[6.1] = 0.0350826;
m[6.2] = 0.0330221;
m[6.3] = 0.045109;
m[6.4] = 0.0331343;
m[6.5] = 0.0255218;
m[6.6] = 0.0414575;
m[6.7] = 0.0318108;
m[6.8] = 0.0357614;
m[6.9] = 0.0445137;
m[7] = 0.0286994;
m[7.1] = 0.0520226;
m[7.2] = 0.0441942;
m[7.3] = 0.0381739;
m[7.4] = 0.0367022;
m[7.5] = 0.0315754;
m[7.6] = 0.0456295;
m[7.7] = 0.0380756;
m[7.8] = 0.0330885;
m[7.9] = 0.0469583;
m[8] = 0.0281817;
m[8.1] = 0.0496293;
m[8.2] = 0.0354371;
m[8.3] = 0.0302357;
m[8.4] = 0.0405465;
m[8.5] = 0.0312767;
m[8.6] = 0.0323832;
m[8.7] = 0.03007;
m[8.8] = 0.0302031;
m[8.9] = 0.034965;
m[9] = 0.041894;
m[9.1] = 0.033215;
m[9.2] = 0.0359779;
m[9.3] = 0.0466318;
m[9.4] = 0.0400662;
m[9.5] = 0.0460726;
m[9.6] = 0.0403811;
m[9.7] = 0.0507672;
m[9.8] = 0.0334399;
m[9.9] = 0.0401164;
m[10] = 0.0340573;
m[10.1] = 0.0467592;
m[10.2] = 0.0446484;
m[10.3] = 0.0347497;
m[10.4] = 0.0505275;
m[10.5] = 0.0503374;
m[10.6] = 0.0422636;
m[10.7] = 0.0437358;
m[10.8] = 0.0443102;
m[10.9] = 0.043123;
m[11] = 0.0517111;
m[11.1] = 0.0410828;
m[11.2] = 0.0398027;
m[11.3] = 0.0436536;
m[11.4] = 0.0479818;
m[11.5] = 0.0584213;
m[11.6] = 0.0469327;
m[11.7] = 0.0488328;
m[11.8] = 0.0386946;
m[11.9] = 0.0457042;
m[12] = 0.0408826;
m[12.1] = 0.0467029;
m[12.2] = 0.050806;
m[12.3] = 0.0395153;
m[12.4] = 0.0423746;
m[12.5] = 0.0403564;
m[12.6] = 0.048465;
m[12.7] = 0.0350445;
m[12.8] = 0.0457965;
m[12.9] = 0.0395577;
m[13] = 0.0393995;
m[13.1] = 0.0477788;
m[13.2] = 0.0326411;
m[13.3] = 0.0412285;
m[13.4] = 0.0440517;
m[13.5] = 0.0461667;
m[13.6] = 0.0366243;
m[13.7] = 0.040918;
m[13.8] = 0.0429076;
m[13.9] = 0.0476947;
m[14] = 0.0352663;
m[14.1] = 0.0527658;
m[14.2] = 0.0355325;
m[14.3] = 0.0355212;
m[14.4] = 0.0498474;
m[14.5] = 0.0460737;
m[14.6] = 0.0478598;
m[14.7] = 0.0494027;
m[14.8] = 0.0315567;
m[14.9] = 0.0576613;
m[15] = 0.0433692;
m[15.1] = 0.0515159;
m[15.2] = 0.0509963;
m[15.3] = 0.0437319;
m[15.4] = 0.0559261;
m[15.5] = 0.0616302;
m[15.6] = 0.0373061;
m[15.7] = 0.0459676;
m[15.8] = 0.0427964;
m[15.9] = 0.0437719;
m[16] = 0.0472174;
m[16.1] = 0.046284;
m[16.2] = 0.0564424;
m[16.3] = 0.050342;
m[16.4] = 0.0498517;
m[16.5] = 0.0526989;
m[16.6] = 0.0507448;
m[16.7] = 0.0584521;
m[16.8] = 0.0428371;
m[16.9] = 0.0499566;
m[17] = 0.0545318;
m[17.1] = 0.0539499;
m[17.2] = 0.0571585;
m[17.3] = 0.0725072;
m[17.4] = 0.0627987;
m[17.5] = 0.06532;
m[17.6] = 0.0557077;
m[17.7] = 0.0656475;
m[17.8] = 0.0671967;
m[17.9] = 0.0669781;
m[18] = 0.0586054;
m[18.1] = 0.0547654;
m[18.2] = 0.0512492;
m[18.3] = 0.0595988;
m[18.4] = 0.0493685;
m[18.5] = 0.0692775;
m[18.6] = 0.0642564;
m[18.7] = 0.0697931;
m[18.8] = 0.0694572;
m[18.9] = 0.0610566;
m[19] = 0.0689301;
m[19.1] = 0.0578044;
m[19.2] = 0.0641409;
m[19.3] = 0.0578929;
m[19.4] = 0.0650857;
m[19.5] = 0.0558855;
m[19.6] = 0.0572919;
m[19.7] = 0.0646447;
m[19.8] = 0.0762352;
m[19.9] = 0.0503709;
m[20] = 0.0733761;
m[20.1] = 0.0615326;
m[20.2] = 0.0553628;
m[20.3] = 0.0333545;
m[20.4] = 0.0499602;
m[20.5] = 0.0622614;
m[20.6] = 0.0520071;
m[20.7] = 0.0648846;
m[20.8] = 0.0671309;
m[20.9] = 0.0603556;
m[21] = 0.0703773;
m[21.1] = 0.0620966;
m[21.2] = 0.05213;
m[21.3] = 0.0541274;
m[21.4] = 0.0548602;
m[21.5] = 0.0610151;
m[21.6] = 0.0655982;
m[21.7] = 0.0514211;
m[21.8] = 0.0619136;
m[21.9] = 0.0798171;
m[22] = 0.0493915;
m[22.1] = 0.0585692;
m[22.2] = 0.0525448;
m[22.3] = 0.0733204;
m[22.4] = 0.0546886;
m[22.5] = 0.0617488;
m[22.6] = 0.0618092;
m[22.7] = 0.0473309;
m[22.8] = 0.0676806;
m[22.9] = 0.0528129;
m[23] = 0.0653344;
m[23.1] = 0.0740391;
m[23.2] = 0.0538621;
m[23.3] = 0.060281;
m[23.4] = 0.0540411;
m[23.5] = 0.0555805;
m[23.6] = 0.0409087;
m[23.7] = 0.0585142;
m[23.8] = 0.0502702;
m[23.9] = 0.0634646;
m[24] = 0.0587527;
m[24.1] = 0.0737166;
m[24.2] = 0.0673217;
m[24.3] = 0.0538869;
m[24.4] = 0.0669267;
m[24.5] = 0.0626295;
m[24.6] = 0.0675293;
m[24.7] = 0.0593906;
m[24.8] = 0.0746269;
m[24.9] = 0.0588473;
m[25] = 0.0651948;
m[25.1] = 0.0510147;
m[25.2] = 0.0450829;
m[25.3] = 0.0557215;
m[25.4] = 0.0666904;
m[25.5] = 0.0476166;
m[25.6] = 0.0780707;
m[25.7] = 0.0600891;
m[25.8] = 0.0635921;
m[25.9] = 0.0591811;
m[26] = 0.043471;
m[26.1] = 0.0424001;
m[26.2] = 0.0547728;
m[26.3] = 0.0507672;
m[26.4] = 0.060499;
m[26.5] = 0.13735;
m[26.6] = 0.0892226;
m[26.7] = 0.0590302;
m[26.8] = 0.0319664;
m[26.9] = 0.090546;
m[27] = 0.0403651;
m[27.1] = 0.0227967;
m[27.2] = 0.0691089;
m[27.3] = 0.0403757;
m[27.4] = 0.100581;
m[27.5] = 0.0620296;
m[27.6] = 0.0346983;
m[27.7] = 0.0225633;
m[27.8] = 0.0373707;
m[27.9] = 0.00626528;
m[28] = 0.0787132;
m[28.1] = 0.0706675;
m[28.2] = 0.0293968;
m[28.3] = 0.0296956;
m[28.4] = 0.0448252;
m[28.5] = 0.0773205;
m[28.6] = 0.0644819;
m[28.7] = 0.0219585;
m[28.8] = 0.168097;
m[28.9] = 0.0598925;
m[29] = 0.0308564;
m[29.1] = 0.0528046;
m[29.2] = 0.0652577;
m[29.3] = 0.00741053;
m[29.4] = 0.0935245;
m[29.5] = 0.0347999;
m[29.6] = 0.0416667;
m[29.7] = 0.0367249;
m[29.8] = -0.00196078;
m[29.9] = 0.043805;
m[30] = 0.0454045;
m[30.1] = 0.0218083;
m[30.2] = 0.00588238;
m[30.3] = 0.0111535;
m[30.4] = 0.0392845;
m[30.5] = 0.00974851;
m[30.6] = 0.30068;
m[30.7] = 0.0366493;
m[30.8] = 0.0515505;
m[30.9] = 0.0472274;
m[31] = 0.101133;
m[31.1] = -0.0317461;
m[31.2] = 0.0370371;
m[31.3] = 0.0145502;
m[31.4] = 0.0244479;
m[31.5] = -0.0357119;
m[31.6] = 0.00617286;
m[31.7] = 0.0533677;
m[32.2] = 0.027027;
m[32.5] = -0.0108109;
m[32.6] = 0.00540532;
m[32.7] = 0.027027;
m[33.1] = 0.0628272;
laskee[-33] = 9;
laskee[-32.9] = 6;
laskee[-32.5] = 21;
laskee[-31.1] = 0;
laskee[-30.8] = 13;
laskee[-30.5] = 4;
laskee[-30.2] = 24;
laskee[-28.7] = 0;
laskee[-28.6] = 2;
laskee[-28.5] = 12;
laskee[-27.3] = 0;
laskee[-26.8] = 9;
laskee[-26.2] = 0;
laskee[-25.8] = 0;
laskee[-25.5] = 0;
laskee[-25.4] = 23;
laskee[-25.1] = 10;
laskee[-24.7] = 0;
laskee[-24.5] = 1;
laskee[-24.4] = 3;
laskee[-24.2] = 0;
laskee[-24.1] = 0;
laskee[-23.9] = 2;
laskee[-23.7] = 0;
laskee[-23.6] = 2;
laskee[-23.5] = 0;
laskee[-23.3] = 0;
laskee[-22.6] = 4;
laskee[-22.4] = 23;
laskee[-22.2] = 0;
laskee[-21.9] = 0;
laskee[-21.8] = 5;
laskee[-21.7] = 1;
laskee[-21.6] = 0;
laskee[-21.3] = 1;
laskee[-21.1] = 23;
laskee[-20.8] = 0;
laskee[-20.6] = 6;
laskee[-20.5] = 14;
laskee[-20.4] = 7;
laskee[-20.3] = 3;
laskee[-20.2] = 0;
laskee[-20.1] = 4;
laskee[-20] = 2;
laskee[-19.9] = 0;
laskee[-19.7] = 0;
laskee[-19.6] = 4;
laskee[-19.5] = 0;
laskee[-19.4] = 4;
laskee[-19.3] = 3;
laskee[-19.2] = 0;
laskee[-19.1] = 11;
laskee[-19] = 0;
laskee[-18.8] = 2;
laskee[-18.7] = 1;
laskee[-18.6] = 14;
laskee[-18.4] = 3;
laskee[-18.3] = 3;
laskee[-18.2] = 15;
laskee[-18.1] = 6;
laskee[-18] = 0;
laskee[-17.9] = 0;
laskee[-17.8] = 15;
laskee[-17.7] = 0;
laskee[-17.5] = 1;
laskee[-17.4] = 15;
laskee[-17.3] = 0;
laskee[-17.2] = 31;
laskee[-17.1] = 0;
laskee[-16.9] = 0;
laskee[-16.7] = 5;
laskee[-16.6] = 0;
laskee[-16.5] = 0;
laskee[-16.4] = 2;
laskee[-16.3] = 6;
laskee[-16.2] = 1;
laskee[-16.1] = 0;
laskee[-16] = 21;
laskee[-15.9] = 0;
laskee[-15.7] = 1;
laskee[-15.6] = 2;
laskee[-15.3] = 16;
laskee[-15.2] = 17;
laskee[-15.1] = 9;
laskee[-15] = 15;
laskee[-14.9] = 11;
laskee[-14.8] = 8;
laskee[-14.7] = 4;
laskee[-14.5] = 6;
laskee[-14.4] = 5;
laskee[-14.3] = 6;
laskee[-14.2] = 10;
laskee[-14.1] = 4;
laskee[-14] = 3;
laskee[-13.9] = 8;
laskee[-13.8] = 3;
laskee[-13.7] = 3;
laskee[-13.6] = 8;
laskee[-13.5] = 7;
laskee[-13.4] = 6;
laskee[-13.3] = 3;
laskee[-13.2] = 1;
laskee[-13.1] = 9;
laskee[-13] = 1;
laskee[-12.9] = 4;
laskee[-12.8] = 5;
laskee[-12.7] = 7;
laskee[-12.6] = 2;
laskee[-12.5] = 5;
laskee[-12.4] = 8;
laskee[-12.3] = 1;
laskee[-12.2] = 1;
laskee[-12.1] = 3;
laskee[-12] = 2;
laskee[-11.9] = 0;
laskee[-11.8] = 11;
laskee[-11.7] = 0;
laskee[-11.6] = 4;
laskee[-11.5] = 0;
laskee[-11.4] = 1;
laskee[-11.3] = 7;
laskee[-11.2] = 3;
laskee[-11.1] = 3;
laskee[-11] = 1;
laskee[-10.9] = 0;
laskee[-10.8] = 6;
laskee[-10.7] = 3;
laskee[-10.6] = 2;
laskee[-10.5] = 3;
laskee[-10.4] = 3;
laskee[-10.3] = 0;
laskee[-10.2] = 1;
laskee[-10.1] = 1;
laskee[-10] = 0;
laskee[-9.9] = 1;
laskee[-9.8] = 2;
laskee[-9.7] = 3;
laskee[-9.6] = 1;
laskee[-9.5] = 2;
laskee[-9.4] = 4;
laskee[-9.3] = 2;
laskee[-9.2] = 4;
laskee[-9.1] = 2;
laskee[-9] = 5;
laskee[-8.9] = 6;
laskee[-8.8] = 7;
laskee[-8.7] = 9;
laskee[-8.6] = 7;
laskee[-8.5] = 5;
laskee[-8.4] = 3;
laskee[-8.3] = 3;
laskee[-8.2] = 2;
laskee[-8.1] = 10;
laskee[-8] = 5;
laskee[-7.9] = 0;
laskee[-7.8] = 3;
laskee[-7.7] = 1;
laskee[-7.6] = 2;
laskee[-7.5] = 3;
laskee[-7.4] = 3;
laskee[-7.3] = 2;
laskee[-7.2] = 5;
laskee[-7.1] = 4;
laskee[-7] = 8;
laskee[-6.9] = 1;
laskee[-6.8] = 1;
laskee[-6.7] = 5;
laskee[-6.6] = 7;
laskee[-6.5] = 2;
laskee[-6.4] = 8;
laskee[-6.3] = 6;
laskee[-6.2] = 4;
laskee[-6.1] = 3;
laskee[-6] = 3;
laskee[-5.9] = 3;
laskee[-5.8] = 4;
laskee[-5.7] = 6;
laskee[-5.6] = 7;
laskee[-5.5] = 4;
laskee[-5.4] = 2;
laskee[-5.3] = 6;
laskee[-5.2] = 3;
laskee[-5.1] = 4;
laskee[-5] = 2;
laskee[-4.9] = 6;
laskee[-4.8] = 4;
laskee[-4.7] = 3;
laskee[-4.6] = 0;
laskee[-4.5] = 2;
laskee[-4.4] = 6;
laskee[-4.3] = 3;
laskee[-4.2] = 4;
laskee[-4.1] = 4;
laskee[-4] = 4;
laskee[-3.9] = 5;
laskee[-3.8] = 4;
laskee[-3.7] = 3;
laskee[-3.6] = 9;
laskee[-3.5] = 1;
laskee[-3.4] = 5;
laskee[-3.3] = 4;
laskee[-3.2] = 5;
laskee[-3.1] = 2;
laskee[-3] = 3;
laskee[-2.9] = 5;
laskee[-2.8] = 5;
laskee[-2.7] = 4;
laskee[-2.6] = 4;
laskee[-2.5] = 4;
laskee[-2.4] = 6;
laskee[-2.3] = 4;
laskee[-2.2] = 5;
laskee[-2.1] = 4;
laskee[-2] = 5;
laskee[-1.9] = 4;
laskee[-1.8] = 4;
laskee[-1.7] = 6;
laskee[-1.6] = 4;
laskee[-1.5] = 4;
laskee[-1.4] = 2;
laskee[-1.3] = 5;
laskee[-1.2] = 5;
laskee[-1.1] = 3;
laskee[-1] = 5;
laskee[-0.9] = 4;
laskee[-0.8] = 3;
laskee[-0.7] = 3;
laskee[-0.6] = 5;
laskee[-0.5] = 5;
laskee[-0.4] = 3;
laskee[-0.3] = 3;
laskee[-0.2] = 4;
laskee[-0.1] = 5;
laskee[0] = 4;
laskee[0.1] = 4;
laskee[0.2] = 8;
laskee[0.3] = 6;
laskee[0.4] = 3;
laskee[0.5] = 4;
laskee[0.6] = 5;
laskee[0.7] = 5;
laskee[0.8] = 4;
laskee[0.9] = 4;
laskee[1] = 2;
laskee[1.1] = 3;
laskee[1.2] = 4;
laskee[1.3] = 6;
laskee[1.4] = 3;
laskee[1.5] = 4;
laskee[1.6] = 4;
laskee[1.7] = 3;
laskee[1.8] = 2;
laskee[1.9] = 3;
laskee[2] = 3;
laskee[2.1] = 3;
laskee[2.2] = 4;
laskee[2.3] = 3;
laskee[2.4] = 3;
laskee[2.5] = 3;
laskee[2.6] = 3;
laskee[2.7] = 3;
laskee[2.8] = 3;
laskee[2.9] = 2;
laskee[3] = 3;
laskee[3.1] = 2;
laskee[3.2] = 2;
laskee[3.3] = 4;
laskee[3.4] = 4;
laskee[3.5] = 3;
laskee[3.6] = 2;
laskee[3.7] = 2;
laskee[3.8] = 3;
laskee[3.9] = 4;
laskee[4] = 4;
laskee[4.1] = 1;
laskee[4.2] = 2;
laskee[4.3] = 2;
laskee[4.4] = 3;
laskee[4.5] = 4;
laskee[4.6] = 4;
laskee[4.7] = 3;
laskee[4.8] = 2;
laskee[4.9] = 2;
laskee[5] = 1;
laskee[5.1] = 4;
laskee[5.2] = 1;
laskee[5.3] = 2;
laskee[5.4] = 2;
laskee[5.5] = 2;
laskee[5.6] = 2;
laskee[5.7] = 2;
laskee[5.8] = 1;
laskee[5.9] = 3;
laskee[6] = 2;
laskee[6.1] = 1;
laskee[6.2] = 4;
laskee[6.3] = 3;
laskee[6.4] = 1;
laskee[6.5] = 1;
laskee[6.6] = 4;
laskee[6.7] = 1;
laskee[6.8] = 3;
laskee[6.9] = 2;
laskee[7] = 1;
laskee[7.1] = 2;
laskee[7.2] = 3;
laskee[7.3] = 2;
laskee[7.4] = 3;
laskee[7.5] = 1;
laskee[7.6] = 2;
laskee[7.7] = 3;
laskee[7.8] = 2;
laskee[7.9] = 2;
laskee[8] = 1;
laskee[8.1] = 1;
laskee[8.2] = 3;
laskee[8.3] = 3;
laskee[8.4] = 2;
laskee[8.5] = 2;
laskee[8.6] = 3;
laskee[8.7] = 2;
laskee[8.8] = 2;
laskee[8.9] = 2;
laskee[9] = 2;
laskee[9.1] = 3;
laskee[9.2] = 2;
laskee[9.3] = 1;
laskee[9.4] = 2;
laskee[9.5] = 2;
laskee[9.6] = 1;
laskee[9.7] = 1;
laskee[9.8] = 2;
laskee[9.9] = 4;
laskee[10] = 2;
laskee[10.1] = 2;
laskee[10.2] = 1;
laskee[10.3] = 2;
laskee[10.4] = 2;
laskee[10.5] = 2;
laskee[10.6] = 2;
laskee[10.7] = 1;
laskee[10.8] = 3;
laskee[10.9] = 2;
laskee[11] = 2;
laskee[11.1] = 1;
laskee[11.2] = 1;
laskee[11.3] = 2;
laskee[11.4] = 1;
laskee[11.5] = 2;
laskee[11.6] = 2;
laskee[11.7] = 2;
laskee[11.8] = 2;
laskee[11.9] = 2;
laskee[12] = 3;
laskee[12.1] = 1;
laskee[12.2] = 3;
laskee[12.3] = 3;
laskee[12.4] = 2;
laskee[12.5] = 3;
laskee[12.6] = 3;
laskee[12.7] = 2;
laskee[12.8] = 2;
laskee[12.9] = 1;
laskee[13] = 2;
laskee[13.1] = 2;
laskee[13.2] = 1;
laskee[13.3] = 2;
laskee[13.4] = 2;
laskee[13.5] = 2;
laskee[13.6] = 2;
laskee[13.7] = 3;
laskee[13.8] = 2;
laskee[13.9] = 2;
laskee[14] = 1;
laskee[14.1] = 2;
laskee[14.2] = 3;
laskee[14.3] = 2;
laskee[14.4] = 2;
laskee[14.5] = 2;
laskee[14.6] = 2;
laskee[14.7] = 2;
laskee[14.8] = 2;
laskee[14.9] = 2;
laskee[15] = 2;
laskee[15.1] = 1;
laskee[15.2] = 2;
laskee[15.3] = 2;
laskee[15.4] = 2;
laskee[15.5] = 2;
laskee[15.6] = 2;
laskee[15.7] = 3;
laskee[15.8] = 2;
laskee[15.9] = 2;
laskee[16] = 2;
laskee[16.1] = 2;
laskee[16.2] = 2;
laskee[16.3] = 2;
laskee[16.4] = 2;
laskee[16.5] = 2;
laskee[16.6] = 1;
laskee[16.7] = 1;
laskee[16.8] = 2;
laskee[16.9] = 1;
laskee[17] = 1;
laskee[17.1] = 1;
laskee[17.2] = 1;
laskee[17.3] = 2;
laskee[17.4] = 3;
laskee[17.5] = 1;
laskee[17.6] = 1;
laskee[17.7] = 2;
laskee[17.8] = 2;
laskee[17.9] = 1;
laskee[18] = 1;
laskee[18.1] = 1;
laskee[18.2] = 1;
laskee[18.3] = 1;
laskee[18.4] = 1;
laskee[18.5] = 1;
laskee[18.6] = 2;
laskee[18.7] = 1;
laskee[18.8] = 2;
laskee[18.9] = 2;
laskee[19] = 1;
laskee[19.1] = 1;
laskee[19.2] = 1;
laskee[19.3] = 1;
laskee[19.4] = 0;
laskee[19.5] = 2;
laskee[19.6] = 1;
laskee[19.7] = 2;
laskee[19.8] = 1;
laskee[19.9] = 1;
laskee[20] = 1;
laskee[20.1] = 1;
laskee[20.2] = 2;
laskee[20.3] = 1;
laskee[20.4] = 1;
laskee[20.5] = 2;
laskee[20.6] = 1;
laskee[20.7] = 2;
laskee[20.8] = 1;
laskee[20.9] = 1;
laskee[21] = 2;
laskee[21.1] = 1;
laskee[21.2] = 1;
laskee[21.3] = 0;
laskee[21.4] = 1;
laskee[21.5] = 1;
laskee[21.6] = 1;
laskee[21.7] = 2;
laskee[21.8] = 1;
laskee[21.9] = 1;
laskee[22] = 2;
laskee[22.1] = 1;
laskee[22.2] = 1;
laskee[22.3] = 1;
laskee[22.4] = 1;
laskee[22.5] = 2;
laskee[22.6] = 1;
laskee[22.7] = 1;
laskee[22.8] = 0;
laskee[22.9] = 2;
laskee[23] = 1;
laskee[23.1] = 2;
laskee[23.2] = 1;
laskee[23.3] = 1;
laskee[23.4] = 1;
laskee[23.5] = 2;
laskee[23.6] = 1;
laskee[23.7] = 1;
laskee[23.8] = 1;
laskee[23.9] = 1;
laskee[24] = 2;
laskee[24.1] = 0;
laskee[24.2] = 1;
laskee[24.3] = 1;
laskee[24.4] = 1;
laskee[24.5] = 1;
laskee[24.6] = 1;
laskee[24.7] = 1;
laskee[24.8] = 1;
laskee[24.9] = 1;
laskee[25] = 1;
laskee[25.1] = 1;
laskee[25.2] = 2;
laskee[25.3] = 1;
laskee[25.4] = 2;
laskee[25.5] = 1;
laskee[25.6] = 2;
laskee[25.7] = 1;
laskee[25.8] = 1;
laskee[25.9] = 1;
laskee[26] = 2;
laskee[26.1] = 1;
laskee[26.2] = 1;
laskee[26.3] = 3;
laskee[26.4] = 2;
laskee[26.5] = 0;
laskee[26.6] = 2;
laskee[26.7] = 2;
laskee[26.8] = 2;
laskee[26.9] = 2;
laskee[27] = 1;
laskee[27.1] = 2;
laskee[27.3] = 2;
laskee[27.4] = 0;
laskee[27.5] = 0;
laskee[27.6] = 0;
laskee[27.7] = 2;
laskee[27.8] = 2;
laskee[27.9] = 1;
laskee[28] = 0;
laskee[28.1] = 2;
laskee[28.2] = 2;
laskee[28.3] = 2;
laskee[28.4] = 2;
laskee[28.5] = 1;
laskee[28.6] = 3;
laskee[28.7] = 2;
laskee[28.8] = 1;
laskee[28.9] = 1;
laskee[29] = 1;
laskee[29.3] = 3;
laskee[29.5] = 2;
laskee[29.6] = 1;
laskee[29.7] = 0;
laskee[29.8] = 1;
laskee[29.9] = 1;
laskee[30] = 1;
laskee[30.1] = 0;
laskee[30.5] = 3;
laskee[30.6] = 2;
laskee[30.8] = 2;
laskee[30.9] = 0;
laskee[31.2] = 0;
laskee[31.3] = 2;
laskee[31.4] = 1;
laskee[31.5] = 2;
laskee[32.6] = 2;
int n;
cin >> n;
int raja = 35;
float kerroin = 0.7;
while(n--){
float t[24], alin = 1e9, ylin = -1e9;
for(int i = 0; i < 24; i++){
cin >> t[i];
alin = min(alin, t[i]);
ylin = max(ylin, t[i]);
}
if(alin < -raja || ylin > raja){
for(int i = 0; i < 12; i++) cout << "? ";
cout << "\n";
continue;
}
float vaihtelu = (ylin - alin);
if(vaihtelu <= 0.5){
for(int i = 0; i < 12; i++) cout << (ylin - alin)/2 << " ";
cout << "\n";
continue;
}
int q = vaihtelu - 1;
float x = t[23];
for(int i = 0; i < 12; i++){
if(i <= laskee[x] && laskee[x] < 6){
cout << x << " ";
}
else if(i < 12 - q){
x -= m[round(x * 10) / 10] * vaihtelu * kerroin;
cout << round(x * 10) / 10 << " ";
}
else cout << "? ";
}
cout << "\n";
}
}