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*g[4]*p[2]*p[5]+6300*g[1]*g[2]*g[4]*p[3]*p[4]+3360*g[1]*g[3]^2*p[2]*p[5]+2800*g[1]*g[3]^2*p[3]*p[4]+10080*g[1]*g[6]*p[1]^2*p[5]-4200*g[1]*g[6]*p[2]^2*p[3]-4200*g[2]^2*g[3]*p[1]*p[6]+12096*g[2]*g[5]*p[1]^2*p[5]+7560*g[2]*g[5]*p[1]*p[2]*p[4]+3360*g[2]*g[5]*p[1]*p[3]^2+10080*g[3]*g[4]*p[1]^2*p[5]+6300*g[3]*g[4]*p[1]*p[2]*p[4]+2800*g[3]*g[4]*p[1]*p[3]^2-10800*g[7]*p[1]^3*p[4]-14400*g[7]*p[1]^2*p[2]*p[3]-1800*g[7]*p[1]*p[2]^3-17280*g[1]^2*g[5]*p[7]-10800*g[1]*g[2]*g[4]*p[7]-4800*g[1]*g[3]^2*p[7]+10080*g[1]*g[6]*p[2]*p[5]+8400*g[1]*g[6]*p[3]*p[4]-10080*g[2]*g[5]*p[1]*p[6]-8400*g[3]*g[4]*p[1]*p[6]+17280*g[7]*p[1]^2*p[5]+10800*g[7]*p[1]*p[2]*p[4]+4800*g[7]*p[1]*p[3]^2-14400*g[1]*g[6]*p[7]-14400*g[7]*p[1]*p[6])/(g[1]^7+21*g[1]^5*g[2]+70*g[1]^4*g[3]+105*g[1]^3*g[2]^2+210*g[1]^3*g[4]+420*g[1]^2*g[2]*g[3]+105*g[1]*g[2]^3+504*g[1]^2*g[5]+630*g[1]*g[2]*g[4]+280*g[1]*g[3]^2+210*g[2]^2*g[3]+840*g[1]*g[6]+504*g[2]*g[5]+420*g[3]*g[4]+720*g[7]): KerduKost([1, 1, 1, 2, 2],[1, 1, 1, 1, 1, 1, 1]):=10*(2*g[1]^11*g[2]+15*g[1]^10*g[3]+16*g[1]^9*g[2]^2+56*g[1]^9*g[4]+105*g[1]^8*g[2]*g[3]+24*g[1]^7*g[2]^3+120*g[1]^8*g[5]+252*g[1]^7*g[2]*g[4]+24*g[1]^7*g[3]^2+252*g[1]^6*g[2]^2*g[3]-168*g[1]^5*g[2]^4+72*g[1]^7*g[6]+588*g[1]^6*g[2]*g[5]+42*g[1]^6*g[3]*g[4]+504*g[1]^5*g[2]*g[3]^2-840*g[1]^4*g[2]^3*g[3]-210*g[1]^3*g[2]^5-168*g[1]^6*g[7]+672*g[1]^5*g[2]*g[6]+840*g[1]^5*g[3]*g[5]-756*g[1]^4*g[2]^2*g[5]-630*g[1]^4*g[2]*g[3]*g[4]+420*g[1]^4*g[3]^3-420*g[1]^3*g[2]^3*g[4]-840*g[1]^3*g[2]^2*g[3]^2-1155*g[1]^2*g[2]^4*g[3]-1080*g[1]^4*g[2]*g[7]+1260*g[1]^4*g[3]*g[6]+504*g[1]^4*g[4]*g[5]+840*g[1]^3*g[2]^2*g[6]-1680*g[1]^3*g[2]*g[3]*g[5]-1764*g[1]^2*g[2]^3*g[5]-1890*g[1]^2*g[2]^2*g[3]*g[4]+280*g[1]^2*g[2]*g[3]^3-840*g[1]*g[2]^3*g[3]^2-105*g[2]^5*g[3]-960*g[1]^3*g[3]*g[7]+1680*g[1]^3*g[4]*g[6]-1080*g[1]^2*g[2]^2*g[7]+840*g[1]^2*g[2]*g[3]*g[6]-1512*g[1]^2*g[2]*g[4]*g[5]+336*g[1]^2*g[3]^2*g[5]-1512*g[1]*g[2]^2*g[3]*g[5]-252*g[2]^4*g[5]-210*g[2]^3*g[3]*g[4]+140*g[2]^2*g[3]^3+1008*g[1]^2*g[5]*g[6]+1008*g[1]*g[3]*g[4]*g[5]-360*g[2]^3*g[7]+420*g[2]^2*g[3]*g[6]+336*g[2]*g[3]^2*g[5]+280*g[3]^3*g[4]+1728*g[1]*g[5]*g[7]+1008*g[2]*g[5]*g[6]+480*g[3]^2*g[7]+840*g[3]*g[4]*g[6]+1440*g[6]*g[7])/(2*g[1]^11*g[2]+15*g[1]^10*g[3]+40*g[1]^9*g[2]^2+80*g[1]^9*g[4]+285*g[1]^8*g[2]*g[3]+300*g[1]^7*g[2]^3+300*g[1]^8*g[5]+960*g[1]^7*g[2]*g[4]+240*g[1]^7*g[3]^2+2310*g[1]^6*g[2]^2*g[3]+840*g[1]^5*g[2]^4+720*g[1]^7*g[6]+2856*g[1]^6*g[2]*g[5]+840*g[1]^6*g[3]*g[4]+5040*g[1]^5*g[2]^2*g[4]+5040*g[1]^5*g[2]*g[3]^2+5250*g[1]^4*g[2]^3*g[3]+1050*g[1]^3*g[2]^5+840*g[1]^6*g[7]+6720*g[1]^5*g[2]*g[6]+3360*g[1]^5*g[3]*g[5]+7560*g[1]^4*g[2]^2*g[5]+16800*g[1]^4*g[2]*g[3]*g[4]+4200*g[1]^4*g[3]^3+8400*g[1]^3*g[2]^3*g[4]+8400*g[1]^3*g[2]^2*g[3]^2+5775*g[1]^2*g[2]^4*g[3]+9000*g[1]^4*g[2]*g[7]+12600*g[1]^4*g[3]*g[6]+2520*g[1]^4*g[4]*g[5]+8400*g[1]^3*g[2]^2*g[6]+13440*g[1]^3*g[2]*g[3]*g[5]+12600*g[1]^3*g[2]*g[4]^2+16800*g[1]^3*g[3]^2*g[4]+12600*g[1]^2*g[2]^3*g[5]+25200*g[1]^2*g[2]^2*g[3]*g[4]+2800*g[1]^2*g[2]*g[3]^3+8400*g[1]*g[2]^3*g[3]^2+525*g[2]^5*g[3]+19200*g[1]^3*g[3]*g[7]+16800*g[1]^3*g[4]*g[6]+16200*g[1]^2*g[2]^2*g[7]+8400*g[1]^2*g[2]*g[3]*g[6]+30240*g[1]^2*g[2]*g[4]*g[5]+3360*g[1]^2*g[3]^2*g[5]+18900*g[1]^2*g[3]*g[4]^2+30240*g[1]*g[2]^2*g[3]*g[5]+16800*g[1]*g[2]*g[3]^2*g[4]+1260*g[2]^4*g[5]+4200*g[2]^3*g[3]*g[4]+1400*g[2]^2*g[3]^3+32400*g[1]^2*g[4]*g[7]+10080*g[1]^2*g[5]*g[6]+28800*g[1]*g[2]*g[3]*g[7]+24192*g[1]*g[2]*g[5]^2+20160*g[1]*g[3]*g[4]*g[5]+1800*g[2]^3*g[7]+4200*g[2]^2*g[3]*g[6]+7560*g[2]^2*g[4]*g[5]+3360*g[2]*g[3]^2*g[5]+6300*g[2]*g[3]*g[4]^2+2800*g[3]^3*g[4]+34560*g[1]*g[5]*g[7]+10800*g[2]*g[4]*g[7]+10080*g[2]*g[5]*g[6]+4800*g[3]^2*g[7]+8400*g[3]*g[4]*g[6]+14400*g[6]*g[7]): KerduKost([1, 1, 1, 2, 2],[1, 1, 1, 1, 1, 2]):=-4*(2*g[1]^11*g[2]+15*g[1]^10*g[3]+30*g[1]^9*g[2]^2+70*g[1]^9*g[4]+210*g[1]^8*g[2]*g[3]+150*g[1]^7*g[2]^3+225*g[1]^8*g[5]+630*g[1]^7*g[2]*g[4]+150*g[1]^7*g[3]^2+1050*g[1]^6*g[2]^2*g[3]+210*g[1]^5*g[2]^4+450*g[1]^7*g[6]+1596*g[1]^6*g[2]*g[5]+420*g[1]^6*g[3]*g[4]+1890*g[1]^5*g[2]^2*g[4]+1680*g[1]^5*g[2]*g[3]^2+1050*g[1]^4*g[2]^3*g[3]+420*g[1]^6*g[7]+2940*g[1]^5*g[2]*g[6]+1260*g[1]^5*g[3]*g[5]+2520*g[1]^4*g[2]^2*g[5]+3150*g[1]^4*g[2]*g[3]*g[4]+1050*g[1]^4*g[3]^3+1050*g[1]^3*g[2]^3*g[4]+1050*g[1]^3*g[2]^2*g[3]^2-525*g[1]^2*g[2]^4*g[3]+2700*g[1]^4*g[2]*g[7]+3150*g[1]^4*g[3]*g[6]+630*g[1]^4*g[4]*g[5]+3150*g[1]^3*g[2]^2*g[6]+840*g[1]^3*g[2]*g[3]*g[5]+2100*g[1]^3*g[3]^2*g[4]+700*g[1]^2*g[2]*g[3]^3-2100*g[1]*g[2]^3*g[3]^2+2400*g[1]^3*g[3]*g[7]+2100*g[1]^3*g[4]*g[6]+2700*g[1]^2*g[2]^2*g[7]+2100*g[1]^2*g[2]*g[3]*g[6]-3780*g[1]^2*g[2]*g[4]*g[5]-6300*g[1]*g[2]^2*g[3]*g[5]+315*g[2]^4*g[5]-1050*g[2]^3*g[3]*g[4]-1050*g[2]^2*g[3]^3-6048*g[1]*g[2]*g[5]^2-2520*g[1]*g[3]*g[4]*g[5]+900*g[2]^3*g[7]-3150*g[2]^2*g[3]*g[6]-1890*g[2]^2*g[4]*g[5]-1680*g[2]*g[3]^2*g[5]-700*g[3]^3*g[4]-4320*g[1]*g[5]*g[7]-5040*g[2]*g[5]*g[6]-1200*g[3]^2*g[7]-2100*g[3]*g[4]*g[6]-3600*g[6]*g[7])/(2*g[1]^11*g[2]+15*g[1]^10*g[3]+40*g[1]^9*g[2]^2+80*g[1]^9*g[4]+285*g[1]^8*g[2]*g[3]+300*g[1]^7*g[2]^3+300*g[1]^8*g[5]+960*g[1]^7*g[2]*g[4]+240*g[1]^7*g[3]^2+2310*g[1]^6*g[2]^2*g[3]+840*g[1]^5*g[2]^4+720*g[1]^7*g[6]+2856*g[1]^6*g[2]*g[5]+840*g[1]^6*g[3]*g[4]+5040*g[1]^5*g[2]^2*g[4]+5040*g[1]^5*g[2]*g[3]^2+5250*g[1]^4*g[2]^3*g[3]+1050*g[1]^3*g[2]^5+840*g[1]^6*g[7]+6720*g[1]^5*g[2]*g[6]+3360*g[1]^5*g[3]*g[5]+7560*g[1]^4*g[2]^2*g[5]+16800*g[1]^4*g[2]*g[3]*g[4]+4200*g[1]^4*g[3]^3+8400*g[1]^3*g[2]^3*g[4]+8400*g[1]^3*g[2]^2*g[3]^2+5775*g[1]^2*g[2]^4*g[3]+9000*g[1]^4*g[2]*g[7]+12600*g[1]^4*g[3]*g[6]+2520*g[1]^4*g[4]*g[5]+8400*g[1]^3*g[2]^2*g[6]+13440*g[1]^3*g[2]*g[3]*g[5]+12600*g[1]^3*g[2]*g[4]^2+16800*g[1]^3*g[3]^2*g[4]+12600*g[1]^2*g[2]^3*g[5]+25200*g[1]^2*g[2]^2*g[3]*g[4]+2800*g[1]^2*g[2]*g[3]^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*g[7]*p[2]*p[5]-14400*g[2]^2*g[3]*g[6]*p[7]-12960*g[2]^2*g[4]*g[5]*p[7]-5760*g[2]*g[3]^2*g[5]*p[7]+21600*g[2]*g[4]*g[7]*p[1]*p[6]-12960*g[2]*g[4]*g[7]*p[2]*p[5]+10080*g[2]*g[5]*g[6]*p[3]*p[4]-5760*g[3]^2*g[7]*p[2]*p[5]-10080*g[3]*g[4]*g[6]*p[2]*p[5]+17280*g[6]*g[7]*p[1]^2*p[5]+21600*g[6]*g[7]*p[1]*p[2]*p[4]+14400*g[6]*g[7]*p[2]^2*p[3]-17280*g[2]*g[5]*g[6]*p[7]-17280*g[6]*g[7]*p[2]*p[5])/(2*g[1]^11*g[2]+15*g[1]^10*g[3]+40*g[1]^9*g[2]^2+80*g[1]^9*g[4]+285*g[1]^8*g[2]*g[3]+300*g[1]^7*g[2]^3+300*g[1]^8*g[5]+960*g[1]^7*g[2]*g[4]+240*g[1]^7*g[3]^2+2310*g[1]^6*g[2]^2*g[3]+840*g[1]^5*g[2]^4+720*g[1]^7*g[6]+2856*g[1]^6*g[2]*g[5]+840*g[1]^6*g[3]*g[4]+5040*g[1]^5*g[2]^2*g[4]+5040*g[1]^5*g[2]*g[3]^2+5250*g[1]^4*g[2]^3*g[3]+1050*g[1]^3*g[2]^5+840*g[1]^6*g[7]+6720*g[1]^5*g[2]*g[6]+3360*g[1]^5*g[3]*g[5]+7560*g[1]^4*g[2]^2*g[5]+16800*g[1]^4*g[2]*g[3]*g[4]+4200*g[1]^4*g[3]^3+8400*g[1]^3*g[2]^3*g[4]+8400*g[1]^3*g[2]^2*g[3]^2+5775*g[1]^2*g[2]^4*g[3]+9000*g[1]^4*g[2]*g[7]+12600*g[1]^4*g[3]*g[6]+2520*g[1]^4*g[4]*g[5]+8400*g[1]^3*g[2]^2*g[6]+13440*g[1]^3*g[2]*g[3]*g[5]+12600*g[1]^3*g[2]*g[4]^2+16800*g[1]^3*g[3]^2*g[4]+12600*g[1]^2*g[2]^3*g[5]+25200*g[1]^2*g[2]^2*g[3]*g[4]+2800*g[1]^2*g[2]*g[3]^3+8400*g[1]*g[2]^3*g[3]^2+525*g[2]^5*g[3]+19200*g[1]^3*g[3]*g[7]+16800*g[1]^3*g[4]*g[6]+16200*g[1]^2*g[2]^2*g[7]+8400*g[1]^2*g[2]*g[3]*g[6]+30240*g[1]^2*g[2]*g[4]*g[5]+3360*g[1]^2*g[3]^2*g[5]+18900*g[1]^2*g[3]*g[4]^2+30240*g[1]*g[2]^2*g[3]*g[5]+16800*g[1]*g[2]*g[3]^2*g[4]+1260*g[2]^4*g[5]+4200*g[2]^3*g[3]*g[4]+1400*g[2]^2*g[3]^3+32400*g[1]^2*g[4]*g[7]+10080*g[1]^2*g[5]*g[6]+28800*g[1]*g[2]*g[3]*g[7]+24192*g[1]*g[2]*g[5]^2+20160*g[1]*g[3]*g[4]*g[5]+1800*g[2]^3*g[7]+4200*g[2]^2*g[3]*g[6]+7560*g[2]^2*g[4]*g[5]+3360*g[2]*g[3]^2*g[5]+6300*g[2]*g[3]*g[4]^2+2800*g[3]^3*g[4]+34560*g[1]*g[5]*g[7]+10800*g[2]*g[4]*g[7]+10080*g[2]*g[5]*g[6]+4800*g[3]^2*g[7]+8400*g[3]*g[4]*g[6]+14400*g[6]*g[7]): KerduKost([1, 1, 1, 1, 3],[1, 1, 1, 1, 1, 1, 1]):=5*(4*g[1]^14*g[2]^3-6*g[1]^14*g[2]*g[4]+54*g[1]^13*g[2]^2*g[3]+36*g[1]^12*g[2]^4-30*g[1]^13*g[2]*g[5]-3*g[1]^13*g[3]*g[4]+134*g[1]^12*g[2]^2*g[4]+108*g[1]^12*g[2]*g[3]^2+380*g[1]^11*g[2]^3*g[3]+180*g[1]^10*g[2]^5-54*g[1]^12*g[2]*g[6]-45*g[1]^12*g[3]*g[5]+90*g[1]^11*g[2]^2*g[5]+540*g[1]^11*g[2]*g[3]*g[4]-81*g[1]^11*g[3]^3+1068*g[1]^10*g[2]^3*g[4]+594*g[1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*g[7]+2160*g[2]^3*g[3]*g[4]*g[7]+504*g[2]^3*g[3]*g[5]*g[6]+960*g[2]^2*g[3]^3*g[7]+1680*g[2]^2*g[3]^2*g[4]*g[6]+756*g[2]^2*g[3]*g[4]^2*g[5]+336*g[2]*g[3]^3*g[4]*g[5]-1728*g[1]^2*g[5]*g[6]*g[7]+2160*g[1]*g[2]*g[4]*g[6]*g[7]+2880*g[2]^2*g[3]*g[6]*g[7]+1296*g[2]^2*g[4]*g[5]*g[7]+576*g[2]*g[3]^2*g[5]*g[7]+1008*g[2]*g[3]*g[4]*g[5]*g[6]+1728*g[2]*g[5]*g[6]*g[7])/(4*g[1]^14*g[2]^3+2*g[1]^14*g[2]*g[4]+66*g[1]^13*g[2]^2*g[3]+36*g[1]^12*g[2]^4+30*g[1]^13*g[2]*g[5]+15*g[1]^13*g[3]*g[4]+190*g[1]^12*g[2]^2*g[4]+324*g[1]^12*g[2]*g[3]^2+488*g[1]^11*g[2]^3*g[3]+180*g[1]^10*g[2]^5+162*g[1]^12*g[2]*g[6]+225*g[1]^12*g[3]*g[5]+270*g[1]^11*g[2]^2*g[5]+1846*g[1]^11*g[2]*g[3]*g[4]+405*g[1]^11*g[3]^3+1500*g[1]^10*g[2]^3*g[4]+1710*g[1]^10*g[2]^2*g[3]^2+2160*g[1]^9*g[2]^4*g[3]+420*g[1]^8*g[2]^6+336*g[1]^11*g[2]*g[7]+1215*g[1]^11*g[3]*g[6]+300*g[1]^11*g[4]*g[5]+360*g[1]^10*g[2]^2*g[6]+2700*g[1]^10*g[2]*g[3]*g[5]+2940*g[1]^10*g[2]*g[4]^2+2430*g[1]^10*g[3]^2*g[4]+3012*g[1]^9*g[2]^3*g[5]+10265*g[1]^9*g[2]^2*g[3]*g[4]+1215*g[1]^9*g[2]*g[3]^3+4260*g[1]^8*g[2]^4*g[4]+6540*g[1]^8*g[2]^3*g[3]^2+5760*g[1]^7*g[2]^5*g[3]+2520*g[1]^10*g[3]*g[7]+2880*g[1]^10*g[4]*g[6]+1680*g[1]^9*g[2]^2*g[7]+3645*g[1]^9*g[2]*g[3]*g[6]+10956*g[1]^9*g[2]*g[4]*g[5]+900*g[1]^9*g[3]^2*g[5]+4410*g[1]^9*g[3]*g[4]^2+1020*g[1]^8*g[2]^3*g[6]+19413*g[1]^8*g[2]^2*g[3]*g[5]+11340*g[1]^8*g[2]^2*g[4]^2+11730*g[1]^8*g[2]*g[3]^2*g[4]+11268*g[1]^7*g[2]^4*g[5]+25740*g[1]^7*g[2]^3*g[3]*g[4]+2970*g[1]^7*g[2]^2*g[3]^3+3570*g[1]^6*g[2]^5*g[4]+22680*g[1]^6*g[2]^4*g[3]^2+2310*g[1]^5*g[2]^6*g[3]+7560*g[1]^9*g[4]*g[7]+2700*g[1]^9*g[5]*g[6]+12600*g[1]^8*g[2]*g[3]*g[7]+11040*g[1]^8*g[2]*g[4]*g[6]+11520*g[1]^8*g[2]*g[5]^2+7560*g[1]^8*g[3]*g[4]*g[5]+2880*g[1]^7*g[2]^3*g[7]+8910*g[1]^7*g[2]^2*g[3]*g[6]+48960*g[1]^7*g[2]^2*g[4]*g[5]+8712*g[1]^7*g[2]*g[3]^2*g[5]+22680*g[1]^7*g[2]*g[3]*g[4]^2+2520*g[1]^7*g[3]^3*g[4]+7560*g[1]^6*g[2]^4*g[6]+71064*g[1]^6*g[2]^3*g[3]*g[5]+6300*g[1]^6*g[2]^3*g[4]^2+28140*g[1]^6*g[2]^2*g[3]^2*g[4]+5670*g[1]^5*g[2]^5*g[5]+29505*g[1]^5*g[2]^4*g[3]*g[4]+28910*g[1]^5*g[2]^3*g[3]^3+3150*g[1]^4*g[2]^6*g[4]+12600*g[1]^4*g[2]^5*g[3]^2+12600*g[1]^8*g[5]*g[7]+31680*g[1]^7*g[2]*g[4]*g[7]+21096*g[1]^7*g[2]*g[5]*g[6]+2520*g[1]^7*g[3]^2*g[7]+7560*g[1]^7*g[3]*g[4]*g[6]+27360*g[1]^6*g[2]^2*g[3]*g[7]+13440*g[1]^6*g[2]^2*g[4]*g[6]+60480*g[1]^6*g[2]^2*g[5]^2+64008*g[1]^6*g[2]*g[3]*g[4]*g[5]+2520*g[1]^6*g[3]^3*g[5]+6300*g[1]^6*g[3]^2*g[4]^2+720*g[1]^5*g[2]^4*g[7]+53130*g[1]^5*g[2]^3*g[3]*g[6]+50400*g[1]^5*g[2]^3*g[4]*g[5]+68040*g[1]^5*g[2]^2*g[3]^2*g[5]+15120*g[1]^5*g[2]^2*g[3]*g[4]^2+17920*g[1]^5*g[2]*g[3]^3*g[4]+9450*g[1]^4*g[2]^5*g[6]+44415*g[1]^4*g[2]^4*g[3]*g[5]+6300*g[1]^4*g[2]^4*g[4]^2+44100*g[1]^4*g[2]^3*g[3]^2*g[4]+16800*g[1]^4*g[2]^2*g[3]^4+630*g[1]^3*g[2]^6*g[5]+19950*g[1]^3*g[2]^5*g[3]*g[4]+17325*g[1]^3*g[2]^4*g[3]^3+1050*g[1]^2*g[2]^6*g[3]^2+7560*g[1]^7*g[6]*g[7]+62928*g[1]^6*g[2]*g[5]*g[7]+10800*g[1]^6*g[3]*g[4]*g[7]+7560*g[1]^6*g[3]*g[5]*g[6]+25920*g[1]^5*g[2]^2*g[4]*g[7]+68040*g[1]^5*g[2]^2*g[5]*g[6]+24120*g[1]^5*g[2]*g[3]^2*g[7]+36960*g[1]^5*g[2]*g[3]*g[4]*g[6]+50400*g[1]^5*g[2]*g[3]*g[5]^2+7560*g[1]^5*g[2]*g[4]^2*g[5]+27720*g[1]^5*g[3]^2*g[4]*g[5]+28800*g[1]^4*g[2]^3*g[3]*g[7]+25200*g[1]^4*g[2]^3*g[4]*g[6]+48384*g[1]^4*g[2]^3*g[5]^2+50400*g[1]^4*g[2]^2*g[3]^2*g[6]+70560*g[1]^4*g[2]^2*g[3]*g[4]*g[5]+24360*g[1]^4*g[2]*g[3]^3*g[5]+6300*g[1]^4*g[2]*g[3]^2*g[4]^2+8400*g[1]^4*g[3]^4*g[4]+3600*g[1]^3*g[2]^5*g[7]+51975*g[1]^3*g[2]^4*g[3]*g[6]+23940*g[1]^3*g[2]^4*g[4]*g[5]+32760*g[1]^3*g[2]^3*g[3]^2*g[5]+25200*g[1]^3*g[2]^3*g[3]*g[4]^2+39200*g[1]^3*g[2]^2*g[3]^3*g[4]+11340*g[1]^2*g[2]^5*g[3]*g[5]+24150*g[1]^2*g[2]^4*g[3]^2*g[4]+11200*g[1]^2*g[2]^3*g[3]^4+1575*g[1]*g[2]^6*g[3]*g[4]+1575*g[1]*g[2]^5*g[3]^3+43560*g[1]^5*g[2]*g[6]*g[7]+46080*g[1]^5*g[3]*g[5]*g[7]+2520*g[1]^5*g[4]*g[5]*g[6]+58320*g[1]^4*g[2]^2*g[5]*g[7]+3600*g[1]^4*g[2]*g[3]*g[4]*g[7]+73080*g[1]^4*g[2]*g[3]*g[5]*g[6]+12600*g[1]^4*g[2]*g[4]^2*g[6]+24192*g[1]^4*g[2]*g[4]*g[5]^2+14400*g[1]^4*g[3]^3*g[7]+25200*g[1]^4*g[3]^2*g[4]*g[6]+11340*g[1]^4*g[3]*g[4]^2*g[5]+21600*g[1]^3*g[2]^3*g[4]*g[7]+73080*g[1]^3*g[2]^3*g[5]*g[6]+34200*g[1]^3*g[2]^2*g[3]^2*g[7]+84000*g[1]^3*g[2]^2*g[3]*g[4]*g[6]+12096*g[1]^3*g[2]^2*g[3]*g[5]^2+7560*g[1]^3*g[2]^2*g[4]^2*g[5]+40320*g[1]^3*g[2]*g[3]^2*g[4]*g[5]+6300*g[1]^3*g[3]^3*g[4]^2+30600*g[1]^2*g[2]^4*g[3]*g[7]+12096*g[1]^2*g[2]^4*g[5]^2+33600*g[1]^2*g[2]^3*g[3]^2*g[6]+32760*g[1]^2*g[2]^3*g[3]*g[4]*g[5]+22680*g[1]^2*g[2]^2*g[3]^3*g[5]+18900*g[1]^2*g[2]^2*g[3]^2*g[4]^2+5600*g[1]^2*g[2]*g[3]^4*g[4]+4725*g[1]*g[2]^5*g[3]*g[6]+3780*g[1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g[3]*g[4]*g[5]*g[6]+16200*g[1]*g[2]^3*g[6]*g[7]+51840*g[1]*g[2]^2*g[3]*g[5]*g[7]+7560*g[1]*g[2]^2*g[4]*g[5]*g[6]+3600*g[1]*g[2]*g[3]^2*g[4]*g[7]+6300*g[1]*g[2]*g[3]*g[4]^2*g[6]+12096*g[1]*g[2]*g[3]*g[4]*g[5]^2+1080*g[2]^4*g[5]*g[7]+10800*g[2]^3*g[3]*g[4]*g[7]+2520*g[2]^3*g[3]*g[5]*g[6]+4800*g[2]^2*g[3]^3*g[7]+8400*g[2]^2*g[3]^2*g[4]*g[6]+3780*g[2]^2*g[3]*g[4]^2*g[5]+1680*g[2]*g[3]^3*g[4]*g[5]+8640*g[1]^2*g[5]*g[6]*g[7]+10800*g[1]*g[2]*g[4]*g[6]*g[7]+20736*g[1]*g[2]*g[5]^2*g[7]+14400*g[2]^2*g[3]*g[6]*g[7]+6480*g[2]^2*g[4]*g[5]*g[7]+2880*g[2]*g[3]^2*g[5]*g[7]+5040*g[2]*g[3]*g[4]*g[5]*g[6]+8640*g[2]*g[5]*g[6]*g[7]): KerduKost([1, 1, 1, 1, 3],[1, 1, 1, 1, 1, 2]):=-2*(2*g[1]^14*g[2]^2-7*g[1]^14*g[4]+42*g[1]^13*g[2]*g[3]+18*g[1]^12*g[2]^3-45*g[1]^13*g[5]+95*g[1]^12*g[2]*g[4]+135*g[1]^12*g[3]^2+346*g[1]^11*g[2]^2*g[3]+90*g[1]^10*g[2]^4-135*g[1]^12*g[6]-45*g[1]^11*g[2]*g[5]+877*g[1]^11*g[3]*g[4]+990*g[1]^10*g[2]^2*g[4]+810*g[1]^10*g[2]*g[3]^2+1530*g[1]^9*g[2]^3*g[3]+210*g[1]^8*g[2]^5-168*g[1]^11*g[7]-900*g[1]^10*g[2]*g[6]+1305*g[1]^10*g[3]*g[5]+1470*g[1]^10*g[4]^2+2046*g[1]^9*g[2]^2*g[5]+4585*g[1]^9*g[2]*g[3]*g[4]-135*g[1]^9*g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g[5]*g[7]-7560*g[1]*g[2]*g[4]*g[5]*g[6]-3600*g[1]*g[3]^2*g[4]*g[7]-6300*g[1]*g[3]*g[4]^2*g[6]-6048*g[1]*g[3]*g[4]*g[5]^2-1080*g[2]^3*g[5]*g[7]-10800*g[2]^2*g[3]*g[4]*g[7]-2520*g[2]^2*g[3]*g[5]*g[6]-4800*g[2]*g[3]^3*g[7]-8400*g[2]*g[3]^2*g[4]*g[6]-3780*g[2]*g[3]*g[4]^2*g[5]-1680*g[3]^3*g[4]*g[5]-10800*g[1]*g[4]*g[6]*g[7]-10368*g[1]*g[5]^2*g[7]-14400*g[2]*g[3]*g[6]*g[7]-6480*g[2]*g[4]*g[5]*g[7]-2880*g[3]^2*g[5]*g[7]-5040*g[3]*g[4]*g[5]*g[6]-8640*g[5]*g[6]*g[7])*g[2]/(4*g[1]^14*g[2]^3+2*g[1]^14*g[2]*g[4]+66*g[1]^13*g[2]^2*g[3]+36*g[1]^12*g[2]^4+30*g[1]^13*g[2]*g[5]+15*g[1]^13*g[3]*g[4]+190*g[1]^12*g[2]^2*g[4]+324*g[1]^12*g[2]*g[3]^2+488*g[1]^11*g[2]^3*g[3]+180*g[1]^10*g[2]^5+162*g[1]^12*g[2]*g[6]+225*g[1]^12*g[3]*g[5]+270*g[1]^11*g[2]^2*g[5]+1846*g[1]^11*g[2]*g[3]*g[4]+405*g[1]^11*g[3]^3+1500*g[1]^10*g[2]^3*g[4]+1710*g[1]^10*g[2]^2*g[3]^2+2160*g[1]^9*g[2]^4*g[3]+420*g[1]^8*g[2]^6+336*g[1]^11*g[2]*g[7]+1215*g[1]^11*g[3]*g[6]+300*g[1]^11*g[4]*g[5]+360*g[1]^10*g[2]^2*g[6]+2700*g[1]^10*g[2]*g[3]*g[5]+2940*g[1]^10*g[2]*g[4]^2+2430*g[1]^10*g[3]^2*g[4]+3012*g[1]^9*g[2]^3*g[5]+10265*g[1]^9*g[2]^2*g[3]*g[4]+1215*g[1]^9*g[2]*g[3]^3+4260*g[1]^8*g[2]^4*g[4]+6540*g[1]^8*g[2]^3*g[3]^2+5760*g[1]^7*g[2]^5*g[3]+2520*g[1]^10*g[3]*g[7]+2880*g[1]^10*g[4]*g[6]+1680*g[1]^9*g[2]^2*g[7]+3645*g[1]^9*g[2]*g[3]*g[6]+10956*g[1]^9*g[2]*g[4]*g[5]+900*g[1]^9*g[3]^2*g[5]+4410*g[1]^9*g[3]*g[4]^2+1020*g[1]^8*g[2]^3*g[6]+19413*g[1]^8*g[2]^2*g[3]*g[5]+11340*g[1]^8*g[2]^2*g[4]^2+11730*g[1]^8*g[2]*g[3]^2*g[4]+11268*g[1]^7*g[2]^4*g[5]+25740*g[1]^7*g[2]^3*g[3]*g[4]+2970*g[1]^7*g[2]^2*g[3]^3+3570*g[1]^6*g[2]^5*g[4]+22680*g[1]^6*g[2]^4*g[3]^2+2310*g[1]^5*g[2]^6*g[3]+7560*g[1]^9*g[4]*g[7]+2700*g[1]^9*g[5]*g[6]+12600*g[1]^8*g[2]*g[3]*g[7]+11040*g[1]^8*g[2]*g[4]*g[6]+11520*g[1]^8*g[2]*g[5]^2+7560*g[1]^8*g[3]*g[4]*g[5]+2880*g[1]^7*g[2]^3*g[7]+8910*g[1]^7*g[2]^2*g[3]*g[6]+48960*g[1]^7*g[2]^2*g[4]*g[5]+8712*g[1]^7*g[2]*g[3]^2*g[5]+22680*g[1]^7*g[2]*g[3]*g[4]^2+2520*g[1]^7*g[3]^3*g[4]+7560*g[1]^6*g[2]^4*g[6]+71064*g[1]^6*g[2]^3*g[3]*g[5]+6300*g[1]^6*g[2]^3*g[4]^2+28140*g[1]^6*g[2]^2*g[3]^2*g[4]+5670*g[1]^5*g[2]^5*g[5]+29505*g[1]^5*g[2]^4*g[3]*g[4]+28910*g[1]^5*g[2]^3*g[3]^3+3150*g[1]^4*g[2]^6*g[4]+12600*g[1]^4*g[2]^5*g[3]^2+12600*g[1]^8*g[5]*g[7]+31680*g[1]^7*g[2]*g[4]*g[7]+21096*g[1]^7*g[2]*g[5]*g[6]+2520*g[1]^7*g[3]^2*g[7]+7560*g[1]^7*g[3]*g[4]*g[6]+27360*g[1]^6*g[2]^2*g[3]*g[7]+13440*g[1]^6*g[2]^2*g[4]*g[6]+60480*g[1]^6*g[2]^2*g[5]^2+64008*g[1]^6*g[2]*g[3]*g[4]*g[5]+2520*g[1]^6*g[3]^3*g[5]+6300*g[1]^6*g[3]^2*g[4]^2+720*g[1]^5*g[2]^4*g[7]+53130*g[1]^5*g[2]^3*g[3]*g[6]+50400*g[1]^5*g[2]^3*g[4]*g[5]+68040*g[1]^5*g[2]^2*g[3]^2*g[5]+15120*g[1]^5*g[2]^2*g[3]*g[4]^2+17920*g[1]^5*g[2]*g[3]^3*g[4]+9450*g[1]^4*g[2]^5*g[6]+44415*g[1]^4*g[2]^4*g[3]*g[5]+6300*g[1]^4*g[2]^4*g[4]^2+44100*g[1]^4*g[2]^3*g[3]^2*g[4]+16800*g[1]^4*g[2]^2*g[3]^4+630*g[1]^3*g[2]^6*g[5]+19950*g[1]^3*g[2]^5*g[3]*g[4]+17325*g[1]^3*g[2]^4*g[3]^3+1050*g[1]^2*g[2]^6*g[3]^2+7560*g[1]^7*g[6]*g[7]+62928*g[1]^6*g[2]*g[5]*g[7]+10800*g[1]^6*g[3]*g[4]*g[7]+7560*g[1]^6*g[3]*g[5]*g[6]+25920*g[1]^5*g[2]^2*g[4]*g[7]+68040*g[1]^5*g[2]^2*g[5]*g[6]+24120*g[1]^5*g[2]*g[3]^2*g[7]+36960*g[1]^5*g[2]*g[3]*g[4]*g[6]+50400*g[1]^5*g[2]*g[3]*g[5]^2+7560*g[1]^5*g[2]*g[4]^2*g[5]+27720*g[1]^5*g[3]^2*g[4]*g[5]+28800*g[1]^4*g[2]^3*g[3]*g[7]+25200*g[1]^4*g[2]^3*g[4]*g[6]+48384*g[1]^4*g[2]^3*g[5]^2+50400*g[1]^4*g[2]^2*g[3]^2*g[6]+70560*g[1]^4*g[2]^2*g[3]*g[4]*g[5]+24360*g[1]^4*g[2]*g[3]^3*g[5]+6300*g[1]^4*g[2]*g[3]^2*g[4]^2+8400*g[1]^4*g[3]^4*g[4]+3600*g[1]^3*g[2]^5*g[7]+51975*g[1]^3*g[2]^4*g[3]*g[6]+23940*g[1]^3*g[2]^4*g[4]*g[5]+32760*g[1]^3*g[2]^3*g[3]^2*g[5]+25200*g[1]^3*g[2]^3*g[3]*g[4]^2+39200*g[1]^3*g[2]^2*g[3]^3*g[4]+11340*g[1]^2*g[2]^5*g[3]*g[5]+24150*g[1]^2*g[2]^4*g[3]^2*g[4]+11200*g[1]^2*g[2]^3*g[3]^4+1575*g[1]*g[2]^6*g[3]*g[4]+1575*g[1]*g[2]^5*g[3]^3+43560*g[1]^5*g[2]*g[6]*g[7]+46080*g[1]^5*g[3]*g[5]*g[7]+2520*g[1]^5*g[4]*g[5]*g[6]+58320*g[1]^4*g[2]^2*g[5]*g[7]+3600*g[1]^4*g[2]*g[3]*g[4]*g[7]+73080*g[1]^4*g[2]*g[3]*g[5]*g[6]+12600*g[1]^4*g[2]*g[4]^2*g[6]+24192*g[1]^4*g[2]*g[4]*g[5]^2+14400*g[1]^4*g[3]^3*g[7]+25200*g[1]^4*g[3]^2*g[4]*g[6]+11340*g[1]^4*g[3]*g[4]^2*g[5]+21600*g[1]^3*g[2]^3*g[4]*g[7]+73080*g[1]^3*g[2]^3*g[5]*g[6]+34200*g[1]^3*g[2]^2*g[3]^2*g[7]+84000*g[1]^3*g[2]^2*g[3]*g[4]*g[6]+12096*g[1]^3*g[2]^2*g[3]*g[5]^2+7560*g[1]^3*g[2]^2*g[4]^2*g[5]+40320*g[1]^3*g[2]*g[3]^2*g[4]*g[5]+6300*g[1]^3*g[3]^3*g[4]^2+30600*g[1]^2*g[2]^4*g[3]*g[7]+12096*g[1]^2*g[2]^4*g[5]^2+33600*g[1]^2*g[2]^3*g[3]^2*g[6]+32760*g[1]^2*g[2]^3*g[3]*g[4]*g[5]+22680*g[1]^2*g[2]^2*g[3]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7]+25920*g[1]^2*g[2]*g[4]*g[5]*g[7]+24192*g[1]^2*g[2]*g[5]^2*g[6]+2880*g[1]^2*g[3]^2*g[5]*g[7]+5040*g[1]^2*g[3]*g[4]*g[5]*g[6]+16200*g[1]*g[2]^3*g[6]*g[7]+51840*g[1]*g[2]^2*g[3]*g[5]*g[7]+7560*g[1]*g[2]^2*g[4]*g[5]*g[6]+3600*g[1]*g[2]*g[3]^2*g[4]*g[7]+6300*g[1]*g[2]*g[3]*g[4]^2*g[6]+12096*g[1]*g[2]*g[3]*g[4]*g[5]^2+1080*g[2]^4*g[5]*g[7]+10800*g[2]^3*g[3]*g[4]*g[7]+2520*g[2]^3*g[3]*g[5]*g[6]+4800*g[2]^2*g[3]^3*g[7]+8400*g[2]^2*g[3]^2*g[4]*g[6]+3780*g[2]^2*g[3]*g[4]^2*g[5]+1680*g[2]*g[3]^3*g[4]*g[5]+8640*g[1]^2*g[5]*g[6]*g[7]+10800*g[1]*g[2]*g[4]*g[6]*g[7]+20736*g[1]*g[2]*g[5]^2*g[7]+14400*g[2]^2*g[3]*g[6]*g[7]+6480*g[2]^2*g[4]*g[5]*g[7]+2880*g[2]*g[3]^2*g[5]*g[7]+5040*g[2]*g[3]*g[4]*g[5]*g[6]+8640*g[2]*g[5]*g[6]*g[7]): KerduKost([1, 1, 1, 1, 3],[1, 1, 1, 2, 2]):=-(4*g[1]^14*g[2]^3+6*g[1]^14*g[2]*g[4]+54*g[1]^13*g[2]^2*g[3]+36*g[1]^12*g[2]^4+60*g[1]^13*g[2]*g[5]+15*g[1]^13*g[3]*g[4]+170*g[1]^12*g[2]^2*g[4]+270*g[1]^12*g[2]*g[3]^2+332*g[1]^11*g[2]^3*g[3]+180*g[1]^10*g[2]^5+270*g[1]^12*g[2]*g[6]+225*g[1]^12*g[3]*g[5]+360*g[1]^11*g[2]^2*g[5]+1404*g[1]^11*g[2]*g[3]*g[4]+405*g[1]^11*g[3]^3+1020*g[1]^10*g[2]^3*g[4]+1080*g[1]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g[4]^2-2800*g[2]^2*g[3]^4*g[4]+32400*g[1]^3*g[4]*g[6]*g[7]-38880*g[1]^2*g[2]*g[4]*g[5]*g[7]+2880*g[1]^2*g[3]^2*g[5]*g[7]+5040*g[1]^2*g[3]*g[4]*g[5]*g[6]-16200*g[1]*g[2]^3*g[6]*g[7]-51840*g[1]*g[2]^2*g[3]*g[5]*g[7]-7560*g[1]*g[2]^2*g[4]*g[5]*g[6]-3600*g[1]*g[2]*g[3]^2*g[4]*g[7]-6300*g[1]*g[2]*g[3]*g[4]^2*g[6]-12096*g[1]*g[2]*g[3]*g[4]*g[5]^2-1080*g[2]^4*g[5]*g[7]-10800*g[2]^3*g[3]*g[4]*g[7]-2520*g[2]^3*g[3]*g[5]*g[6]-4800*g[2]^2*g[3]^3*g[7]-8400*g[2]^2*g[3]^2*g[4]*g[6]-3780*g[2]^2*g[3]*g[4]^2*g[5]-1680*g[2]*g[3]^3*g[4]*g[5]+8640*g[1]^2*g[5]*g[6]*g[7]-10800*g[1]*g[2]*g[4]*g[6]*g[7]-20736*g[1]*g[2]*g[5]^2*g[7]-14400*g[2]^2*g[3]*g[6]*g[7]-6480*g[2]^2*g[4]*g[5]*g[7]-2880*g[2]*g[3]^2*g[5]*g[7]-5040*g[2]*g[3]*g[4]*g[5]*g[6]-8640*g[2]*g[5]*g[6]*g[7])/(4*g[1]^14*g[2]^3+2*g[1]^14*g[2]*g[4]+66*g[1]^13*g[2]^2*g[3]+36*g[1]^12*g[2]^4+30*g[1]^13*g[2]*g[5]+15*g[1]^13*g[3]*g[4]+190*g[1]^12*g[2]^2*g[4]+324*g[1]^12*g[2]*g[3]^2+488*g[1]^11*g[2]^3*g[3]+180*g[1]^10*g[2]^5+162*g[1]^12*g[2]*g[6]+225*g[1]^12*g[3]*g[5]+270*g[1]^11*g[2]^2*g[5]+1846*g[1]^11*g[2]*g[3]*g[4]+405*g[1]^11*g[3]^3+1500*g[1]^10*g[2]^3*g[4]+1710*g[1]^10*g[2]^2*g[3]^2+2160*g[1]^9*g[2]^4*g[3]+420*g[1]^8*g[2]^6+336*g[1]^11*g[2]*g[7]+1215*g[1]^11*g[3]*g[6]+300*g[1]^11*g[4]*g[5]+360*g[1]^10*g[2]^2*g[6]+2700*g[1]^10*g[2]*g[3]*g[5]+2940*g[1]^10*g[2]*g[4]^2+2430*g[1]^10*g[3]^2*g[4]+3012*g[1]^9*g[2]^3*g[5]+10265*g[1]^9*g[2]^2*g[3]*g[4]+1215*g[1]^9*g[2]*g[3]^3+4260*g[1]^8*g[2]^4*g[4]+6540*g[1]^8*g[2]^3*g[3]^2+5760*g[1]^7*g[2]^5*g[3]+2520*g[1]^10*g[3]*g[7]+2880*g[1]^10*g[4]*g[6]+1680*g[1]^9*g[2]^2*g[7]+3645*g[1]^9*g[2]*g[3]*g[6]+10956*g[1]^9*g[2]*g[4]*g[5]+900*g[1]^9*g[3]^2*g[5]+4410*g[1]^9*g[3]*g[4]^2+1020*g[1]^8*g[2]^3*g[6]+19413*g[1]^8*g[2]^2*g[3]*g[5]+11340*g[1]^8*g[2]^2*g[4]^2+11730*g[1]^8*g[2]*g[3]^2*g[4]+11268*g[1]^7*g[2]^4*g[5]+25740*g[1]^7*g[2]^3*g[3]*g[4]+2970*g[1]^7*g[2]^2*g[3]^3+3570*g[1]^6*g[2]^5*g[4]+22680*g[1]^6*g[2]^4*g[3]^2+2310*g[1]^5*g[2]^6*g[3]+7560*g[1]^9*g[4]*g[7]+2700*g[1]^9*g[5]*g[6]+12600*g[1]^8*g[2]*g[3]*g[7]+11040*g[1]^8*g[2]*g[4]*g[6]+11520*g[1]^8*g[2]*g[5]^2+7560*g[1]^8*g[3]*g[4]*g[5]+2880*g[1]^7*g[2]^3*g[7]+8910*g[1]^7*g[2]^2*g[3]*g[6]+48960*g[1]^7*g[2]^2*g[4]*g[5]+8712*g[1]^7*g[2]*g[3]^2*g[5]+22680*g[1]^7*g[2]*g[3]*g[4]^2+2520*g[1]^7*g[3]^3*g[4]+7560*g[1]^6*g[2]^4*g[6]+71064*g[1]^6*g[2]^3*g[3]*g[5]+6300*g[1]^6*g[2]^3*g[4]^2+28140*g[1]^6*g[2]^2*g[3]^2*g[4]+5670*g[1]^5*g[2]^5*g[5]+29505*g[1]^5*g[2]^4*g[3]*g[4]+28910*g[1]^5*g[2]^3*g[3]^3+3150*g[1]^4*g[2]^6*g[4]+12600*g[1]^4*g[2]^5*g[3]^2+12600*g[1]^8*g[5]*g[7]+31680*g[1]^7*g[2]*g[4]*g[7]+21096*g[1]^7*g[2]*g[5]*g[6]+2520*g[1]^7*g[3]^2*g[7]+7560*g[1]^7*g[3]*g[4]*g[6]+27360*g[1]^6*g[2]^2*g[3]*g[7]+13440*g[1]^6*g[2]^2*g[4]*g[6]+60480*g[1]^6*g[2]^2*g[5]^2+64008*g[1]^6*g[2]*g[3]*g[4]*g[5]+2520*g[1]^6*g[3]^3*g[5]+6300*g[1]^6*g[3]^2*g[4]^2+720*g[1]^5*g[2]^4*g[7]+53130*g[1]^5*g[2]^3*g[3]*g[6]+50400*g[1]^5*g[2]^3*g[4]*g[5]+68040*g[1]^5*g[2]^2*g[3]^2*g[5]+15120*g[1]^5*g[2]^2*g[3]*g[4]^2+17920*g[1]^5*g[2]*g[3]^3*g[4]+9450*g[1]^4*g[2]^5*g[6]+44415*g[1]^4*g[2]^4*g[3]*g[5]+6300*g[1]^4*g[2]^4*g[4]^2+44100*g[1]^4*g[2]^3*g[3]^2*g[4]+16800*g[1]^4*g[2]^2*g[3]^4+630*g[1]^3*g[2]^6*g[5]+19950*g[1]^3*g[2]^5*g[3]*g[4]+17325*g[1]^3*g[2]^4*g[3]^3+1050*g[1]^2*g[2]^6*g[3]^2+7560*g[1]^7*g[6]*g[7]+62928*g[1]^6*g[2]*g[5]*g[7]+10800*g[1]^6*g[3]*g[4]*g[7]+7560*g[1]^6*g[3]*g[5]*g[6]+25920*g[1]^5*g[2]^2*g[4]*g[7]+68040*g[1]^5*g[2]^2*g[5]*g[6]+24120*g[1]^5*g[2]*g[3]^2*g[7]+36960*g[1]^5*g[2]*g[3]*g[4]*g[6]+50400*g[1]^5*g[2]*g[3]*g[5]^2+7560*g[1]^5*g[2]*g[4]^2*g[5]+27720*g[1]^5*g[3]^2*g[4]*g[5]+28800*g[1]^4*g[2]^3*g[3]*g[7]+25200*g[1]^4*g[2]^3*g[4]*g[6]+48384*g[1]^4*g[2]^3*g[5]^2+50400*g[1]^4*g[2]^2*g[3]^2*g[6]+70560*g[1]^4*g[2]^2*g[3]*g[4]*g[5]+24360*g[1]^4*g[2]*g[3]^3*g[5]+6300*g[1]^4*g[2]*g[3]^2*g[4]^2+8400*g[1]^4*g[3]^4*g[4]+3600*g[1]^3*g[2]^5*g[7]+51975*g[1]^3*g[2]^4*g[3]*g[6]+23940*g[1]^3*g[2]^4*g[4]*g[5]+32760*g[1]^3*g[2]^3*g[3]^2*g[5]+25200*g[1]^3*g[2]^3*g[3]*g[4]^2+39200*g[1]^3*g[2]^2*g[3]^3*g[4]+11340*g[1]^2*g[2]^5*g[3]*g[5]+24150*g[1]^2*g[2]^4*g[3]^2*g[4]+11200*g[1]^2*g[2]^3*g[3]^4+1575*g[1]*g[2]^6*g[3]*g[4]+1575*g[1]*g[2]^5*g[3]^3+43560*g[1]^5*g[2]*g[6]*g[7]+46080*g[1]^5*g[3]*g[5]*g[7]+2520*g[1]^5*g[4]*g[5]*g[6]+58320*g[1]^4*g[2]^2*g[5]*g[7]+3600*g[1]^4*g[2]*g[3]*g[4]*g[7]+73080*g[1]^4*g[2]*g[3]*g[5]*g[6]+12600*g[1]^4*g[2]*g[4]^2*g[6]+24192*g[1]^4*g[2]*g[4]*g[5]^2+14400*g[1]^4*g[3]^3*g[7]+25200*g[1]^4*g[3]^2*g[4]*g[6]+11340*g[1]^4*g[3]*g[4]^2*g[5]+21600*g[1]^3*g[2]^3*g[4]*g[7]+73080*g[1]^3*g[2]^3*g[5]*g[6]+34200*g[1]^3*g[2]^2*g[3]^2*g[7]+84000*g[1]^3*g[2]^2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g[1]^2*g[2]^6*g[3]^2*p[1]^5*p[2]+2295*g[1]^2*g[2]^5*g[3]*g[5]*p[1]^7+3420*g[1]^2*g[2]^4*g[3]^2*g[4]*p[1]^7+1360*g[1]^2*g[2]^3*g[3]^4*p[1]^7+315*g[1]*g[2]^6*g[3]*g[4]*p[1]^7+315*g[1]*g[2]^5*g[3]^3*p[1]^7-1296*g[1]^12*g[2]*g[6]*p[7]+2160*g[1]^11*g[2]^2*g[5]*p[7]+21600*g[1]^11*g[2]*g[3]*g[4]*p[7]-2016*g[1]^11*g[2]*g[7]*p[1]*p[6]+2016*g[1]^11*g[2]*g[7]*p[2]*p[5]+5832*g[1]^11*g[3]*g[6]*p[2]*p[5]+1440*g[1]^11*g[4]*g[5]*p[2]*p[5]+30240*g[1]^10*g[2]^3*g[4]*p[7]+21600*g[1]^10*g[2]^2*g[3]^2*p[7]+9504*g[1]^10*g[2]^2*g[6]*p[2]*p[5]+5040*g[1]^10*g[2]^2*g[6]*p[3]*p[4]-15840*g[1]^10*g[2]*g[3]*g[5]*p[1]*p[6]-7560*g[1]^10*g[2]*g[3]*g[5]*p[2]*p[5]-15120*g[1]^10*g[2]*g[3]*g[5]*p[3]*p[4]-20160*g[1]^10*g[2]*g[4]^2*p[1]*p[6]-9072*g[1]^10*g[2]*g[4]^2*p[2]*p[5]-17640*g[1]^10*g[2]*g[4]^2*p[3]*p[4]+11664*g[1]^10*g[3]^2*g[4]*p[2]*p[5]-15120*g[1]^10*g[3]*g[7]*p[1]*p[2]*p[4]-10080*g[1]^10*g[3]*g[7]*p[2]^2*p[3]-17280*g[1]^10*g[4]*g[6]*p[1]*p[2]*p[4]-11520*g[1]^10*g[4]*g[6]*p[2]^2*p[3]+43200*g[1]^9*g[2]^4*g[3]*p[7]-47088*g[1]^9*g[2]^3*g[5]*p[1]*p[6]-28512*g[1]^9*g[2]^3*g[5]*p[2]*p[5]-33768*g[1]^9*g[2]^3*g[5]*p[3]*p[4]-87840*g[1]^9*g[2]^2*g[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+58752*g[1]^7*g[2]*g[5]*g[6]*p[7]+36288*g[1]^7*g[6]*g[7]*p[2]*p[5]+172800*g[1]^6*g[2]^2*g[4]*g[6]*p[7]+311040*g[1]^6*g[2]^2*g[5]^2*p[7]+259200*g[1]^6*g[2]*g[3]*g[4]*g[5]*p[7]+41472*g[1]^6*g[2]*g[5]*g[7]*p[1]*p[6]+264384*g[1]^6*g[2]*g[5]*g[7]*p[2]*p[5]+51840*g[1]^6*g[3]*g[4]*g[7]*p[2]*p[5]+36288*g[1]^6*g[3]*g[5]*g[6]*p[2]*p[5]+460800*g[1]^5*g[2]^3*g[3]*g[6]*p[7]+336960*g[1]^5*g[2]^3*g[4]*g[5]*p[7]+518400*g[1]^5*g[2]^2*g[3]^2*g[5]*p[7]+77760*g[1]^5*g[2]^2*g[4]*g[7]*p[2]*p[5]-18144*g[1]^5*g[2]^2*g[5]*g[6]*p[2]*p[5]-181440*g[1]^5*g[2]^2*g[5]*g[6]*p[3]*p[4]+57600*g[1]^5*g[2]*g[3]^3*g[4]*p[7]-115200*g[1]^5*g[2]*g[3]^2*g[7]*p[1]*p[6]+155520*g[1]^5*g[2]*g[3]^2*g[7]*p[2]*p[5]-20160*g[1]^5*g[2]*g[3]*g[4]*g[6]*p[2]*p[5]-100800*g[1]^5*g[2]*g[3]*g[4]*g[6]*p[3]*p[4]-120960*g[1]^5*g[2]*g[3]*g[5]^2*p[1]*p[6]-161280*g[1]^5*g[2]*g[3]*g[5]^2*p[3]*p[4]-30240*g[1]^5*g[2]*g[4]^2*g[5]*p[1]*p[6]-36288*g[1]^5*g[2]*g[4]^2*g[5]*p[2]*p[5]-45360*g[1]^5*g[2]*g[4]^2*g[5]*p[3]*p[4]+19008*g[1]^5*g[2]*g[6]*g[7]*p[1]^2*p[5]-237600*g[1]^5*g[2]*g[6]*g[7]*p[1]*p[2]*p[4]-158400*g[1]^5*g[2]*g[6]*g[7]*p[2]^2*p[3]+133056*g[1]^5*g[3]^2*g[4]*g[5]*p[2]*p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*g[6]+225*g[1]^12*g[3]*g[5]+270*g[1]^11*g[2]^2*g[5]+1846*g[1]^11*g[2]*g[3]*g[4]+405*g[1]^11*g[3]^3+1500*g[1]^10*g[2]^3*g[4]+1710*g[1]^10*g[2]^2*g[3]^2+2160*g[1]^9*g[2]^4*g[3]+420*g[1]^8*g[2]^6+336*g[1]^11*g[2]*g[7]+1215*g[1]^11*g[3]*g[6]+300*g[1]^11*g[4]*g[5]+360*g[1]^10*g[2]^2*g[6]+2700*g[1]^10*g[2]*g[3]*g[5]+2940*g[1]^10*g[2]*g[4]^2+2430*g[1]^10*g[3]^2*g[4]+3012*g[1]^9*g[2]^3*g[5]+10265*g[1]^9*g[2]^2*g[3]*g[4]+1215*g[1]^9*g[2]*g[3]^3+4260*g[1]^8*g[2]^4*g[4]+6540*g[1]^8*g[2]^3*g[3]^2+5760*g[1]^7*g[2]^5*g[3]+2520*g[1]^10*g[3]*g[7]+2880*g[1]^10*g[4]*g[6]+1680*g[1]^9*g[2]^2*g[7]+3645*g[1]^9*g[2]*g[3]*g[6]+10956*g[1]^9*g[2]*g[4]*g[5]+900*g[1]^9*g[3]^2*g[5]+4410*g[1]^9*g[3]*g[4]^2+1020*g[1]^8*g[2]^3*g[6]+19413*g[1]^8*g[2]^2*g[3]*g[5]+11340*g[1]^8*g[2]^2*g[4]^2+11730*g[1]^8*g[2]*g[3]^2*g[4]+11268*g[1]^7*g[2]^4*g[5]+25740*g[1]^7*g[2]^3*g[3]*g[4]+2970*g[1]^7*g[2]^2*g[3]^3+3570*g[1]^6*g[2]^5*g[4]+22680*g[1]^6*g[2]^4*g[3]^2+2310*g[1]^5*g[2]^6*g[3]+7560*g[1]^9*g[4]*g[7]+2700*g[1]^9*g[5]*g[6]+12600*g[1]^8*g[2]*g[3]*g[7]+11040*g[1]^8*g[2]*g[4]*g[6]+11520*g[1]^8*g[2]*g[5]^2+7560*g[1]^8*g[3]*g[4]*g[5]+2880*g[1]^7*g[2]^3*g[7]+8910*g[1]^7*g[2]^2*g[3]*g[6]+48960*g[1]^7*g[2]^2*g[4]*g[5]+8712*g[1]^7*g[2]*g[3]^2*g[5]+22680*g[1]^7*g[2]*g[3]*g[4]^2+2520*g[1]^7*g[3]^3*g[4]+7560*g[1]^6*g[2]^4*g[6]+71064*g[1]^6*g[2]^3*g[3]*g[5]+6300*g[1]^6*g[2]^3*g[4]^2+28140*g[1]^6*g[2]^2*g[3]^2*g[4]+5670*g[1]^5*g[2]^5*g[5]+29505*g[1]^5*g[2]^4*g[3]*g[4]+28910*g[1]^5*g[2]^3*g[3]^3+3150*g[1]^4*g[2]^6*g[4]+12600*g[1]^4*g[2]^5*g[3]^2+12600*g[1]^8*g[5]*g[7]+31680*g[1]^7*g[2]*g[4]*g[7]+21096*g[1]^7*g[2]*g[5]*g[6]+2520*g[1]^7*g[3]^2*g[7]+7560*g[1]^7*g[3]*g[4]*g[6]+27360*g[1]^6*g[2]^2*g[3]*g[7]+13440*g[1]^6*g[2]^2*g[4]*g[6]+60480*g[1]^6*g[2]^2*g[5]^2+64008*g[1]^6*g[2]*g[3]*g[4]*g[5]+2520*g[1]^6*g[3]^3*g[5]+6300*g[1]^6*g[3]^2*g[4]^2+720*g[1]^5*g[2]^4*g[7]+53130*g[1]^5*g[2]^3*g[3]*g[6]+50400*g[1]^5*g[2]^3*g[4]*g[5]+68040*g[1]^5*g[2]^2*g[3]^2*g[5]+15120*g[1]^5*g[2]^2*g[3]*g[4]^2+17920*g[1]^5*g[2]*g[3]^3*g[4]+9450*g[1]^4*g[2]^5*g[6]+44415*g[1]^4*g[2]^4*g[3]*g[5]+6300*g[1]^4*g[2]^4*g[4]^2+44100*g[1]^4*g[2]^3*g[3]^2*g[4]+16800*g[1]^4*g[2]^2*g[3]^4+630*g[1]^3*g[2]^6*g[5]+19950*g[1]^3*g[2]^5*g[3]*g[4]+17325*g[1]^3*g[2]^4*g[3]^3+1050*g[1]^2*g[2]^6*g[3]^2+7560*g[1]^7*g[6]*g[7]+62928*g[1]^6*g[2]*g[5]*g[7]+10800*g[1]^6*g[3]*g[4]*g[7]+7560*g[1]^6*g[3]*g[5]*g[6]+25920*g[1]^5*g[2]^2*g[4]*g[7]+68040*g[1]^5*g[2]^2*g[5]*g[6]+24120*g[1]^5*g[2]*g[3]^2*g[7]+36960*g[1]^5*g[2]*g[3]*g[4]*g[6]+50400*g[1]^5*g[2]*g[3]*g[5]^2+7560*g[1]^5*g[2]*g[4]^2*g[5]+27720*g[1]^5*g[3]^2*g[4]*g[5]+28800*g[1]^4*g[2]^3*g[3]*g[7]+25200*g[1]^4*g[2]^3*g[4]*g[6]+48384*g[1]^4*g[2]^3*g[5]^2+50400*g[1]^4*g[2]^2*g[3]^2*g[6]+70560*g[1]^4*g[2]^2*g[3]*g[4]*g[5]+24360*g[1]^4*g[2]*g[3]^3*g[5]+6300*g[1]^4*g[2]*g[3]^2*g[4]^2+8400*g[1]^4*g[3]^4*g[4]+3600*g[1]^3*g[2]^5*g[7]+51975*g[1]^3*g[2]^4*g[3]*g[6]+23940*g[1]^3*g[2]^4*g[4]*g[5]+32760*g[1]^3*g[2]^3*g[3]^2*g[5]+25200*g[1]^3*g[2]^3*g[3]*g[4]^2+39200*g[1]^3*g[2]^2*g[3]^3*g[4]+11340*g[1]^2*g[2]^5*g[3]*g[5]+24150*g[1]^2*g[2]^4*g[3]^2*g[4]+11200*g[1]^2*g[2]^3*g[3]^4+1575*g[1]*g[2]^6*g[3]*g[4]+1575*g[1]*g[2]^5*g[3]^3+43560*g[1]^5*g[2]*g[6]*g[7]+46080*g[1]^5*g[3]*g[5]*g[7]+2520*g[1]^5*g[4]*g[5]*g[6]+58320*g[1]^4*g[2]^2*g[5]*g[7]+3600*g[1]^4*g[2]*g[3]*g[4]*g[7]+73080*g[1]^4*g[2]*g[3]*g[5]*g[6]+12600*g[1]^4*g[2]*g[4]^2*g[6]+24192*g[1]^4*g[2]*g[4]*g[5]^2+14400*g[1]^4*g[3]^3*g[7]+25200*g[1]^4*g[3]^2*g[4]*g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4]*g[5]*g[6]+8640*g[2]*g[5]*g[6]*g[7]): KerduKost([1, 2, 2, 2],[1, 1, 1, 1, 1, 1, 1]):=-4*(6*g[1]^16*g[2]^2*g[3]+3*g[1]^16*g[3]*g[4]+32*g[1]^15*g[2]^2*g[4]+54*g[1]^15*g[2]*g[3]^2+45*g[1]^15*g[3]*g[5]+120*g[1]^14*g[2]^2*g[5]+222*g[1]^14*g[2]*g[3]*g[4]+81*g[1]^14*g[3]^3-96*g[1]^13*g[2]^3*g[4]+408*g[1]^13*g[2]^2*g[3]^2-288*g[1]^12*g[2]^4*g[3]+108*g[1]^14*g[3]*g[6]+60*g[1]^14*g[4]*g[5]+168*g[1]^13*g[2]^2*g[6]+900*g[1]^13*g[2]*g[3]*g[5]+48*g[1]^13*g[2]*g[4]^2+231*g[1]^13*g[3]^2*g[4]+341*g[1]^12*g[2]^2*g[3]*g[4]+1674*g[1]^12*g[2]*g[3]^3-1536*g[1]^11*g[2]^4*g[4]-216*g[1]^11*g[2]^3*g[3]^2-888*g[1]^10*g[2]^5*g[3]-126*g[1]^13*g[3]*g[7]+216*g[1]^13*g[4]*g[6]-84*g[1]^12*g[2]^2*g[7]+2592*g[1]^12*g[2]*g[3]*g[6]+720*g[1]^12*g[2]*g[4]*g[5]+1080*g[1]^12*g[3]^2*g[5]-18*g[1]^12*g[3]*g[4]^2+432*g[1]^11*g[2]^3*g[6]-1587*g[1]^11*g[2]^2*g[3]*g[5]-720*g[1]^11*g[2]^2*g[4]^2+3756*g[1]^11*g[2]*g[3]^2*g[4]+1620*g[1]^11*g[3]^4-2520*g[1]^10*g[2]^4*g[5]-4404*g[1]^10*g[2]^3*g[3]*g[4]+4707*g[1]^10*g[2]^2*g[3]^3-3840*g[1]^9*g[2]^5*g[4]-4320*g[1]^9*g[2]^4*g[3]^2-270*g[1]^8*g[2]^6*g[3]-378*g[1]^12*g[4]*g[7]+90*g[1]^12*g[5]*g[6]-1260*g[1]^11*g[2]*g[3]*g[7]+5568*g[1]^11*g[2]*g[4]*g[6]-900*g[1]^11*g[2]*g[5]^2+2970*g[1]^11*g[3]^2*g[6]+1794*g[1]^11*g[3]*g[4]*g[5]-756*g[1]^10*g[2]^3*g[7]+5976*g[1]^10*g[2]^2*g[3]*g[6]-7344*g[1]^10*g[2]^2*g[4]*g[5]+2322*g[1]^10*g[2]*g[3]^2*g[5]-336*g[1]^10*g[2]*g[3]*g[4]^2+6714*g[1]^10*g[3]^3*g[4]+1080*g[1]^9*g[2]^4*g[6]-21420*g[1]^9*g[2]^3*g[3]*g[5]-720*g[1]^9*g[2]^3*g[4]^2+9215*g[1]^9*g[2]^2*g[3]^2*g[4]+4590*g[1]^9*g[2]*g[3]^4-7200*g[1]^8*g[2]^5*g[5]-21555*g[1]^8*g[2]^4*g[3]*g[4]+6480*g[1]^8*g[2]^3*g[3]^3-2790*g[1]^7*g[2]^5*g[3]^2-630*g[1]^11*g[5]*g[7]-2646*g[1]^10*g[2]*g[4]*g[7]+3060*g[1]^10*g[2]*g[5]*g[6]+1134*g[1]^10*g[3]^2*g[7]+8352*g[1]^10*g[3]*g[4]*g[6]-270*g[1]^10*g[3]*g[5]^2+900*g[1]^10*g[4]^2*g[5]-9330*g[1]^9*g[2]^2*g[3]*g[7]+17880*g[1]^9*g[2]^2*g[4]*g[6]-11520*g[1]^9*g[2]^2*g[5]^2+4860*g[1]^9*g[2]*g[3]^2*g[6]-3294*g[1]^9*g[2]*g[3]*g[4]*g[5]+3618*g[1]^9*g[3]^3*g[5]+7290*g[1]^9*g[3]^2*g[4]^2+1260*g[1]^8*g[2]^4*g[7]+6480*g[1]^8*g[2]^3*g[3]*g[6]-40968*g[1]^8*g[2]^3*g[4]*g[5]+2124*g[1]^8*g[2]^2*g[3]^2*g[5]-6480*g[1]^8*g[2]^2*g[3]*g[4]^2+23850*g[1]^8*g[2]*g[3]^3*g[4]-58329*g[1]^7*g[2]^4*g[3]*g[5]+5040*g[1]^7*g[2]^4*g[4]^2-2880*g[1]^7*g[2]^3*g[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g[4]+81*g[1]^14*g[3]^3+384*g[1]^13*g[2]^3*g[4]+768*g[1]^13*g[2]^2*g[3]^2+612*g[1]^12*g[2]^4*g[3]+243*g[1]^14*g[3]*g[6]+60*g[1]^14*g[4]*g[5]+288*g[1]^13*g[2]^2*g[6]+1575*g[1]^13*g[2]*g[3]*g[5]+768*g[1]^13*g[2]*g[4]^2+546*g[1]^13*g[3]^2*g[4]+1200*g[1]^12*g[2]^3*g[5]+5141*g[1]^12*g[2]^2*g[3]*g[4]+1674*g[1]^12*g[2]*g[3]^3+2304*g[1]^11*g[2]^4*g[4]+4374*g[1]^11*g[2]^3*g[3]^2+2412*g[1]^10*g[2]^5*g[3]+504*g[1]^13*g[3]*g[7]+576*g[1]^13*g[4]*g[6]+336*g[1]^12*g[2]^2*g[7]+5022*g[1]^12*g[2]*g[3]*g[6]+4320*g[1]^12*g[2]*g[4]*g[5]+1080*g[1]^12*g[3]^2*g[5]+972*g[1]^12*g[3]*g[4]^2+2592*g[1]^11*g[2]^3*g[6]+12543*g[1]^11*g[2]^2*g[3]*g[5]+8640*g[1]^11*g[2]^2*g[4]^2+11136*g[1]^11*g[2]*g[3]^2*g[4]+1620*g[1]^11*g[3]^4+6480*g[1]^10*g[2]^4*g[5]+24141*g[1]^10*g[2]^3*g[3]*g[4]+8217*g[1]^10*g[2]^2*g[3]^3+7680*g[1]^9*g[2]^5*g[4]+17280*g[1]^9*g[2]^4*g[3]^2+4590*g[1]^8*g[2]^6*g[3]+1512*g[1]^12*g[4]*g[7]+540*g[1]^12*g[5]*g[6]+10080*g[1]^11*g[2]*g[3]*g[7]+13248*g[1]^11*g[2]*g[4]*g[6]+3600*g[1]^11*g[2]*g[5]^2+4860*g[1]^11*g[3]^2*g[6]+4134*g[1]^11*g[3]*g[4]*g[5]+3024*g[1]^10*g[2]^3*g[7]+23931*g[1]^10*g[2]^2*g[3]*g[6]+40716*g[1]^10*g[2]^2*g[4]*g[5]+10692*g[1]^10*g[2]*g[3]^2*g[5]+21084*g[1]^10*g[2]*g[3]*g[4]^2+12654*g[1]^10*g[3]^3*g[4]+12960*g[1]^9*g[2]^4*g[6]+59865*g[1]^9*g[2]^3*g[3]*g[5]+28800*g[1]^9*g[2]^3*g[4]^2+59450*g[1]^9*g[2]^2*g[3]^2*g[4]+7020*g[1]^9*g[2]*g[3]^4+18000*g[1]^8*g[2]^5*g[5]+66465*g[1]^8*g[2]^4*g[3]*g[4]+29700*g[1]^8*g[2]^3*g[3]^3+10080*g[1]^7*g[2]^6*g[4]+42570*g[1]^7*g[2]^5*g[3]^2+1890*g[1]^6*g[2]^7*g[3]+2520*g[1]^11*g[5]*g[7]+30744*g[1]^10*g[2]*g[4]*g[7]+15660*g[1]^10*g[2]*g[5]*g[6]+10584*g[1]^10*g[3]^2*g[7]+20322*g[1]^10*g[3]*g[4]*g[6]+1080*g[1]^10*g[3]*g[5]^2+1800*g[1]^10*g[4]^2*g[5]+53880*g[1]^9*g[2]^2*g[3]*g[7]+61440*g[1]^9*g[2]^2*g[4]*g[6]+46080*g[1]^9*g[2]^2*g[5]^2+21060*g[1]^9*g[2]*g[3]^2*g[6]+59166*g[1]^9*g[2]*g[3]*g[4]*g[5]+6048*g[1]^9*g[3]^3*g[5]+33480*g[1]^9*g[3]^2*g[4]^2+15120*g[1]^8*g[2]^4*g[7]+73980*g[1]^8*g[2]^3*g[3]*g[6]+142272*g[1]^8*g[2]^3*g[4]*g[5]+73404*g[1]^8*g[2]^2*g[3]^2*g[5]+108000*g[1]^8*g[2]^2*g[3]*g[4]^2+70560*g[1]^8*g[2]*g[3]^3*g[4]+30240*g[1]^7*g[2]^5*g[6]+179631*g[1]^7*g[2]^4*g[3]*g[5]+20160*g[1]^7*g[2]^4*g[4]^2+158400*g[1]^7*g[2]^3*g[3]^2*g[4]+20280*g[1]^7*g[2]^2*g[3]^4+12600*g[1]^6*g[2]^6*g[5]+108045*g[1]^6*g[2]^5*g[3]*g[4]+97335*g[1]^6*g[2]^4*g[3]^3+30240*g[1]^5*g[2]^6*g[3]^2+1512*g[1]^10*g[6]*g[7]+52920*g[1]^9*g[2]*g[5]*g[7]+47520*g[1]^9*g[3]*g[4]*g[7]+18144*g[1]^9*g[3]*g[5]*g[6]+17280*g[1]^9*g[4]^2*g[6]+1440*g[1]^9*g[4]*g[5]^2+149040*g[1]^8*g[2]^2*g[4]*g[7]+107064*g[1]^8*g[2]^2*g[5]*g[6]+69120*g[1]^8*g[2]*g[3]^2*g[7]+108360*g[1]^8*g[2]*g[3]*g[4]*g[6]+37800*g[1]^8*g[2]*g[3]*g[5]^2+7344*g[1]^8*g[2]*g[4]^2*g[5]+52848*g[1]^8*g[3]^2*g[4]*g[5]+26460*g[1]^8*g[3]*g[4]^3+155520*g[1]^7*g[2]^3*g[3]*g[7]+80640*g[1]^7*g[2]^3*g[4]*g[6]+194400*g[1]^7*g[2]^3*g[5]^2+60840*g[1]^7*g[2]^2*g[3]^2*g[6]+340308*g[1]^7*g[2]^2*g[3]*g[4]*g[5]+50112*g[1]^7*g[2]*g[3]^3*g[5]+178920*g[1]^7*g[2]*g[3]^2*g[4]^2+11760*g[1]^7*g[3]^4*g[4]+35280*g[1]^6*g[2]^5*g[7]+216405*g[1]^6*g[2]^4*g[3]*g[6]+164052*g[1]^6*g[2]^4*g[4]*g[5]+293832*g[1]^6*g[2]^3*g[3]^2*g[5]+151200*g[1]^6*g[2]^3*g[3]*g[4]^2+183820*g[1]^6*g[2]^2*g[3]^3*g[4]+203301*g[1]^5*g[2]^5*g[3]*g[5]+290430*g[1]^5*g[2]^4*g[3]^2*g[4]+118440*g[1]^5*g[2]^3*g[3]^4+39375*g[1]^4*g[2]^6*g[3]*g[4]+59850*g[1]^4*g[2]^5*g[3]^3+9450*g[1]^3*g[2]^7*g[3]^2+30240*g[1]^8*g[2]*g[6]*g[7]+71712*g[1]^8*g[3]*g[5]*g[7]+45360*g[1]^8*g[4]^2*g[7]+30528*g[1]^8*g[4]*g[5]*g[6]+289008*g[1]^7*g[2]^2*g[5]*g[7]+276480*g[1]^7*g[2]*g[3]*g[4]*g[7]+150336*g[1]^7*g[2]*g[3]*g[5]*g[6]+40320*g[1]^7*g[2]*g[4]^2*g[6]+17280*g[1]^7*g[2]*g[4]*g[5]^2+12960*g[1]^7*g[3]^3*g[7]+35280*g[1]^7*g[3]^2*g[4]*g[6]+4320*g[1]^7*g[3]^2*g[5]^2+68796*g[1]^7*g[3]*g[4]^2*g[5]+231120*g[1]^6*g[2]^3*g[4]*g[7]+286776*g[1]^6*g[2]^3*g[5]*g[6]+225360*g[1]^6*g[2]^2*g[3]^2*g[7]+240660*g[1]^6*g[2]^2*g[3]*g[4]*g[6]+299376*g[1]^6*g[2]^2*g[3]*g[5]^2+45360*g[1]^6*g[2]^2*g[4]^2*g[5]+399168*g[1]^6*g[2]*g[3]^2*g[4]*g[5]+102060*g[1]^6*g[2]*g[3]*g[4]^3+10080*g[1]^6*g[3]^4*g[5]+41580*g[1]^6*g[3]^3*g[4]^2+327240*g[1]^5*g[2]^4*g[3]*g[7]+241920*g[1]^5*g[2]^4*g[5]^2+355320*g[1]^5*g[2]^3*g[3]^2*g[6]+533988*g[1]^5*g[2]^3*g[3]*g[4]*g[5]+240576*g[1]^5*g[2]^2*g[3]^3*g[5]+257040*g[1]^5*g[2]^2*g[3]^2*g[4]^2+89040*g[1]^5*g[2]*g[3]^4*g[4]+103950*g[1]^4*g[2]^5*g[3]*g[6]+90720*g[1]^4*g[2]^5*g[4]*g[5]+317520*g[1]^4*g[2]^4*g[3]^2*g[5]+107100*g[1]^4*g[2]^4*g[3]*g[4]^2+449400*g[1]^4*g[2]^3*g[3]^3*g[4]+67200*g[1]^4*g[2]^2*g[3]^5+62685*g[1]^3*g[2]^6*g[3]*g[5]+100800*g[1]^3*g[2]^5*g[3]^2*g[4]+44100*g[1]^3*g[2]^4*g[3]^4+14175*g[1]^2*g[2]^7*g[3]*g[4]+14175*g[1]^2*g[2]^6*g[3]^3+38880*g[1]^7*g[3]*g[6]*g[7]+115776*g[1]^7*g[4]*g[5]*g[7]+12960*g[1]^7*g[5]^2*g[6]+172080*g[1]^6*g[2]^2*g[6]*g[7]+544320*g[1]^6*g[2]*g[3]*g[5]*g[7]+174960*g[1]^6*g[2]*g[4]^2*g[7]+108864*g[1]^6*g[2]*g[4]*g[5]*g[6]+60480*g[1]^6*g[3]^2*g[4]*g[7]+30240*g[1]^6*g[3]^2*g[5]*g[6]+49140*g[1]^6*g[3]*g[4]^2*g[6]+36288*g[1]^6*g[3]*g[4]*g[5]^2+510192*g[1]^5*g[2]^3*g[5]*g[7]+440640*g[1]^5*g[2]^2*g[3]*g[4]*g[7]+560448*g[1]^5*g[2]^2*g[3]*g[5]*g[6]+145152*g[1]^5*g[2]^2*g[4]*g[5]^2+116640*g[1]^5*g[2]*g[3]^3*g[7]+267120*g[1]^5*g[2]*g[3]^2*g[4]*g[6]+139104*g[1]^5*g[2]*g[3]^2*g[5]^2+330372*g[1]^5*g[2]*g[3]*g[4]^2*g[5]+138432*g[1]^5*g[3]^3*g[4]*g[5]+37800*g[1]^5*g[3]^2*g[4]^3+124200*g[1]^4*g[2]^4*g[4]*g[7]+238140*g[1]^4*g[2]^4*g[5]*g[6]+669600*g[1]^4*g[2]^3*g[3]^2*g[7]+315000*g[1]^4*g[2]^3*g[3]*g[4]*g[6]+317520*g[1]^4*g[2]^3*g[3]*g[5]^2+75600*g[1]^4*g[2]^3*g[4]^2*g[5]+201600*g[1]^4*g[2]^2*g[3]^3*g[6]+756000*g[1]^4*g[2]^2*g[3]^2*g[4]*g[5]+56700*g[1]^4*g[2]^2*g[3]*g[4]^3+110880*g[1]^4*g[2]*g[3]^4*g[5]+130200*g[1]^4*g[2]*g[3]^3*g[4]^2+33600*g[1]^4*g[3]^5*g[4]+93600*g[1]^3*g[2]^5*g[3]*g[7]+75600*g[1]^3*g[2]^5*g[5]^2+132300*g[1]^3*g[2]^4*g[3]^2*g[6]+300510*g[1]^3*g[2]^4*g[3]*g[4]*g[5]+168000*g[1]^3*g[2]^3*g[3]^3*g[5]+264600*g[1]^3*g[2]^3*g[3]^2*g[4]^2+372400*g[1]^3*g[2]^2*g[3]^4*g[4]+42525*g[1]^2*g[2]^6*g[3]*g[6]+34020*g[1]^2*g[2]^6*g[4]*g[5]+54180*g[1]^2*g[2]^5*g[3]^2*g[5]+56700*g[1]^2*g[2]^5*g[3]*g[4]^2+129150*g[1]^2*g[2]^4*g[3]^3*g[4]+2835*g[1]*g[2]^7*g[3]*g[5]+15750*g[1]*g[2]^6*g[3]^2*g[4]+6300*g[1]*g[2]^5*g[3]^4+51840*g[1]^6*g[4]*g[6]*g[7]+60480*g[1]^6*g[5]^2*g[7]+349920*g[1]^5*g[2]*g[3]*g[6]*g[7]+533952*g[1]^5*g[2]*g[4]*g[5]*g[7]+30240*g[1]^5*g[2]*g[5]^2*g[6]+196992*g[1]^5*g[3]^2*g[5]*g[7]+64800*g[1]^5*g[3]*g[4]^2*g[7]+92736*g[1]^5*g[3]*g[4]*g[5]*g[6]+324000*g[1]^4*g[2]^3*g[6]*g[7]+1062720*g[1]^4*g[2]^2*g[3]*g[5]*g[7]+97200*g[1]^4*g[2]^2*g[4]^2*g[7]+272160*g[1]^4*g[2]^2*g[4]*g[5]*g[6]+216000*g[1]^4*g[2]*g[3]^2*g[4]*g[7]+332640*g[1]^4*g[2]*g[3]^2*g[5]*g[6]+214200*g[1]^4*g[2]*g[3]*g[4]^2*g[6]+266112*g[1]^4*g[2]*g[3]*g[4]*g[5]^2+57600*g[1]^4*g[3]^4*g[7]+100800*g[1]^4*g[3]^3*g[4]*g[6]+12096*g[1]^4*g[3]^3*g[5]^2+241920*g[1]^4*g[3]^2*g[4]^2*g[5]+152280*g[1]^3*g[2]^4*g[5]*g[7]+432000*g[1]^3*g[2]^3*g[3]*g[4]*g[7]+342720*g[1]^3*g[2]^3*g[3]*g[5]*g[6]+169344*g[1]^3*g[2]^3*g[4]*g[5]^2+535200*g[1]^3*g[2]^2*g[3]^3*g[7]+579600*g[1]^3*g[2]^2*g[3]^2*g[4]*g[6]+66528*g[1]^3*g[2]^2*g[3]^2*g[5]^2+283500*g[1]^3*g[2]^2*g[3]*g[4]^2*g[5]+483840*g[1]^3*g[2]*g[3]^3*g[4]*g[5]+75600*g[1]^3*g[3]^4*g[4]^2+48600*g[1]^2*g[2]^5*g[4]*g[7]+102060*g[1]^2*g[2]^5*g[5]*g[6]+156600*g[1]^2*g[2]^4*g[3]^2*g[7]+198450*g[1]^2*g[2]^4*g[3]*g[4]*g[6]+16632*g[1]^2*g[2]^4*g[3]*g[5]^2+68040*g[1]^2*g[2]^4*g[4]^2*g[5]+252000*g[1]^2*g[2]^3*g[3]^2*g[4]*g[5]+56700*g[1]^2*g[2]^3*g[3]*g[4]^3+23520*g[1]^2*g[2]^2*g[3]^4*g[5]+321300*g[1]^2*g[2]^2*g[3]^3*g[4]^2+67200*g[1]^2*g[2]*g[3]^5*g[4]+16200*g[1]*g[2]^6*g[3]*g[7]+18900*g[1]*g[2]^5*g[3]^2*g[6]+51030*g[1]*g[2]^5*g[3]*g[4]*g[5]+30240*g[1]*g[2]^4*g[3]^3*g[5]+88200*g[1]*g[2]^4*g[3]^2*g[4]^2+42000*g[1]*g[2]^3*g[3]^4*g[4]+1260*g[2]^6*g[3]^2*g[5]+4200*g[2]^5*g[3]^3*g[4]+38016*g[1]^5*g[5]*g[6]*g[7]+345600*g[1]^4*g[2]*g[4]*g[6]*g[7]+233280*g[1]^4*g[2]*g[5]^2*g[7]+172800*g[1]^4*g[3]^2*g[6]*g[7]+406080*g[1]^4*g[3]*g[4]*g[5]*g[7]+36288*g[1]^4*g[3]*g[5]^2*g[6]+15120*g[1]^4*g[4]^2*g[5]*g[6]+684000*g[1]^3*g[2]^2*g[3]*g[6]*g[7]+466560*g[1]^3*g[2]^2*g[4]*g[5]*g[7]+6048*g[1]^3*g[2]^2*g[5]^2*g[6]+622080*g[1]^3*g[2]*g[3]^2*g[5]*g[7]+483840*g[1]^3*g[2]*g[3]*g[4]*g[5]*g[6]+36288*g[1]^3*g[2]*g[4]^2*g[5]^2+129600*g[1]^3*g[3]^3*g[4]*g[7]+226800*g[1]^3*g[3]^2*g[4]^2*g[6]+133056*g[1]^3*g[3]^2*g[4]*g[5]^2+68040*g[1]^3*g[3]*g[4]^3*g[5]+145800*g[1]^2*g[2]^4*g[6]*g[7]+146880*g[1]^2*g[2]^3*g[3]*g[5]*g[7]+97200*g[1]^2*g[2]^3*g[4]^2*g[7]+272160*g[1]^2*g[2]^3*g[4]*g[5]*g[6]+518400*g[1]^2*g[2]^2*g[3]^2*g[4]*g[7]+70560*g[1]^2*g[2]^2*g[3]^2*g[5]*g[6]+283500*g[1]^2*g[2]^2*g[3]*g[4]^2*g[6]+72576*g[1]^2*g[2]^2*g[3]*g[4]*g[5]^2+115200*g[1]^2*g[2]*g[3]^4*g[7]+201600*g[1]^2*g[2]*g[3]^3*g[4]*g[6]+8064*g[1]^2*g[2]*g[3]^3*g[5]^2+287280*g[1]^2*g[2]*g[3]^2*g[4]^2*g[5]+47040*g[1]^2*g[3]^4*g[4]*g[5]+37800*g[1]^2*g[3]^3*g[4]^3+9720*g[1]*g[2]^5*g[5]*g[7]+151200*g[1]*g[2]^4*g[3]*g[4]*g[7]+90720*g[1]*g[2]^4*g[3]*g[5]*g[6]+18144*g[1]*g[2]^4*g[4]*g[5]^2+64800*g[1]*g[2]^3*g[3]^3*g[7]+126000*g[1]*g[2]^3*g[3]^2*g[4]*g[6]+18144*g[1]*g[2]^3*g[3]^2*g[5]^2+94500*g[1]*g[2]^3*g[3]*g[4]^2*g[5]+60480*g[1]*g[2]^2*g[3]^3*g[4]*g[5]+113400*g[1]*g[2]^2*g[3]^2*g[4]^3+58800*g[1]*g[2]*g[3]^4*g[4]^2+7200*g[2]^5*g[3]^2*g[7]+1512*g[2]^5*g[3]*g[5]^2+15120*g[2]^4*g[3]^2*g[4]*g[5]+3360*g[2]^3*g[3]^4*g[5]+25200*g[2]^3*g[3]^3*g[4]^2+11200*g[2]^2*g[3]^5*g[4]+207360*g[1]^3*g[2]*g[5]*g[6]*g[7]+388800*g[1]^3*g[3]*g[4]*g[6]*g[7]+221184*g[1]^3*g[3]*g[5]^2*g[7]+116640*g[1]^3*g[4]^2*g[5]*g[7]+12096*g[1]^3*g[4]*g[5]^2*g[6]+388800*g[1]^2*g[2]^2*g[4]*g[6]*g[7]+46656*g[1]^2*g[2]^2*g[5]^2*g[7]+345600*g[1]^2*g[2]*g[3]^2*g[6]*g[7]+414720*g[1]^2*g[2]*g[3]*g[4]*g[5]*g[7]+24192*g[1]^2*g[2]*g[3]*g[5]^2*g[6]+136080*g[1]^2*g[2]*g[4]^2*g[5]*g[6]+80640*g[1]^2*g[3]^3*g[5]*g[7]+64800*g[1]^2*g[3]^2*g[4]^2*g[7]+141120*g[1]^2*g[3]^2*g[4]*g[5]*g[6]+113400*g[1]^2*g[3]*g[4]^3*g[6]+54432*g[1]^2*g[3]*g[4]^2*g[5]^2+194400*g[1]*g[2]^3*g[3]*g[6]*g[7]+103680*g[1]*g[2]^3*g[4]*g[5]*g[7]+54432*g[1]*g[2]^3*g[5]^2*g[6]+51840*g[1]*g[2]^2*g[3]^2*g[5]*g[7]+194400*g[1]*g[2]^2*g[3]*g[4]^2*g[7]+181440*g[1]*g[2]^2*g[3]*g[4]*g[5]*g[6]+100800*g[1]*g[2]*g[3]^3*g[4]*g[7]+176400*g[1]*g[2]*g[3]^2*g[4]^2*g[6]+12096*g[1]*g[2]*g[3]^2*g[4]*g[5]^2+68040*g[1]*g[2]*g[3]*g[4]^3*g[5]+40320*g[1]*g[3]^3*g[4]^2*g[5]+12960*g[2]^4*g[3]*g[5]*g[7]+43200*g[2]^3*g[3]^2*g[4]*g[7]+10080*g[2]^3*g[3]^2*g[5]*g[6]+12096*g[2]^3*g[3]*g[4]*g[5]^2+19200*g[2]^2*g[3]^4*g[7]+33600*g[2]^2*g[3]^3*g[4]*g[6]+4032*g[2]^2*g[3]^3*g[5]^2+45360*g[2]^2*g[3]^2*g[4]^2*g[5]+20160*g[2]*g[3]^4*g[4]*g[5]+241920*g[1]^2*g[3]*g[5]*g[6]*g[7]+194400*g[1]^2*g[4]^2*g[6]*g[7]+93312*g[1]^2*g[4]*g[5]^2*g[7]+155520*g[1]*g[2]^2*g[5]*g[6]*g[7]+302400*g[1]*g[2]*g[3]*g[4]*g[6]*g[7]+116640*g[1]*g[2]*g[4]^2*g[5]*g[7]+36288*g[1]*g[2]*g[4]*g[5]^2*g[6]+69120*g[1]*g[3]^2*g[4]*g[5]*g[7]+120960*g[1]*g[3]*g[4]^2*g[5]*g[6]+5184*g[2]^3*g[5]^2*g[7]+57600*g[2]^2*g[3]^2*g[6]*g[7]+77760*g[2]^2*g[3]*g[4]*g[5]*g[7]+12096*g[2]^2*g[3]*g[5]^2*g[6]+34560*g[2]*g[3]^3*g[5]*g[7]+60480*g[2]*g[3]^2*g[4]*g[5]*g[6]+18144*g[2]*g[3]*g[4]^2*g[5]^2+8064*g[3]^3*g[4]*g[5]^2+207360*g[1]*g[4]*g[5]*g[6]*g[7]+103680*g[2]*g[3]*g[5]*g[6]*g[7]+31104*g[2]*g[4]*g[5]^2*g[7]+13824*g[3]^2*g[5]^2*g[7]+24192*g[3]*g[4]*g[5]^2*g[6]+41472*g[5]^2*g[6]*g[7]): KerduKost([1, 2, 2, 2],[1, 1, 1, 1, 1, 2]):=3*(6*g[1]^16*g[2]^2*g[3]+3*g[1]^16*g[3]*g[4]+32*g[1]^15*g[2]^2*g[4]+54*g[1]^15*g[2]*g[3]^2+42*g[1]^14*g[2]^3*g[3]+45*g[1]^15*g[3]*g[5]+120*g[1]^14*g[2]^2*g[5]+327*g[1]^14*g[2]*g[3]*g[4]+81*g[1]^14*g[3]^3+128*g[1]^13*g[2]^3*g[4]+576*g[1]^13*g[2]^2*g[3]^2-36*g[1]^12*g[2]^4*g[3]+171*g[1]^14*g[3]*g[6]+60*g[1]^14*g[4]*g[5]+256*g[1]^13*g[2]^2*g[6]+1215*g[1]^13*g[2]*g[3]*g[5]+320*g[1]^13*g[2]*g[4]^2+378*g[1]^13*g[3]^2*g[4]+400*g[1]^12*g[2]^3*g[5]+2281*g[1]^12*g[2]^2*g[3]*g[4]+1674*g[1]^12*g[2]*g[3]^3-512*g[1]^11*g[2]^4*g[4]+1134*g[1]^11*g[2]^3*g[3]^2-796*g[1]^10*g[2]^5*g[3]+168*g[1]^13*g[3]*g[7]+352*g[1]^13*g[4]*g[6]+224*g[1]^12*g[2]^2*g[7]+3654*g[1]^12*g[2]*g[3]*g[6]+1840*g[1]^12*g[2]*g[4]*g[5]+1080*g[1]^12*g[3]^2*g[5]+384*g[1]^12*g[3]*g[4]^2+864*g[1]^11*g[2]^3*g[6]+3603*g[1]^11*g[2]^2*g[3]*g[5]+1920*g[1]^11*g[2]^2*g[4]^2+6336*g[1]^11*g[2]*g[3]^2*g[4]+1620*g[1]^11*g[3]^4-1680*g[1]^10*g[2]^4*g[5]+3345*g[1]^10*g[2]^3*g[3]*g[4]+5877*g[1]^10*g[2]^2*g[3]^3-3200*g[1]^9*g[2]^5*g[4]-4320*g[1]^9*g[2]^4*g[3]^2-1530*g[1]^8*g[2]^6*g[3]+336*g[1]^12*g[4]*g[7]+180*g[1]^12*g[5]*g[6]+3360*g[1]^11*g[2]*g[3]*g[7]+7616*g[1]^11*g[2]*g[4]*g[6]+3420*g[1]^11*g[3]^2*g[6]+2874*g[1]^11*g[3]*g[4]*g[5]+672*g[1]^10*g[2]^3*g[7]+12927*g[1]^10*g[2]^2*g[3]*g[6]+2556*g[1]^10*g[2]^2*g[4]*g[5]+4572*g[1]^10*g[2]*g[3]^2*g[5]+4984*g[1]^10*g[2]*g[3]*g[4]^2+8874*g[1]^10*g[3]^3*g[4]-2880*g[1]^9*g[2]^4*g[6]-10699*g[1]^9*g[2]^3*g[3]*g[5]+8640*g[1]^9*g[2]^3*g[4]^2+21810*g[1]^9*g[2]^2*g[3]^2*g[4]+7020*g[1]^9*g[2]*g[3]^4-7440*g[1]^8*g[2]^5*g[5]-15375*g[1]^8*g[2]^4*g[3]*g[4]-2700*g[1]^8*g[2]^3*g[3]^3-3360*g[1]^7*g[2]^6*g[4]-14070*g[1]^7*g[2]^5*g[3]^2-630*g[1]^6*g[2]^7*g[3]+7056*g[1]^10*g[2]*g[4]*g[7]+3420*g[1]^10*g[2]*g[5]*g[6]+3024*g[1]^10*g[3]^2*g[7]+12534*g[1]^10*g[3]*g[4]*g[6]+1080*g[1]^10*g[3]*g[5]^2+1800*g[1]^10*g[4]^2*g[5]+11320*g[1]^9*g[2]^2*g[3]*g[7]+29600*g[1]^9*g[2]^2*g[4]*g[6]-11520*g[1]^9*g[2]^2*g[5]^2+13140*g[1]^9*g[2]*g[3]^2*g[6]+146*g[1]^9*g[2]*g[3]*g[4]*g[5]+6048*g[1]^9*g[3]^3*g[5]+15840*g[1]^9*g[3]^2*g[4]^2-3360*g[1]^8*g[2]^4*g[7]-9540*g[1]^8*g[2]^3*g[3]*g[6]-2496*g[1]^8*g[2]^3*g[4]*g[5]-7092*g[1]^8*g[2]^2*g[3]^2*g[5]+27360*g[1]^8*g[2]^2*g[3]*g[4]^2+36000*g[1]^8*g[2]*g[3]^3*g[4]-10080*g[1]^7*g[2]^5*g[6]-63513*g[1]^7*g[2]^4*g[3]*g[5]+13440*g[1]^7*g[2]^4*g[4]^2-9120*g[1]^7*g[2]^3*g[3]^2*g[4]+1560*g[1]^7*g[2]^2*g[3]^4-4200*g[1]^6*g[2]^6*g[5]-33915*g[1]^6*g[2]^5*g[3]*g[4]-26145*g[1]^6*g[2]^4*g[3]^3-10080*g[1]^5*g[2]^6*g[3]^2-336*g[1]^10*g[6]*g[7]+12240*g[1]^9*g[3]*g[4]*g[7]+8208*g[1]^9*g[3]*g[5]*g[6]+10560*g[1]^9*g[4]^2*g[6]+1440*g[1]^9*g[4]*g[5]^2+33120*g[1]^8*g[2]^2*g[4]*g[7]-1272*g[1]^8*g[2]^2*g[5]*g[6]+8640*g[1]^8*g[2]*g[3]^2*g[7]+43320*g[1]^8*g[2]*g[3]*g[4]*g[6]-17640*g[1]^8*g[2]*g[3]*g[5]^2-720*g[1]^8*g[2]*g[4]^2*g[5]+19584*g[1]^8*g[3]^2*g[4]*g[5]+8820*g[1]^8*g[3]*g[4]^3-16800*g[1]^7*g[2]^3*g[3]*g[7]+33600*g[1]^7*g[2]^3*g[4]*g[6]-43200*g[1]^7*g[2]^3*g[5]^2-14040*g[1]^7*g[2]^2*g[3]^2*g[6]-15012*g[1]^7*g[2]^2*g[3]*g[4]*g[5]+21312*g[1]^7*g[2]*g[3]^3*g[5]+66360*g[1]^7*g[2]*g[3]^2*g[4]^2+1680*g[1]^7*g[3]^4*g[4]-10080*g[1]^6*g[2]^5*g[7]-80955*g[1]^6*g[2]^4*g[3]*g[6]-6636*g[1]^6*g[2]^4*g[4]*g[5]-87528*g[1]^6*g[2]^3*g[3]^2*g[5]+42000*g[1]^6*g[2]^3*g[3]*g[4]^2+3220*g[1]^6*g[2]^2*g[3]^3*g[4]-63483*g[1]^5*g[2]^5*g[3]*g[5]-66570*g[1]^5*g[2]^4*g[3]^2*g[4]-19320*g[1]^5*g[2]^3*g[3]^4-13125*g[1]^4*g[2]^6*g[3]*g[4]-15750*g[1]^4*g[2]^5*g[3]^3-3150*g[1]^3*g[2]^7*g[3]^2-6720*g[1]^8*g[2]*g[6]*g[7]+5184*g[1]^8*g[3]*g[5]*g[7]+10080*g[1]^8*g[4]^2*g[7]+14016*g[1]^8*g[4]*g[5]*g[6]-288*g[1]^7*g[2]^2*g[5]*g[7]+59040*g[1]^7*g[2]*g[3]*g[4]*g[7]+4032*g[1]^7*g[2]*g[3]*g[5]*g[6]+26880*g[1]^7*g[2]*g[4]^2*g[6]-8640*g[1]^7*g[2]*g[4]*g[5]^2-7200*g[1]^7*g[3]^3*g[7]+8400*g[1]^7*g[3]^2*g[4]*g[6]+4320*g[1]^7*g[3]^2*g[5]^2+15372*g[1]^7*g[3]*g[4]^2*g[5]+41760*g[1]^6*g[2]^3*g[4]*g[7]-47208*g[1]^6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6]+13824*g[5]^2*g[6]*g[7])/(6*g[1]^16*g[2]^2*g[3]+3*g[1]^16*g[3]*g[4]+32*g[1]^15*g[2]^2*g[4]+54*g[1]^15*g[2]*g[3]^2+90*g[1]^14*g[2]^3*g[3]+45*g[1]^15*g[3]*g[5]+120*g[1]^14*g[2]^2*g[5]+447*g[1]^14*g[2]*g[3]*g[4]+81*g[1]^14*g[3]^3+384*g[1]^13*g[2]^3*g[4]+768*g[1]^13*g[2]^2*g[3]^2+612*g[1]^12*g[2]^4*g[3]+243*g[1]^14*g[3]*g[6]+60*g[1]^14*g[4]*g[5]+288*g[1]^13*g[2]^2*g[6]+1575*g[1]^13*g[2]*g[3]*g[5]+768*g[1]^13*g[2]*g[4]^2+546*g[1]^13*g[3]^2*g[4]+1200*g[1]^12*g[2]^3*g[5]+5141*g[1]^12*g[2]^2*g[3]*g[4]+1674*g[1]^12*g[2]*g[3]^3+2304*g[1]^11*g[2]^4*g[4]+4374*g[1]^11*g[2]^3*g[3]^2+2412*g[1]^10*g[2]^5*g[3]+504*g[1]^13*g[3]*g[7]+576*g[1]^13*g[4]*g[6]+336*g[1]^12*g[2]^2*g[7]+5022*g[1]^12*g[2]*g[3]*g[6]+4320*g[1]^12*g[2]*g[4]*g[5]+1080*g[1]^12*g[3]^2*g[5]+972*g[1]^12*g[3]*g[4]^2+2592*g[1]^11*g[2]^3*g[6]+12543*g[1]^11*g[2]^2*g[3]*g[5]+8640*g[1]^11*g[2]^2*g[4]^2+11136*g[1]^11*g[2]*g[3]^2*g[4]+1620*g[1]^11*g[3]^4+6480*g[1]^10*g[2]^4*g[5]+24141*g[1]^10*g[2]^3*g[3]*g[4]+8217*g[1]^10*g[2]^2*g[3]^3+7680*g[1]^9*g[2]^5*g[4]+17280*g[1]^9*g[2]^4*g[3]^2+4590*g[1]^8*g[2]^6*g[3]+1512*g[1]^12*g[4]*g[7]+540*g[1]^12*g[5]*g[6]+10080*g[1]^11*g[2]*g[3]*g[7]+13248*g[1]^11*g[2]*g[4]*g[6]+3600*g[1]^11*g[2]*g[5]^2+4860*g[1]^11*g[3]^2*g[6]+4134*g[1]^11*g[3]*g[4]*g[5]+3024*g[1]^10*g[2]^3*g[7]+23931*g[1]^10*g[2]^2*g[3]*g[6]+40716*g[1]^10*g[2]^2*g[4]*g[5]+10692*g[1]^10*g[2]*g[3]^2*g[5]+21084*g[1]^10*g[2]*g[3]*g[4]^2+12654*g[1]^10*g[3]^3*g[4]+12960*g[1]^9*g[2]^4*g[6]+59865*g[1]^9*g[2]^3*g[3]*g[5]+28800*g[1]^9*g[2]^3*g[4]^2+59450*g[1]^9*g[2]^2*g[3]^2*g[4]+7020*g[1]^9*g[2]*g[3]^4+18000*g[1]^8*g[2]^5*g[5]+66465*g[1]^8*g[2]^4*g[3]*g[4]+29700*g[1]^8*g[2]^3*g[3]^3+10080*g[1]^7*g[2]^6*g[4]+42570*g[1]^7*g[2]^5*g[3]^2+1890*g[1]^6*g[2]^7*g[3]+2520*g[1]^11*g[5]*g[7]+30744*g[1]^10*g[2]*g[4]*g[7]+15660*g[1]^10*g[2]*g[5]*g[6]+10584*g[1]^10*g[3]^2*g[7]+20322*g[1]^10*g[3]*g[4]*g[6]+1080*g[1]^10*g[3]*g[5]^2+1800*g[1]^10*g[4]^2*g[5]+53880*g[1]^9*g[2]^2*g[3]*g[7]+61440*g[1]^9*g[2]^2*g[4]*g[6]+46080*g[1]^9*g[2]^2*g[5]^2+21060*g[1]^9*g[2]*g[3]^2*g[6]+59166*g[1]^9*g[2]*g[3]*g[4]*g[5]+6048*g[1]^9*g[3]^3*g[5]+33480*g[1]^9*g[3]^2*g[4]^2+15120*g[1]^8*g[2]^4*g[7]+73980*g[1]^8*g[2]^3*g[3]*g[6]+142272*g[1]^8*g[2]^3*g[4]*g[5]+73404*g[1]^8*g[2]^2*g[3]^2*g[5]+108000*g[1]^8*g[2]^2*g[3]*g[4]^2+70560*g[1]^8*g[2]*g[3]^3*g[4]+30240*g[1]^7*g[2]^5*g[6]+179631*g[1]^7*g[2]^4*g[3]*g[5]+20160*g[1]^7*g[2]^4*g[4]^2+158400*g[1]^7*g[2]^3*g[3]^2*g[4]+20280*g[1]^7*g[2]^2*g[3]^4+12600*g[1]^6*g[2]^6*g[5]+108045*g[1]^6*g[2]^5*g[3]*g[4]+97335*g[1]^6*g[2]^4*g[3]^3+30240*g[1]^5*g[2]^6*g[3]^2+1512*g[1]^10*g[6]*g[7]+52920*g[1]^9*g[2]*g[5]*g[7]+47520*g[1]^9*g[3]*g[4]*g[7]+18144*g[1]^9*g[3]*g[5]*g[6]+17280*g[1]^9*g[4]^2*g[6]+1440*g[1]^9*g[4]*g[5]^2+149040*g[1]^8*g[2]^2*g[4]*g[7]+107064*g[1]^8*g[2]^2*g[5]*g[6]+69120*g[1]^8*g[2]*g[3]^2*g[7]+108360*g[1]^8*g[2]*g[3]*g[4]*g[6]+37800*g[1]^8*g[2]*g[3]*g[5]^2+7344*g[1]^8*g[2]*g[4]^2*g[5]+52848*g[1]^8*g[3]^2*g[4]*g[5]+26460*g[1]^8*g[3]*g[4]^3+155520*g[1]^7*g[2]^3*g[3]*g[7]+80640*g[1]^7*g[2]^3*g[4]*g[6]+194400*g[1]^7*g[2]^3*g[5]^2+60840*g[1]^7*g[2]^2*g[3]^2*g[6]+340308*g[1]^7*g[2]^2*g[3]*g[4]*g[5]+50112*g[1]^7*g[2]*g[3]^3*g[5]+178920*g[1]^7*g[2]*g[3]^2*g[4]^2+11760*g[1]^7*g[3]^4*g[4]+35280*g[1]^6*g[2]^5*g[7]+216405*g[1]^6*g[2]^4*g[3]*g[6]+164052*g[1]^6*g[2]^4*g[4]*g[5]+293832*g[1]^6*g[2]^3*g[3]^2*g[5]+151200*g[1]^6*g[2]^3*g[3]*g[4]^2+183820*g[1]^6*g[2]^2*g[3]^3*g[4]+203301*g[1]^5*g[2]^5*g[3]*g[5]+290430*g[1]^5*g[2]^4*g[3]^2*g[4]+118440*g[1]^5*g[2]^3*g[3]^4+39375*g[1]^4*g[2]^6*g[3]*g[4]+59850*g[1]^4*g[2]^5*g[3]^3+9450*g[1]^3*g[2]^7*g[3]^2+30240*g[1]^8*g[2]*g[6]*g[7]+71712*g[1]^8*g[3]*g[5]*g[7]+45360*g[1]^8*g[4]^2*g[7]+30528*g[1]^8*g[4]*g[5]*g[6]+289008*g[1]^7*g[2]^2*g[5]*g[7]+276480*g[1]^7*g[2]*g[3]*g[4]*g[7]+150336*g[1]^7*g[2]*g[3]*g[5]*g[6]+40320*g[1]^7*g[2]*g[4]^2*g[6]+17280*g[1]^7*g[2]*g[4]*g[5]^2+12960*g[1]^7*g[3]^3*g[7]+35280*g[1]^7*g[3]^2*g[4]*g[6]+4320*g[1]^7*g[3]^2*g[5]^2+68796*g[1]^7*g[3]*g[4]^2*g[5]+231120*g[1]^6*g[2]^3*g[4]*g[7]+286776*g[1]^6*g[2]^3*g[5]*g[6]+225360*g[1]^6*g[2]^2*g[3]^2*g[7]+240660*g[1]^6*g[2]^2*g[3]*g[4]*g[6]+299376*g[1]^6*g[2]^2*g[3]*g[5]^2+45360*g[1]^6*g[2]^2*g[4]^2*g[5]+399168*g[1]^6*g[2]*g[3]^2*g[4]*g[5]+102060*g[1]^6*g[2]*g[3]*g[4]^3+10080*g[1]^6*g[3]^4*g[5]+41580*g[1]^6*g[3]^3*g[4]^2+327240*g[1]^5*g[2]^4*g[3]*g[7]+241920*g[1]^5*g[2]^4*g[5]^2+355320*g[1]^5*g[2]^3*g[3]^2*g[6]+533988*g[1]^5*g[2]^3*g[3]*g[4]*g[5]+240576*g[1]^5*g[2]^2*g[3]^3*g[5]+257040*g[1]^5*g[2]^2*g[3]^2*g[4]^2+89040*g[1]^5*g[2]*g[3]^4*g[4]+103950*g[1]^4*g[2]^5*g[3]*g[6]+90720*g[1]^4*g[2]^5*g[4]*g[5]+317520*g[1]^4*g[2]^4*g[3]^2*g[5]+107100*g[1]^4*g[2]^4*g[3]*g[4]^2+449400*g[1]^4*g[2]^3*g[3]^3*g[4]+67200*g[1]^4*g[2]^2*g[3]^5+62685*g[1]^3*g[2]^6*g[3]*g[5]+100800*g[1]^3*g[2]^5*g[3]^2*g[4]+44100*g[1]^3*g[2]^4*g[3]^4+14175*g[1]^2*g[2]^7*g[3]*g[4]+14175*g[1]^2*g[2]^6*g[3]^3+38880*g[1]^7*g[3]*g[6]*g[7]+115776*g[1]^7*g[4]*g[5]*g[7]+12960*g[1]^7*g[5]^2*g[6]+172080*g[1]^6*g[2]^2*g[6]*g[7]+544320*g[1]^6*g[2]*g[3]*g[5]*g[7]+174960*g[1]^6*g[2]*g[4]^2*g[7]+108864*g[1]^6*g[2]*g[4]*g[5]*g[6]+60480*g[1]^6*g[3]^2*g[4]*g[7]+30240*g[1]^6*g[3]^2*g[5]*g[6]+49140*g[1]^6*g[3]*g[4]^2*g[6]+36288*g[1]^6*g[3]*g[4]*g[5]^2+510192*g[1]^5*g[2]^3*g[5]*g[7]+440640*g[1]^5*g[2]^2*g[3]*g[4]*g[7]+560448*g[1]^5*g[2]^2*g[3]*g[5]*g[6]+145152*g[1]^5*g[2]^2*g[4]*g[5]^2+116640*g[1]^5*g[2]*g[3]^3*g[7]+267120*g[1]^5*g[2]*g[3]^2*g[4]*g[6]+139104*g[1]^5*g[2]*g[3]^2*g[5]^2+330372*g[1]^5*g[2]*g[3]*g[4]^2*g[5]+138432*g[1]^5*g[3]^3*g[4]*g[5]+37800*g[1]^5*g[3]^2*g[4]^3+124200*g[1]^4*g[2]^4*g[4]*g[7]+238140*g[1]^4*g[2]^4*g[5]*g[6]+669600*g[1]^4*g[2]^3*g[3]^2*g[7]+315000*g[1]^4*g[2]^3*g[3]*g[4]*g[6]+317520*g[1]^4*g[2]^3*g[3]*g[5]^2+75600*g[1]^4*g[2]^3*g[4]^2*g[5]+201600*g[1]^4*g[2]^2*g[3]^3*g[6]+756000*g[1]^4*g[2]^2*g[3]^2*g[4]*g[5]+56700*g[1]^4*g[2]^2*g[3]*g[4]^3+110880*g[1]^4*g[2]*g[3]^4*g[5]+130200*g[1]^4*g[2]*g[3]^3*g[4]^2+33600*g[1]^4*g[3]^5*g[4]+93600*g[1]^3*g[2]^5*g[3]*g[7]+75600*g[1]^3*g[2]^5*g[5]^2+132300*g[1]^3*g[2]^4*g[3]^2*g[6]+300510*g[1]^3*g[2]^4*g[3]*g[4]*g[5]+168000*g[1]^3*g[2]^3*g[3]^3*g[5]+264600*g[1]^3*g[2]^3*g[3]^2*g[4]^2+372400*g[1]^3*g[2]^2*g[3]^4*g[4]+42525*g[1]^2*g[2]^6*g[3]*g[6]+34020*g[1]^2*g[2]^6*g[4]*g[5]+54180*g[1]^2*g[2]^5*g[3]^2*g[5]+56700*g[1]^2*g[2]^5*g[3]*g[4]^2+129150*g[1]^2*g[2]^4*g[3]^3*g[4]+2835*g[1]*g[2]^7*g[3]*g[5]+15750*g[1]*g[2]^6*g[3]^2*g[4]+6300*g[1]*g[2]^5*g[3]^4+51840*g[1]^6*g[4]*g[6]*g[7]+60480*g[1]^6*g[5]^2*g[7]+349920*g[1]^5*g[2]*g[3]*g[6]*g[7]+533952*g[1]^5*g[2]*g[4]*g[5]*g[7]+30240*g[1]^5*g[2]*g[5]^2*g[6]+196992*g[1]^5*g[3]^2*g[5]*g[7]+64800*g[1]^5*g[3]*g[4]^2*g[7]+92736*g[1]^5*g[3]*g[4]*g[5]*g[6]+324000*g[1]^4*g[2]^3*g[6]*g[7]+1062720*g[1]^4*g[2]^2*g[3]*g[5]*g[7]+97200*g[1]^4*g[2]^2*g[4]^2*g[7]+272160*g[1]^4*g[2]^2*g[4]*g[5]*g[6]+216000*g[1]^4*g[2]*g[3]^2*g[4]*g[7]+332640*g[1]^4*g[2]*g[3]^2*g[5]*g[6]+214200*g[1]^4*g[2]*g[3]*g[4]^2*g[6]+266112*g[1]^4*g[2]*g[3]*g[4]*g[5]^2+57600*g[1]^4*g[3]^4*g[7]+100800*g[1]^4*g[3]^3*g[4]*g[6]+12096*g[1]^4*g[3]^3*g[5]^2+241920*g[1]^4*g[3]^2*g[4]^2*g[5]+152280*g[1]^3*g[2]^4*g[5]*g[7]+432000*g[1]^3*g[2]^3*g[3]*g[4]*g[7]+342720*g[1]^3*g[2]^3*g[3]*g[5]*g[6]+169344*g[1]^3*g[2]^3*g[4]*g[5]^2+535200*g[1]^3*g[2]^2*g[3]^3*g[7]+579600*g[1]^3*g[2]^2*g[3]^2*g[4]*g[6]+66528*g[1]^3*g[2]^2*g[3]^2*g[5]^2+283500*g[1]^3*g[2]^2*g[3]*g[4]^2*g[5]+483840*g[1]^3*g[2]*g[3]^3*g[4]*g[5]+75600*g[1]^3*g[3]^4*g[4]^2+48600*g[1]^2*g[2]^5*g[4]*g[7]+102060*g[1]^2*g[2]^5*g[5]*g[6]+156600*g[1]^2*g[2]^4*g[3]^2*g[7]+198450*g[1]^2*g[2]^4*g[3]*g[4]*g[6]+16632*g[1]^2*g[2]^4*g[3]*g[5]^2+68040*g[1]^2*g[2]^4*g[4]^2*g[5]+252000*g[1]^2*g[2]^3*g[3]^2*g[4]*g[5]+56700*g[1]^2*g[2]^3*g[3]*g[4]^3+23520*g[1]^2*g[2]^2*g[3]^4*g[5]+321300*g[1]^2*g[2]^2*g[3]^3*g[4]^2+67200*g[1]^2*g[2]*g[3]^5*g[4]+16200*g[1]*g[2]^6*g[3]*g[7]+18900*g[1]*g[2]^5*g[3]^2*g[6]+51030*g[1]*g[2]^5*g[3]*g[4]*g[5]+30240*g[1]*g[2]^4*g[3]^3*g[5]+88200*g[1]*g[2]^4*g[3]^2*g[4]^2+42000*g[1]*g[2]^3*g[3]^4*g[4]+1260*g[2]^6*g[3]^2*g[5]+4200*g[2]^5*g[3]^3*g[4]+38016*g[1]^5*g[5]*g[6]*g[7]+345600*g[1]^4*g[2]*g[4]*g[6]*g[7]+233280*g[1]^4*g[2]*g[5]^2*g[7]+172800*g[1]^4*g[3]^2*g[6]*g[7]+406080*g[1]^4*g[3]*g[4]*g[5]*g[7]+36288*g[1]^4*g[3]*g[5]^2*g[6]+15120*g[1]^4*g[4]^2*g[5]*g[6]+684000*g[1]^3*g[2]^2*g[3]*g[6]*g[7]+466560*g[1]^3*g[2]^2*g[4]*g[5]*g[7]+6048*g[1]^3*g[2]^2*g[5]^2*g[6]+622080*g[1]^3*g[2]*g[3]^2*g[5]*g[7]+483840*g[1]^3*g[2]*g[3]*g[4]*g[5]*g[6]+36288*g[1]^3*g[2]*g[4]^2*g[5]^2+129600*g[1]^3*g[3]^3*g[4]*g[7]+226800*g[1]^3*g[3]^2*g[4]^2*g[6]+133056*g[1]^3*g[3]^2*g[4]*g[5]^2+68040*g[1]^3*g[3]*g[4]^3*g[5]+145800*g[1]^2*g[2]^4*g[6]*g[7]+146880*g[1]^2*g[2]^3*g[3]*g[5]*g[7]+97200*g[1]^2*g[2]^3*g[4]^2*g[7]+272160*g[1]^2*g[2]^3*g[4]*g[5]*g[6]+518400*g[1]^2*g[2]^2*g[3]^2*g[4]*g[7]+70560*g[1]^2*g[2]^2*g[3]^2*g[5]*g[6]+283500*g[1]^2*g[2]^2*g[3]*g[4]^2*g[6]+72576*g[1]^2*g[2]^2*g[3]*g[4]*g[5]^2+115200*g[1]^2*g[2]*g[3]^4*g[7]+201600*g[1]^2*g[2]*g[3]^3*g[4]*g[6]+8064*g[1]^2*g[2]*g[3]^3*g[5]^2+287280*g[1]^2*g[2]*g[3]^2*g[4]^2*g[5]+47040*g[1]^2*g[3]^4*g[4]*g[5]+37800*g[1]^2*g[3]^3*g[4]^3+9720*g[1]*g[2]^5*g[5]*g[7]+151200*g[1]*g[2]^4*g[3]*g[4]*g[7]+90720*g[1]*g[2]^4*g[3]*g[5]*g[6]+18144*g[1]*g[2]^4*g[4]*g[5]^2+64800*g[1]*g[2]^3*g[3]^3*g[7]+126000*g[1]*g[2]^3*g[3]^2*g[4]*g[6]+18144*g[1]*g[2]^3*g[3]^2*g[5]^2+94500*g[1]*g[2]^3*g[3]*g[4]^2*g[5]+60480*g[1]*g[2]^2*g[3]^3*g[4]*g[5]+113400*g[1]*g[2]^2*g[3]^2*g[4]^3+58800*g[1]*g[2]*g[3]^4*g[4]^2+7200*g[2]^5*g[3]^2*g[7]+1512*g[2]^5*g[3]*g[5]^2+15120*g[2]^4*g[3]^2*g[4]*g[5]+3360*g[2]^3*g[3]^4*g[5]+25200*g[2]^3*g[3]^3*g[4]^2+11200*g[2]^2*g[3]^5*g[4]+207360*g[1]^3*g[2]*g[5]*g[6]*g[7]+388800*g[1]^3*g[3]*g[4]*g[6]*g[7]+221184*g[1]^3*g[3]*g[5]^2*g[7]+116640*g[1]^3*g[4]^2*g[5]*g[7]+12096*g[1]^3*g[4]*g[5]^2*g[6]+388800*g[1]^2*g[2]^2*g[4]*g[6]*g[7]+46656*g[1]^2*g[2]^2*g[5]^2*g[7]+345600*g[1]^2*g[2]*g[3]^2*g[6]*g[7]+414720*g[1]^2*g[2]*g[3]*g[4]*g[5]*g[7]+24192*g[1]^2*g[2]*g[3]*g[5]^2*g[6]+136080*g[1]^2*g[2]*g[4]^2*g[5]*g[6]+80640*g[1]^2*g[3]^3*g[5]*g[7]+64800*g[1]^2*g[3]^2*g[4]^2*g[7]+141120*g[1]^2*g[3]^2*g[4]*g[5]*g[6]+113400*g[1]^2*g[3]*g[4]^3*g[6]+54432*g[1]^2*g[3]*g[4]^2*g[5]^2+194400*g[1]*g[2]^3*g[3]*g[6]*g[7]+103680*g[1]*g[2]^3*g[4]*g[5]*g[7]+54432*g[1]*g[2]^3*g[5]^2*g[6]+51840*g[1]*g[2]^2*g[3]^2*g[5]*g[7]+194400*g[1]*g[2]^2*g[3]*g[4]^2*g[7]+181440*g[1]*g[2]^2*g[3]*g[4]*g[5]*g[6]+100800*g[1]*g[2]*g[3]^3*g[4]*g[7]+176400*g[1]*g[2]*g[3]^2*g[4]^2*g[6]+12096*g[1]*g[2]*g[3]^2*g[4]*g[5]^2+68040*g[1]*g[2]*g[3]*g[4]^3*g[5]+40320*g[1]*g[3]^3*g[4]^2*g[5]+12960*g[2]^4*g[3]*g[5]*g[7]+43200*g[2]^3*g[3]^2*g[4]*g[7]+10080*g[2]^3*g[3]^2*g[5]*g[6]+12096*g[2]^3*g[3]*g[4]*g[5]^2+19200*g[2]^2*g[3]^4*g[7]+33600*g[2]^2*g[3]^3*g[4]*g[6]+4032*g[2]^2*g[3]^3*g[5]^2+45360*g[2]^2*g[3]^2*g[4]^2*g[5]+20160*g[2]*g[3]^4*g[4]*g[5]+241920*g[1]^2*g[3]*g[5]*g[6]*g[7]+194400*g[1]^2*g[4]^2*g[6]*g[7]+93312*g[1]^2*g[4]*g[5]^2*g[7]+155520*g[1]*g[2]^2*g[5]*g[6]*g[7]+302400*g[1]*g[2]*g[3]*g[4]*g[6]*g[7]+116640*g[1]*g[2]*g[4]^2*g[5]*g[7]+36288*g[1]*g[2]*g[4]*g[5]^2*g[6]+69120*g[1]*g[3]^2*g[4]*g[5]*g[7]+120960*g[1]*g[3]*g[4]^2*g[5]*g[6]+5184*g[2]^3*g[5]^2*g[7]+57600*g[2]^2*g[3]^2*g[6]*g[7]+77760*g[2]^2*g[3]*g[4]*g[5]*g[7]+12096*g[2]^2*g[3]*g[5]^2*g[6]+34560*g[2]*g[3]^3*g[5]*g[7]+60480*g[2]*g[3]^2*g[4]*g[5]*g[6]+18144*g[2]*g[3]*g[4]^2*g[5]^2+8064*g[3]^3*g[4]*g[5]^2+207360*g[1]*g[4]*g[5]*g[6]*g[7]+103680*g[2]*g[3]*g[5]*g[6]*g[7]+31104*g[2]*g[4]*g[5]^2*g[7]+13824*g[3]^2*g[5]^2*g[7]+24192*g[3]*g[4]*g[5]^2*g[6]+41472*g[5]^2*g[6]*g[7]): KerduKost([1, 2, 2, 2],[1, 1, 1, 2, 2]):=-2*(6*g[1]^16*g[2]^2*g[3]+3*g[1]^16*g[3]*g[4]+32*g[1]^15*g[2]^2*g[4]+54*g[1]^15*g[2]*g[3]^2+72*g[1]^14*g[2]^3*g[3]+45*g[1]^15*g[3]*g[5]+120*g[1]^14*g[2]^2*g[5]+402*g[1]^14*g[2]*g[3]*g[4]+81*g[1]^14*g[3]^3+288*g[1]^13*g[2]^3*g[4]+696*g[1]^13*g[2]^2*g[3]^2+324*g[1]^12*g[2]^4*g[3]+216*g[1]^14*g[3]*g[6]+60*g[1]^14*g[4]*g[5]+336*g[1]^13*g[2]^2*g[6]+1440*g[1]^13*g[2]*g[3]*g[5]+480*g[1]^13*g[2]*g[4]^2+483*g[1]^13*g[3]^2*g[4]+600*g[1]^12*g[2]^3*g[5]+4451*g[1]^12*g[2]^2*g[3]*g[4]+1674*g[1]^12*g[2]*g[3]^3+1248*g[1]^11*g[2]^4*g[4]+2484*g[1]^11*g[2]^3*g[3]^2+744*g[1]^10*g[2]^5*g[3]+378*g[1]^13*g[3]*g[7]+432*g[1]^13*g[4]*g[6]+504*g[1]^12*g[2]^2*g[7]+5184*g[1]^12*g[2]*g[3]*g[6]+2340*g[1]^12*g[2]*g[4]*g[5]+1080*g[1]^12*g[3]^2*g[5]+504*g[1]^12*g[3]*g[4]^2+864*g[1]^11*g[2]^3*g[6]+8043*g[1]^11*g[2]^2*g[3]*g[5]+7200*g[1]^11*g[2]^2*g[4]^2+10956*g[1]^11*g[2]*g[3]^2*g[4]+1620*g[1]^11*g[3]^4+2520*g[1]^10*g[2]^4*g[5]+14580*g[1]^10*g[2]^3*g[3]*g[4]+4437*g[1]^10*g[2]^2*g[3]^3+2400*g[1]^9*g[2]^5*g[4]+5400*g[1]^9*g[2]^4*g[3]^2+270*g[1]^8*g[2]^6*g[3]+756*g[1]^12*g[4]*g[7]+180*g[1]^12*g[5]*g[6]+10080*g[1]^11*g[2]*g[3]*g[7]+11136*g[1]^11*g[2]*g[4]*g[6]+5940*g[1]^11*g[3]^2*g[6]+1344*g[1]^11*g[3]*g[4]*g[5]+1512*g[1]^10*g[2]^3*g[7]+11952*g[1]^10*g[2]^2*g[3]*g[6]+26136*g[1]^10*g[2]^2*g[4]*g[5]+8532*g[1]^10*g[2]*g[3]^2*g[5]+19824*g[1]^10*g[2]*g[3]*g[4]^2+12114*g[1]^10*g[3]^3*g[4]+2160*g[1]^9*g[2]^4*g[6]+26976*g[1]^9*g[2]^3*g[3]*g[5]+18720*g[1]^9*g[2]^3*g[4]^2+37145*g[1]^9*g[2]^2*g[3]^2*g[4]+2160*g[1]^9*g[2]*g[3]^4+3960*g[1]^8*g[2]^5*g[5]+23445*g[1]^8*g[2]^4*g[3]*g[4]+5940*g[1]^8*g[2]^3*g[3]^3+1710*g[1]^7*g[2]^5*g[3]^2+25956*g[1]^10*g[2]*g[4]*g[7]+6120*g[1]^10*g[2]*g[5]*g[6]+14364*g[1]^10*g[3]^2*g[7]+16704*g[1]^10*g[3]*g[4]*g[6]-1620*g[1]^10*g[3]*g[5]^2+31410*g[1]^9*g[2]^2*g[3]*g[7]+35760*g[1]^9*g[2]^2*g[4]*g[6]+17280*g[1]^9*g[2]^2*g[5]^2+9720*g[1]^9*g[2]*g[3]^2*g[6]+46026*g[1]^9*g[2]*g[3]*g[4]*g[5]+1188*g[1]^9*g[3]^3*g[5]+30240*g[1]^9*g[3]^2*g[4]^2+2520*g[1]^8*g[2]^4*g[7]+12960*g[1]^8*g[2]^3*g[3]*g[6]+74664*g[1]^8*g[2]^3*g[4]*g[5]+35928*g[1]^8*g[2]^2*g[3]^2*g[5]+73440*g[1]^8*g[2]^2*g[3]*g[4]^2+33840*g[1]^8*g[2]*g[3]^3*g[4]+40887*g[1]^7*g[2]^4*g[3]*g[5]+10080*g[1]^7*g[2]^4*g[4]^2+47880*g[1]^7*g[2]^3*g[3]^2*g[4]-2400*g[1]^7*g[2]^2*g[3]^4+6930*g[1]^6*g[2]^5*g[3]*g[4]-16065*g[1]^6*g[2]^4*g[3]^3-756*g[1]^10*g[6]*g[7]+25200*g[1]^9*g[2]*g[5]*g[7]+55080*g[1]^9*g[3]*g[4]*g[7]+6228*g[1]^9*g[3]*g[5]*g[6]+7200*g[1]^9*g[4]^2*g[6]-2160*g[1]^9*g[4]*g[5]^2+96120*g[1]^8*g[2]^2*g[4]*g[7]+29088*g[1]^8*g[2]^2*g[5]*g[6]+38880*g[1]^8*g[2]*g[3]^2*g[7]+54720*g[1]^8*g[2]*g[3]*g[4]*g[6]+26460*g[1]^8*g[2]*g[3]*g[5]^2+9720*g[1]^8*g[2]*g[4]^2*g[5]+22824*g[1]^8*g[3]^2*g[4]*g[5]+18900*g[1]^8*g[3]*g[4]^3+36720*g[1]^7*g[2]^3*g[3]*g[7]+30240*g[1]^7*g[2]^3*g[4]*g[6]+64800*g[1]^7*g[2]^3*g[5]^2+5760*g[1]^7*g[2]^2*g[3]^2*g[6]+181008*g[1]^7*g[2]^2*g[3]*g[4]*g[5]+9072*g[1]^7*g[2]*g[3]^3*g[5]+118440*g[1]^7*g[2]*g[3]^2*g[4]^2+4200*g[1]^7*g[3]^4*g[4]-2520*g[1]^6*g[2]^5*g[7]-7560*g[1]^6*g[2]^4*g[3]*g[6]+59724*g[1]^6*g[2]^4*g[4]*g[5]+29232*g[1]^6*g[2]^3*g[3]^2*g[5]+70560*g[1]^6*g[2]^3*g[3]*g[4]^2-140*g[1]^6*g[2]^2*g[3]^3*g[4]+14112*g[1]^5*g[2]^5*g[3]*g[5]-24255*g[1]^5*g[2]^4*g[3]^2*g[4]-42840*g[1]^5*g[2]^3*g[3]^4+4725*g[1]^4*g[2]^6*g[3]*g[4]-15750*g[1]^4*g[2]^5*g[3]^3+5040*g[1]^8*g[2]*g[6]*g[7]+50544*g[1]^8*g[3]*g[5]*g[7]+37800*g[1]^8*g[4]^2*g[7]-3384*g[1]^8*g[4]*g[5]*g[6]+110592*g[1]^7*g[2]^2*g[5]*g[7]+198720*g[1]^7*g[2]*g[3]*g[4]*g[7]+46512*g[1]^7*g[2]*g[3]*g[5]*g[6]+20160*g[1]^7*g[2]*g[4]^2*g[6]+12960*g[1]^7*g[2]*g[4]*g[5]^2-2160*g[1]^7*g[3]^3*g[7]+27720*g[1]^7*g[3]^2*g[4]*g[6]-6480*g[1]^7*g[3]^2*g[5]^2+20412*g[1]^7*g[3]*g[4]^2*g[5]+109080*g[1]^6*g[2]^3*g[4]*g[7]+31752*g[1]^6*g[2]^3*g[5]*g[6]+9720*g[1]^6*g[2]^2*g[3]^2*g[7]+40320*g[1]^6*g[2]^2*g[3]*g[4]*g[6]+110376*g[1]^6*g[2]^2*g[3]*g[5]^2+37800*g[1]^6*g[2]^2*g[4]^2*g[5]+149688*g[1]^6*g[2]*g[3]^2*g[4]*g[5]+68040*g[1]^6*g[2]*g[3]*g[4]^3+10080*g[1]^6*g[3]^4*g[5]+26460*g[1]^6*g[3]^3*g[4]^2-23130*g[1]^5*g[2]^4*g[3]*g[7]+60480*g[1]^5*g[2]^4*g[5]^2-37800*g[1]^5*g[2]^3*g[3]^2*g[6]+112140*g[1]^5*g[2]^3*g[3]*g[4]*g[5]-54264*g[1]^5*g[2]^2*g[3]^3*g[5]+68040*g[1]^5*g[2]^2*g[3]^2*g[4]^2-34440*g[1]^5*g[2]*g[3]^4*g[4]+18900*g[1]^4*g[2]^5*g[4]*g[5]-50400*g[1]^4*g[2]^4*g[3]^2*g[5]+25200*g[1]^4*g[2]^4*g[3]*g[4]^2-138600*g[1]^4*g[2]^3*g[3]^3*g[4]-33600*g[1]^4*g[2]^2*g[3]^5+8505*g[1]^3*g[2]^6*g[3]*g[5]-18900*g[1]^3*g[2]^5*g[3]^2*g[4]-18900*g[1]^3*g[2]^4*g[3]^4-4725*g[1]^2*g[2]^6*g[3]^3+19440*g[1]^7*g[3]*g[6]*g[7]+49248*g[1]^7*g[4]*g[5]*g[7]-6480*g[1]^7*g[5]^2*g[6]+32760*g[1]^6*g[2]^2*g[6]*g[7]+220320*g[1]^6*g[2]*g[3]*g[5]*g[7]+126360*g[1]^6*g[2]*g[4]^2*g[7]+13608*g[1]^6*g[2]*g[4]*g[5]*g[6]+45360*g[1]^6*g[3]^2*g[4]*g[7]+20160*g[1]^6*g[3]^2*g[5]*g[6]+20160*g[1]^6*g[3]*g[4]^2*g[6]-9072*g[1]^6*g[3]*g[4]*g[5]^2+111456*g[1]^5*g[2]^3*g[5]*g[7]+125280*g[1]^5*g[2]^2*g[3]*g[4]*g[7]-504*g[1]^5*g[2]^2*g[3]*g[5]*g[6]+54432*g[1]^5*g[2]^2*g[4]*g[5]^2-49680*g[1]^5*g[2]*g[3]^3*g[7]+63000*g[1]^5*g[2]*g[3]^2*g[4]*g[6]+33264*g[1]^5*g[2]*g[3]^2*g[5]^2+99792*g[1]^5*g[2]*g[3]*g[4]^2*g[5]+62832*g[1]^5*g[3]^3*g[4]*g[5]+18900*g[1]^5*g[3]^2*g[4]^3+40500*g[1]^4*g[2]^4*g[4]*g[7]+11340*g[1]^4*g[2]^4*g[5]*g[6]-162000*g[1]^4*g[2]^3*g[3]^2*g[7]+31752*g[1]^4*g[2]^3*g[3]*g[5]^2+22680*g[1]^4*g[2]^3*g[4]^2*g[5]-33600*g[1]^4*g[2]^2*g[3]^3*g[6]-52920*g[1]^4*g[2]^2*g[3]^2*g[4]*g[5]+56700*g[1]^4*g[2]^2*g[3]*g[4]^3-70560*g[1]^4*g[2]*g[3]^4*g[5]-46200*g[1]^4*g[2]*g[3]^3*g[4]^2-16800*g[1]^4*g[3]^5*g[4]-3600*g[1]^3*g[2]^5*g[3]*g[7]+30240*g[1]^3*g[2]^5*g[5]^2-18900*g[1]^3*g[2]^4*g[3]^2*g[6]-15120*g[1]^3*g[2]^4*g[3]*g[4]*g[5]-72240*g[1]^3*g[2]^3*g[3]^3*g[5]-50400*g[1]^3*g[2]^3*g[3]^2*g[4]^2-177800*g[1]^3*g[2]^2*g[3]^4*g[4]-13860*g[1]^2*g[2]^5*g[3]^2*g[5]-45150*g[1]^2*g[2]^4*g[3]^3*g[4]-4725*g[1]*g[2]^6*g[3]^2*g[4]-4200*g[1]*g[2]^5*g[3]^4+23760*g[1]^6*g[4]*g[6]*g[7]+78480*g[1]^5*g[2]*g[3]*g[6]*g[7]+178848*g[1]^5*g[2]*g[4]*g[5]*g[7]-15120*g[1]^5*g[2]*g[5]^2*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[4]*g[5]-26460*g[1]*g[2]^4*g[3]^3*g[5]-12600*g[1]*g[2]^4*g[3]^2*g[4]^2-12600*g[1]*g[2]^3*g[3]^4*g[4]-4200*g[2]^5*g[3]^3*g[4]+2592*g[1]^5*g[5]*g[6]*g[7]+64800*g[1]^4*g[2]*g[4]*g[6]*g[7]+43200*g[1]^4*g[3]^2*g[6]*g[7]+90720*g[1]^4*g[3]*g[4]*g[5]*g[7]-18144*g[1]^4*g[3]*g[5]^2*g[6]-18000*g[1]^3*g[2]^2*g[3]*g[6]*g[7]+38880*g[1]^3*g[2]^2*g[4]*g[5]*g[7]-3024*g[1]^3*g[2]^2*g[5]^2*g[6]-146880*g[1]^3*g[2]*g[3]^2*g[5]*g[7]-90720*g[1]^3*g[2]*g[3]*g[4]*g[5]*g[6]-108000*g[1]^3*g[3]^3*g[4]*g[7]+50400*g[1]^3*g[3]^2*g[4]^2*g[6]-54432*g[1]^3*g[3]^2*g[4]*g[5]^2+24300*g[1]^2*g[2]^4*g[6]*g[7]+38880*g[1]^2*g[2]^3*g[3]*g[5]*g[7]-16200*g[1]^2*g[2]^3*g[4]^2*g[7]-68040*g[1]^2*g[2]^3*g[4]*g[5]*g[6]-270000*g[1]^2*g[2]^2*g[3]^2*g[4]*g[7]-20160*g[1]^2*g[2]^2*g[3]^2*g[5]*g[6]+27216*g[1]^2*g[2]^2*g[3]*g[4]*g[5]^2-57600*g[1]^2*g[2]*g[3]^4*g[7]-33600*g[1]^2*g[2]*g[3]^3*g[4]*g[6]-12096*g[1]^2*g[2]*g[3]^3*g[5]^2-181440*g[1]^2*g[2]*g[3]^2*g[4]^2*g[5]-33600*g[1]^2*g[3]^4*g[4]*g[5]-37800*g[1]^2*g[3]^3*g[4]^3-6480*g[1]*g[2]^5*g[5]*g[7]-16200*g[1]*g[2]^4*g[3]*g[4]*g[7]-11340*g[1]*g[2]^4*g[3]*g[5]*g[6]-9072*g[1]*g[2]^4*g[4]*g[5]^2-32400*g[1]*g[2]^3*g[3]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g[4]^3*g[5]-45360*g[1]*g[3]^3*g[4]^2*g[5]-15120*g[2]^4*g[3]*g[5]*g[7]-15120*g[2]^3*g[3]*g[4]*g[5]^2-14400*g[2]^2*g[3]^4*g[7]+16800*g[2]^2*g[3]^3*g[4]*g[6]-6048*g[2]^2*g[3]^3*g[5]^2-30240*g[2]^2*g[3]^2*g[4]^2*g[5]-20160*g[2]*g[3]^4*g[4]*g[5]-51840*g[1]^2*g[3]*g[5]*g[6]*g[7]-32400*g[1]^2*g[4]^2*g[6]*g[7]-31104*g[1]^2*g[4]*g[5]^2*g[7]-12960*g[1]*g[2]^2*g[5]*g[6]*g[7]-64800*g[1]*g[2]*g[3]*g[4]*g[6]*g[7]-77760*g[1]*g[2]*g[4]^2*g[5]*g[7]-18144*g[1]*g[2]*g[4]*g[5]^2*g[6]-77760*g[1]*g[3]^2*g[4]*g[5]*g[7]-45360*g[1]*g[3]*g[4]^2*g[5]*g[6]-10368*g[2]^3*g[5]^2*g[7]+14400*g[2]^2*g[3]^2*g[6]*g[7]-38880*g[2]^2*g[3]*g[4]*g[5]*g[7]-6048*g[2]^2*g[3]*g[5]^2*g[6]-40320*g[2]*g[3]^3*g[5]*g[7]-27216*g[2]*g[3]*g[4]^2*g[5]^2-12096*g[3]^3*g[4]*g[5]^2-77760*g[1]*g[4]*g[5]*g[6]*g[7]-17280*g[2]*g[3]*g[5]*g[6]*g[7]-31104*g[2]*g[4]*g[5]^2*g[7]-20736*g[3]^2*g[5]^2*g[7]-12096*g[3]*g[4]*g[5]^2*g[6]-20736*g[5]^2*g[6]*g[7])/(6*g[1]^16*g[2]^2*g[3]+3*g[1]^16*g[3]*g[4]+32*g[1]^15*g[2]^2*g[4]+54*g[1]^15*g[2]*g[3]^2+90*g[1]^14*g[2]^3*g[3]+45*g[1]^15*g[3]*g[5]+120*g[1]^14*g[2]^2*g[5]+447*g[1]^14*g[2]*g[3]*g[4]+81*g[1]^14*g[3]^3+384*g[1]^13*g[2]^3*g[4]+768*g[1]^13*g[2]^2*g[3]^2+612*g[1]^12*g[2]^4*g[3]+243*g[1]^14*g[3]*g[6]+60*g[1]^14*g[4]*g[5]+288*g[1]^13*g[2]^2*g[6]+1575*g[1]^13*g[2]*g[3]*g[5]+768*g[1]^13*g[2]*g[4]^2+546*g[1]^13*g[3]^2*g[4]+1200*g[1]^12*g[2]^3*g[5]+5141*g[1]^12*g[2]^2*g[3]*g[4]+1674*g[1]^12*g[2]*g[3]^3+2304*g[1]^11*g[2]^4*g[4]+4374*g[1]^11*g[2]^3*g[3]^2+2412*g[1]^10*g[2]^5*g[3]+504*g[1]^13*g[3]*g[7]+576*g[1]^13*g[4]*g[6]+336*g[1]^12*g[2]^2*g[7]+5022*g[1]^12*g[2]*g[3]*g[6]+4320*g[1]^12*g[2]*g[4]*g[5]+1080*g[1]^12*g[3]^2*g[5]+972*g[1]^12*g[3]*g[4]^2+2592*g[1]^11*g[2]^3*g[6]+12543*g[1]^11*g[2]^2*g[3]*g[5]+8640*g[1]^11*g[2]^2*g[4]^2+11136*g[1]^11*g[2]*g[3]^2*g[4]+1620*g[1]^11*g[3]^4+6480*g[1]^10*g[2]^4*g[5]+24141*g[1]^10*g[2]^3*g[3]*g[4]+8217*g[1]^10*g[2]^2*g[3]^3+7680*g[1]^9*g[2]^5*g[4]+17280*g[1]^9*g[2]^4*g[3]^2+4590*g[1]^8*g[2]^6*g[3]+1512*g[1]^12*g[4]*g[7]+540*g[1]^12*g[5]*g[6]+10080*g[1]^11*g[2]*g[3]*g[7]+13248*g[1]^11*g[2]*g[4]*g[6]+3600*g[1]^11*g[2]*g[5]^2+4860*g[1]^11*g[3]^2*g[6]+4134*g[1]^11*g[3]*g[4]*g[5]+3024*g[1]^10*g[2]^3*g[7]+23931*g[1]^10*g[2]^2*g[3]*g[6]+40716*g[1]^10*g[2]^2*g[4]*g[5]+10692*g[1]^10*g[2]*g[3]^2*g[5]+21084*g[1]^10*g[2]*g[3]*g[4]^2+12654*g[1]^10*g[3]^3*g[4]+12960*g[1]^9*g[2]^4*g[6]+59865*g[1]^9*g[2]^3*g[3]*g[5]+28800*g[1]^9*g[2]^3*g[4]^2+59450*g[1]^9*g[2]^2*g[3]^2*g[4]+7020*g[1]^9*g[2]*g[3]^4+18000*g[1]^8*g[2]^5*g[5]+66465*g[1]^8*g[2]^4*g[3]*g[4]+29700*g[1]^8*g[2]^3*g[3]^3+10080*g[1]^7*g[2]^6*g[4]+42570*g[1]^7*g[2]^5*g[3]^2+1890*g[1]^6*g[2]^7*g[3]+2520*g[1]^11*g[5]*g[7]+30744*g[1]^10*g[2]*g[4]*g[7]+15660*g[1]^10*g[2]*g[5]*g[6]+10584*g[1]^10*g[3]^2*g[7]+20322*g[1]^10*g[3]*g[4]*g[6]+1080*g[1]^10*g[3]*g[5]^2+1800*g[1]^10*g[4]^2*g[5]+53880*g[1]^9*g[2]^2*g[3]*g[7]+61440*g[1]^9*g[2]^2*g[4]*g[6]+46080*g[1]^9*g[2]^2*g[5]^2+21060*g[1]^9*g[2]*g[3]^2*g[6]+59166*g[1]^9*g[2]*g[3]*g[4]*g[5]+6048*g[1]^9*g[3]^3*g[5]+33480*g[1]^9*g[3]^2*g[4]^2+15120*g[1]^8*g[2]^4*g[7]+73980*g[1]^8*g[2]^3*g[3]*g[6]+142272*g[1]^8*g[2]^3*g[4]*g[5]+73404*g[1]^8*g[2]^2*g[3]^2*g[5]+108000*g[1]^8*g[2]^2*g[3]*g[4]^2+70560*g[1]^8*g[2]*g[3]^3*g[4]+30240*g[1]^7*g[2]^5*g[6]+179631*g[1]^7*g[2]^4*g[3]*g[5]+20160*g[1]^7*g[2]^4*g[4]^2+158400*g[1]^7*g[2]^3*g[3]^2*g[4]+20280*g[1]^7*g[2]^2*g[3]^4+12600*g[1]^6*g[2]^6*g[5]+108045*g[1]^6*g[2]^5*g[3]*g[4]+97335*g[1]^6*g[2]^4*g[3]^3+30240*g[1]^5*g[2]^6*g[3]^2+1512*g[1]^10*g[6]*g[7]+52920*g[1]^9*g[2]*g[5]*g[7]+47520*g[1]^9*g[3]*g[4]*g[7]+18144*g[1]^9*g[3]*g[5]*g[6]+17280*g[1]^9*g[4]^2*g[6]+1440*g[1]^9*g[4]*g[5]^2+149040*g[1]^8*g[2]^2*g[4]*g[7]+107064*g[1]^8*g[2]^2*g[5]*g[6]+69120*g[1]^8*g[2]*g[3]^2*g[7]+108360*g[1]^8*g[2]*g[3]*g[4]*g[6]+37800*g[1]^8*g[2]*g[3]*g[5]^2+7344*g[1]^8*g[2]*g[4]^2*g[5]+52848*g[1]^8*g[3]^2*g[4]*g[5]+26460*g[1]^8*g[3]*g[4]^3+155520*g[1]^7*g[2]^3*g[3]*g[7]+80640*g[1]^7*g[2]^3*g[4]*g[6]+194400*g[1]^7*g[2]^3*g[5]^2+60840*g[1]^7*g[2]^2*g[3]^2*g[6]+340308*g[1]^7*g[2]^2*g[3]*g[4]*g[5]+50112*g[1]^7*g[2]*g[3]^3*g[5]+178920*g[1]^7*g[2]*g[3]^2*g[4]^2+11760*g[1]^7*g[3]^4*g[4]+35280*g[1]^6*g[2]^5*g[7]+216405*g[1]^6*g[2]^4*g[3]*g[6]+164052*g[1]^6*g[2]^4*g[4]*g[5]+293832*g[1]^6*g[2]^3*g[3]^2*g[5]+151200*g[1]^6*g[2]^3*g[3]*g[4]^2+183820*g[1]^6*g[2]^2*g[3]^3*g[4]+203301*g[1]^5*g[2]^5*g[3]*g[5]+290430*g[1]^5*g[2]^4*g[3]^2*g[4]+118440*g[1]^5*g[2]^3*g[3]^4+39375*g[1]^4*g[2]^6*g[3]*g[4]+59850*g[1]^4*g[2]^5*g[3]^3+9450*g[1]^3*g[2]^7*g[3]^2+30240*g[1]^8*g[2]*g[6]*g[7]+71712*g[1]^8*g[3]*g[5]*g[7]+45360*g[1]^8*g[4]^2*g[7]+30528*g[1]^8*g[4]*g[5]*g[6]+289008*g[1]^7*g[2]^2*g[5]*g[7]+276480*g[1]^7*g[2]*g[3]*g[4]*g[7]+150336*g[1]^7*g[2]*g[3]*g[5]*g[6]+40320*g[1]^7*g[2]*g[4]^2*g[6]+17280*g[1]^7*g[2]*g[4]*g[5]^2+12960*g[1]^7*g[3]^3*g[7]+35280*g[1]^7*g[3]^2*g[4]*g[6]+4320*g[1]^7*g[3]^2*g[5]^2+68796*g[1]^7*g[3]*g[4]^2*g[5]+231120*g[1]^6*g[2]^3*g[4]*g[7]+286776*g[1]^6*g[2]^3*g[5]*g[6]+225360*g[1]^6*g[2]^2*g[3]^2*g[7]+240660*g[1]^6*g[2]^2*g[3]*g[4]*g[6]+299376*g[1]^6*g[2]^2*g[3]*g[5]^2+45360*g[1]^6*g[2]^2*g[4]^2*g[5]+399168*g[1]^6*g[2]*g[3]^2*g[4]*g[5]+102060*g[1]^6*g[2]*g[3]*g[4]^3+10080*g[1]^6*g[3]^4*g[5]+41580*g[1]^6*g[3]^3*g[4]^2+327240*g[1]^5*g[2]^4*g[3]*g[7]+241920*g[1]^5*g[2]^4*g[5]^2+355320*g[1]^5*g[2]^3*g[3]^2*g[6]+533988*g[1]^5*g[2]^3*g[3]*g[4]*g[5]+240576*g[1]^5*g[2]^2*g[3]^3*g[5]+257040*g[1]^5*g[2]^2*g[3]^2*g[4]^2+89040*g[1]^5*g[2]*g[3]^4*g[4]+103950*g[1]^4*g[2]^5*g[3]*g[6]+90720*g[1]^4*g[2]^5*g[4]*g[5]+317520*g[1]^4*g[2]^4*g[3]^2*g[5]+107100*g[1]^4*g[2]^4*g[3]*g[4]^2+449400*g[1]^4*g[2]^3*g[3]^3*g[4]+67200*g[1]^4*g[2]^2*g[3]^5+62685*g[1]^3*g[2]^6*g[3]*g[5]+100800*g[1]^3*g[2]^5*g[3]^2*g[4]+44100*g[1]^3*g[2]^4*g[3]^4+14175*g[1]^2*g[2]^7*g[3]*g[4]+14175*g[1]^2*g[2]^6*g[3]^3+38880*g[1]^7*g[3]*g[6]*g[7]+115776*g[1]^7*g[4]*g[5]*g[7]+12960*g[1]^7*g[5]^2*g[6]+172080*g[1]^6*g[2]^2*g[6]*g[7]+544320*g[1]^6*g[2]*g[3]*g[5]*g[7]+174960*g[1]^6*g[2]*g[4]^2*g[7]+108864*g[1]^6*g[2]*g[4]*g[5]*g[6]+60480*g[1]^6*g[3]^2*g[4]*g[7]+30240*g[1]^6*g[3]^2*g[5]*g[6]+49140*g[1]^6*g[3]*g[4]^2*g[6]+36288*g[1]^6*g[3]*g[4]*g[5]^2+510192*g[1]^5*g[2]^3*g[5]*g[7]+440640*g[1]^5*g[2]^2*g[3]*g[4]*g[7]+560448*g[1]^5*g[2]^2*g[3]*g[5]*g[6]+145152*g[1]^5*g[2]^2*g[4]*g[5]^2+116640*g[1]^5*g[2]*g[3]^3*g[7]+267120*g[1]^5*g[2]*g[3]^2*g[4]*g[6]+139104*g[1]^5*g[2]*g[3]^2*g[5]^2+330372*g[1]^5*g[2]*g[3]*g[4]^2*g[5]+138432*g[1]^5*g[3]^3*g[4]*g[5]+37800*g[1]^5*g[3]^2*g[4]^3+124200*g[1]^4*g[2]^4*g[4]*g[7]+238140*g[1]^4*g[2]^4*g[5]*g[6]+669600*g[1]^4*g[2]^3*g[3]^2*g[7]+315000*g[1]^4*g[2]^3*g[3]*g[4]*g[6]+317520*g[1]^4*g[2]^3*g[3]*g[5]^2+75600*g[1]^4*g[2]^3*g[4]^2*g[5]+201600*g[1]^4*g[2]^2*g[3]^3*g[6]+756000*g[1]^4*g[2]^2*g[3]^2*g[4]*g[5]+56700*g[1]^4*g[2]^2*g[3]*g[4]^3+110880*g[1]^4*g[2]*g[3]^4*g[5]+130200*g[1]^4*g[2]*g[3]^3*g[4]^2+33600*g[1]^4*g[3]^5*g[4]+93600*g[1]^3*g[2]^5*g[3]*g[7]+75600*g[1]^3*g[2]^5*g[5]^2+132300*g[1]^3*g[2]^4*g[3]^2*g[6]+300510*g[1]^3*g[2]^4*g[3]*g[4]*g[5]+168000*g[1]^3*g[2]^3*g[3]^3*g[5]+264600*g[1]^3*g[2]^3*g[3]^2*g[4]^2+372400*g[1]^3*g[2]^2*g[3]^4*g[4]+42525*g[1]^2*g[2]^6*g[3]*g[6]+34020*g[1]^2*g[2]^6*g[4]*g[5]+54180*g[1]^2*g[2]^5*g[3]^2*g[5]+56700*g[1]^2*g[2]^5*g[3]*g[4]^2+129150*g[1]^2*g[2]^4*g[3]^3*g[4]+2835*g[1]*g[2]^7*g[3]*g[5]+15750*g[1]*g[2]^6*g[3]^2*g[4]+6300*g[1]*g[2]^5*g[3]^4+51840*g[1]^6*g[4]*g[6]*g[7]+60480*g[1]^6*g[5]^2*g[7]+349920*g[1]^5*g[2]*g[3]*g[6]*g[7]+533952*g[1]^5*g[2]*g[4]*g[5]*g[7]+30240*g[1]^5*g[2]*g[5]^2*g[6]+196992*g[1]^5*g[3]^2*g[5]*g[7]+64800*g[1]^5*g[3]*g[4]^2*g[7]+92736*g[1]^5*g[3]*g[4]*g[5]*g[6]+324000*g[1]^4*g[2]^3*g[6]*g[7]+1062720*g[1]^4*g[2]^2*g[3]*g[5]*g[7]+97200*g[1]^4*g[2]^2*g[4]^2*g[7]+272160*g[1]^4*g[2]^2*g[4]*g[5]*g[6]+216000*g[1]^4*g[2]*g[3]^2*g[4]*g[7]+332640*g[1]^4*g[2]*g[3]^2*g[5]*g[6]+214200*g[1]^4*g[2]*g[3]*g[4]^2*g[6]+266112*g[1]^4*g[2]*g[3]*g[4]*g[5]^2+57600*g[1]^4*g[3]^4*g[7]+100800*g[1]^4*g[3]^3*g[4]*g[6]+12096*g[1]^4*g[3]^3*g[5]^2+241920*g[1]^4*g[3]^2*g[4]^2*g[5]+152280*g[1]^3*g[2]^4*g[5]*g[7]+432000*g[1]^3*g[2]^3*g[3]*g[4]*g[7]+342720*g[1]^3*g[2]^3*g[3]*g[5]*g[6]+169344*g[1]^3*g[2]^3*g[4]*g[5]^2+535200*g[1]^3*g[2]^2*g[3]^3*g[7]+579600*g[1]^3*g[2]^2*g[3]^2*g[4]*g[6]+66528*g[1]^3*g[2]^2*g[3]^2*g[5]^2+283500*g[1]^3*g[2]^2*g[3]*g[4]^2*g[5]+483840*g[1]^3*g[2]*g[3]^3*g[4]*g[5]+75600*g[1]^3*g[3]^4*g[4]^2+48600*g[1]^2*g[2]^5*g[4]*g[7]+102060*g[1]^2*g[2]^5*g[5]*g[6]+156600*g[1]^2*g[2]^4*g[3]^2*g[7]+198450*g[1]^2*g[2]^4*g[3]*g[4]*g[6]+16632*g[1]^2*g[2]^4*g[3]*g[5]^2+68040*g[1]^2*g[2]^4*g[4]^2*g[5]+252000*g[1]^2*g[2]^3*g[3]^2*g[4]*g[5]+56700*g[1]^2*g[2]^3*g[3]*g[4]^3+23520*g[1]^2*g[2]^2*g[3]^4*g[5]+321300*g[1]^2*g[2]^2*g[3]^3*g[4]^2+67200*g[1]^2*g[2]*g[3]^5*g[4]+16200*g[1]*g[2]^6*g[3]*g[7]+18900*g[1]*g[2]^5*g[3]^2*g[6]+51030*g[1]*g[2]^5*g[3]*g[4]*g[5]+30240*g[1]*g[2]^4*g[3]^3*g[5]+88200*g[1]*g[2]^4*g[3]^2*g[4]^2+42000*g[1]*g[2]^3*g[3]^4*g[4]+1260*g[2]^6*g[3]^2*g[5]+4200*g[2]^5*g[3]^3*g[4]+38016*g[1]^5*g[5]*g[6]*g[7]+345600*g[1]^4*g[2]*g[4]*g[6]*g[7]+233280*g[1]^4*g[2]*g[5]^2*g[7]+172800*g[1]^4*g[3]^2*g[6]*g[7]+406080*g[1]^4*g[3]*g[4]*g[5]*g[7]+36288*g[1]^4*g[3]*g[5]^2*g[6]+15120*g[1]^4*g[4]^2*g[5]*g[6]+684000*g[1]^3*g[2]^2*g[3]*g[6]*g[7]+466560*g[1]^3*g[2]^2*g[4]*g[5]*g[7]+6048*g[1]^3*g[2]^2*g[5]^2*g[6]+622080*g[1]^3*g[2]*g[3]^2*g[5]*g[7]+483840*g[1]^3*g[2]*g[3]*g[4]*g[5]*g[6]+36288*g[1]^3*g[2]*g[4]^2*g[5]^2+129600*g[1]^3*g[3]^3*g[4]*g[7]+226800*g[1]^3*g[3]^2*g[4]^2*g[6]+133056*g[1]^3*g[3]^2*g[4]*g[5]^2+68040*g[1]^3*g[3]*g[4]^3*g[5]+145800*g[1]^2*g[2]^4*g[6]*g[7]+146880*g[1]^2*g[2]^3*g[3]*g[5]*g[7]+97200*g[1]^2*g[2]^3*g[4]^2*g[7]+272160*g[1]^2*g[2]^3*g[4]*g[5]*g[6]+518400*g[1]^2*g[2]^2*g[3]^2*g[4]*g[7]+70560*g[1]^2*g[2]^2*g[3]^2*g[5]*g[6]+283500*g[1]^2*g[2]^2*g[3]*g[4]^2*g[6]+72576*g[1]^2*g[2]^2*g[3]*g[4]*g[5]^2+115200*g[1]^2*g[2]*g[3]^4*g[7]+201600*g[1]^2*g[2]*g[3]^3*g[4]*g[6]+8064*g[1]^2*g[2]*g[3]^3*g[5]^2+287280*g[1]^2*g[2]*g[3]^2*g[4]^2*g[5]+47040*g[1]^2*g[3]^4*g[4]*g[5]+37800*g[1]^2*g[3]^3*g[4]^3+9720*g[1]*g[2]^5*g[5]*g[7]+151200*g[1]*g[2]^4*g[3]*g[4]*g[7]+90720*g[1]*g[2]^4*g[3]*g[5]*g[6]+18144*g[1]*g[2]^4*g[4]*g[5]^2+64800*g[1]*g[2]^3*g[3]^3*g[7]+126000*g[1]*g[2]^3*g[3]^2*g[4]*g[6]+18144*g[1]*g[2]^3*g[3]^2*g[5]^2+94500*g[1]*g[2]^3*g[3]*g[4]^2*g[5]+60480*g[1]*g[2]^2*g[3]^3*g[4]*g[5]+113400*g[1]*g[2]^2*g[3]^2*g[4]^3+58800*g[1]*g[2]*g[3]^4*g[4]^2+7200*g[2]^5*g[3]^2*g[7]+1512*g[2]^5*g[3]*g[5]^2+15120*g[2]^4*g[3]^2*g[4]*g[5]+3360*g[2]^3*g[3]^4*g[5]+25200*g[2]^3*g[3]^3*g[4]^2+11200*g[2]^2*g[3]^5*g[4]+207360*g[1]^3*g[2]*g[5]*g[6]*g[7]+388800*g[1]^3*g[3]*g[4]*g[6]*g[7]+221184*g[1]^3*g[3]*g[5]^2*g[7]+116640*g[1]^3*g[4]^2*g[5]*g[7]+12096*g[1]^3*g[4]*g[5]^2*g[6]+388800*g[1]^2*g[2]^2*g[4]*g[6]*g[7]+46656*g[1]^2*g[2]^2*g[5]^2*g[7]+345600*g[1]^2*g[2]*g[3]^2*g[6]*g[7]+414720*g[1]^2*g[2]*g[3]*g[4]*g[5]*g[7]+24192*g[1]^2*g[2]*g[3]*g[5]^2*g[6]+136080*g[1]^2*g[2]*g[4]^2*g[5]*g[6]+80640*g[1]^2*g[3]^3*g[5]*g[7]+64800*g[1]^2*g[3]^2*g[4]^2*g[7]+141120*g[1]^2*g[3]^2*g[4]*g[5]*g[6]+113400*g[1]^2*g[3]*g[4]^3*g[6]+54432*g[1]^2*g[3]*g[4]^2*g[5]^2+194400*g[1]*g[2]^3*g[3]*g[6]*g[7]+103680*g[1]*g[2]^3*g[4]*g[5]*g[7]+54432*g[1]*g[2]^3*g[5]^2*g[6]+51840*g[1]*g[2]^2*g[3]^2*g[5]*g[7]+194400*g[1]*g[2]^2*g[3]*g[4]^2*g[7]+181440*g[1]*g[2]^2*g[3]*g[4]*g[5]*g[6]+100800*g[1]*g[2]*g[3]^3*g[4]*g[7]+176400*g[1]*g[2]*g[3]^2*g[4]^2*g[6]+12096*g[1]*g[2]*g[3]^2*g[4]*g[5]^2+68040*g[1]*g[2]*g[3]*g[4]^3*g[5]+40320*g[1]*g[3]^3*g[4]^2*g[5]+12960*g[2]^4*g[3]*g[5]*g[7]+43200*g[2]^3*g[3]^2*g[4]*g[7]+10080*g[2]^3*g[3]^2*g[5]*g[6]+12096*g[2]^3*g[3]*g[4]*g[5]^2+19200*g[2]^2*g[3]^4*g[7]+33600*g[2]^2*g[3]^3*g[4]*g[6]+4032*g[2]^2*g[3]^3*g[5]^2+45360*g[2]^2*g[3]^2*g[4]^2*g[5]+20160*g[2]*g[3]^4*g[4]*g[5]+241920*g[1]^2*g[3]*g[5]*g[6]*g[7]+194400*g[1]^2*g[4]^2*g[6]*g[7]+93312*g[1]^2*g[4]*g[5]^2*g[7]+155520*g[1]*g[2]^2*g[5]*g[6]*g[7]+302400*g[1]*g[2]*g[3]*g[4]*g[6]*g[7]+116640*g[1]*g[2]*g[4]^2*g[5]*g[7]+36288*g[1]*g[2]*g[4]*g[5]^2*g[6]+69120*g[1]*g[3]^2*g[4]*g[5]*g[7]+120960*g[1]*g[3]*g[4]^2*g[5]*g[6]+5184*g[2]^3*g[5]^2*g[7]+57600*g[2]^2*g[3]^2*g[6]*g[7]+77760*g[2]^2*g[3]*g[4]*g[5]*g[7]+12096*g[2]^2*g[3]*g[5]^2*g[6]+34560*g[2]*g[3]^3*g[5]*g[7]+60480*g[2]*g[3]^2*g[4]*g[5]*g[6]+18144*g[2]*g[3]*g[4]^2*g[5]^2+8064*g[3]^3*g[4]*g[5]^2+207360*g[1]*g[4]*g[5]*g[6]*g[7]+103680*g[2]*g[3]*g[5]*g[6]*g[7]+31104*g[2]*g[4]*g[5]^2*g[7]+13824*g[3]^2*g[5]^2*g[7]+24192*g[3]*g[4]*g[5]^2*g[6]+41472*g[5]^2*g[6]*g[7]): KerduKost([1, 2, 2, 2],[1, 1, 1, 1, 3]):=24*(4*g[1]^13*g[2]^2*g[6]-8*g[1]^13*g[2]*g[4]^2-20*g[1]^12*g[2]^3*g[5]+36*g[1]^12*g[2]^2*g[3]*g[4]+16*g[1]^11*g[2]^4*g[4]-36*g[1]^11*g[2]^3*g[3]^2+8*g[1]^10*g[2]^5*g[3]-4*g[1]^13*g[4]*g[6]+14*g[1]^12*g[2]^2*g[7]+54*g[1]^12*g[2]*g[3]*g[6]-70*g[1]^12*g[2]*g[4]*g[5]-18*g[1]^12*g[3]*g[4]^2-72*g[1]^11*g[2]^3*g[6]-60*g[1]^11*g[2]^2*g[3]*g[5]+120*g[1]^11*g[2]^2*g[4]^2+144*g[1]^11*g[2]*g[3]^2*g[4]+28*g[1]^10*g[2]^3*g[3]*g[4]-216*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2]^3*g[5]^2*g[7]-2400*g[2]^2*g[3]^2*g[6]*g[7]+1080*g[2]^2*g[3]*g[4]*g[5]*g[7]+504*g[2]^2*g[3]*g[5]^2*g[6]+2400*g[2]*g[3]^3*g[5]*g[7]-3360*g[2]*g[3]^2*g[4]*g[5]*g[6]+756*g[2]*g[3]*g[4]^2*g[5]^2+336*g[3]^3*g[4]*g[5]^2-1440*g[2]*g[3]*g[5]*g[6]*g[7]+1296*g[2]*g[4]*g[5]^2*g[7]+1152*g[3]^2*g[5]^2*g[7]-1008*g[3]*g[4]*g[5]^2*g[6])/(6*g[1]^16*g[2]^2*g[3]+3*g[1]^16*g[3]*g[4]+32*g[1]^15*g[2]^2*g[4]+54*g[1]^15*g[2]*g[3]^2+90*g[1]^14*g[2]^3*g[3]+45*g[1]^15*g[3]*g[5]+120*g[1]^14*g[2]^2*g[5]+447*g[1]^14*g[2]*g[3]*g[4]+81*g[1]^14*g[3]^3+384*g[1]^13*g[2]^3*g[4]+768*g[1]^13*g[2]^2*g[3]^2+612*g[1]^12*g[2]^4*g[3]+243*g[1]^14*g[3]*g[6]+60*g[1]^14*g[4]*g[5]+288*g[1]^13*g[2]^2*g[6]+1575*g[1]^13*g[2]*g[3]*g[5]+768*g[1]^13*g[2]*g[4]^2+546*g[1]^13*g[3]^2*g[4]+1200*g[1]^12*g[2]^3*g[5]+5141*g[1]^12*g[2]^2*g[3]*g[4]+1674*g[1]^12*g[2]*g[3]^3+2304*g[1]^11*g[2]^4*g[4]+4374*g[1]^11*g[2]^3*g[3]^2+2412*g[1]^10*g[2]^5*g[3]+504*g[1]^13*g[3]*g[7]+576*g[1]^13*g[4]*g[6]+336*g[1]^12*g[2]^2*g[7]+5022*g[1]^12*g[2]*g[3]*g[6]+4320*g[1]^12*g[2]*g[4]*g[5]+1080*g[1]^12*g[3]^2*g[5]+972*g[1]^12*g[3]*g[4]^2+2592*g[1]^11*g[2]^3*g[6]+12543*g[1]^11*g[2]^2*g[3]*g[5]+8640*g[1]^11*g[2]^2*g[4]^2+11136*g[1]^11*g[2]*g[3]^2*g[4]+1620*g[1]^11*g[3]^4+6480*g[1]^10*g[2]^4*g[5]+24141*g[1]^10*g[2]^3*g[3]*g[4]+8217*g[1]^10*g[2]^2*g[3]^3+7680*g[1]^9*g[2]^5*g[4]+17280*g[1]^9*g[2]^4*g[3]^2+4590*g[1]^8*g[2]^6*g[3]+1512*g[1]^12*g[4]*g[7]+540*g[1]^12*g[5]*g[6]+10080*g[1]^11*g[2]*g[3]*g[7]+13248*g[1]^11*g[2]*g[4]*g[6]+3600*g[1]^11*g[2]*g[5]^2+4860*g[1]^11*g[3]^2*g[6]+4134*g[1]^11*g[3]*g[4]*g[5]+3024*g[1]^10*g[2]^3*g[7]+23931*g[1]^10*g[2]^2*g[3]*g[6]+40716*g[1]^10*g[2]^2*g[4]*g[5]+10692*g[1]^10*g[2]*g[3]^2*g[5]+21084*g[1]^10*g[2]*g[3]*g[4]^2+12654*g[1]^10*g[3]^3*g[4]+12960*g[1]^9*g[2]^4*g[6]+59865*g[1]^9*g[2]^3*g[3]*g[5]+28800*g[1]^9*g[2]^3*g[4]^2+59450*g[1]^9*g[2]^2*g[3]^2*g[4]+7020*g[1]^9*g[2]*g[3]^4+18000*g[1]^8*g[2]^5*g[5]+66465*g[1]^8*g[2]^4*g[3]*g[4]+29700*g[1]^8*g[2]^3*g[3]^3+10080*g[1]^7*g[2]^6*g[4]+42570*g[1]^7*g[2]^5*g[3]^2+1890*g[1]^6*g[2]^7*g[3]+2520*g[1]^11*g[5]*g[7]+30744*g[1]^10*g[2]*g[4]*g[7]+15660*g[1]^10*g[2]*g[5]*g[6]+10584*g[1]^10*g[3]^2*g[7]+20322*g[1]^10*g[3]*g[4]*g[6]+1080*g[1]^10*g[3]*g[5]^2+1800*g[1]^10*g[4]^2*g[5]+53880*g[1]^9*g[2]^2*g[3]*g[7]+61440*g[1]^9*g[2]^2*g[4]*g[6]+46080*g[1]^9*g[2]^2*g[5]^2+21060*g[1]^9*g[2]*g[3]^2*g[6]+59166*g[1]^9*g[2]*g[3]*g[4]*g[5]+6048*g[1]^9*g[3]^3*g[5]+33480*g[1]^9*g[3]^2*g[4]^2+15120*g[1]^8*g[2]^4*g[7]+73980*g[1]^8*g[2]^3*g[3]*g[6]+142272*g[1]^8*g[2]^3*g[4]*g[5]+73404*g[1]^8*g[2]^2*g[3]^2*g[5]+108000*g[1]^8*g[2]^2*g[3]*g[4]^2+70560*g[1]^8*g[2]*g[3]^3*g[4]+30240*g[1]^7*g[2]^5*g[6]+179631*g[1]^7*g[2]^4*g[3]*g[5]+20160*g[1]^7*g[2]^4*g[4]^2+158400*g[1]^7*g[2]^3*g[3]^2*g[4]+20280*g[1]^7*g[2]^2*g[3]^4+12600*g[1]^6*g[2]^6*g[5]+108045*g[1]^6*g[2]^5*g[3]*g[4]+97335*g[1]^6*g[2]^4*g[3]^3+30240*g[1]^5*g[2]^6*g[3]^2+1512*g[1]^10*g[6]*g[7]+52920*g[1]^9*g[2]*g[5]*g[7]+47520*g[1]^9*g[3]*g[4]*g[7]+18144*g[1]^9*g[3]*g[5]*g[6]+17280*g[1]^9*g[4]^2*g[6]+1440*g[1]^9*g[4]*g[5]^2+149040*g[1]^8*g[2]^2*g[4]*g[7]+107064*g[1]^8*g[2]^2*g[5]*g[6]+69120*g[1]^8*g[2]*g[3]^2*g[7]+108360*g[1]^8*g[2]*g[3]*g[4]*g[6]+37800*g[1]^8*g[2]*g[3]*g[5]^2+7344*g[1]^8*g[2]*g[4]^2*g[5]+52848*g[1]^8*g[3]^2*g[4]*g[5]+26460*g[1]^8*g[3]*g[4]^3+155520*g[1]^7*g[2]^3*g[3]*g[7]+80640*g[1]^7*g[2]^3*g[4]*g[6]+194400*g[1]^7*g[2]^3*g[5]^2+60840*g[1]^7*g[2]^2*g[3]^2*g[6]+340308*g[1]^7*g[2]^2*g[3]*g[4]*g[5]+50112*g[1]^7*g[2]*g[3]^3*g[5]+178920*g[1]^7*g[2]*g[3]^2*g[4]^2+11760*g[1]^7*g[3]^4*g[4]+35280*g[1]^6*g[2]^5*g[7]+216405*g[1]^6*g[2]^4*g[3]*g[6]+164052*g[1]^6*g[2]^4*g[4]*g[5]+293832*g[1]^6*g[2]^3*g[3]^2*g[5]+151200*g[1]^6*g[2]^3*g[3]*g[4]^2+183820*g[1]^6*g[2]^2*g[3]^3*g[4]+203301*g[1]^5*g[2]^5*g[3]*g[5]+290430*g[1]^5*g[2]^4*g[3]^2*g[4]+118440*g[1]^5*g[2]^3*g[3]^4+39375*g[1]^4*g[2]^6*g[3]*g[4]+59850*g[1]^4*g[2]^5*g[3]^3+9450*g[1]^3*g[2]^7*g[3]^2+30240*g[1]^8*g[2]*g[6]*g[7]+71712*g[1]^8*g[3]*g[5]*g[7]+45360*g[1]^8*g[4]^2*g[7]+30528*g[1]^8*g[4]*g[5]*g[6]+289008*g[1]^7*g[2]^2*g[5]*g[7]+276480*g[1]^7*g[2]*g[3]*g[4]*g[7]+150336*g[1]^7*g[2]*g[3]*g[5]*g[6]+40320*g[1]^7*g[2]*g[4]^2*g[6]+17280*g[1]^7*g[2]*g[4]*g[5]^2+12960*g[1]^7*g[3]^3*g[7]+35280*g[1]^7*g[3]^2*g[4]*g[6]+4320*g[1]^7*g[3]^2*g[5]^2+68796*g[1]^7*g[3]*g[4]^2*g[5]+231120*g[1]^6*g[2]^3*g[4]*g[7]+286776*g[1]^6*g[2]^3*g[5]*g[6]+225360*g[1]^6*g[2]^2*g[3]^2*g[7]+240660*g[1]^6*g[2]^2*g[3]*g[4]*g[6]+299376*g[1]^6*g[2]^2*g[3]*g[5]^2+45360*g[1]^6*g[2]^2*g[4]^2*g[5]+399168*g[1]^6*g[2]*g[3]^2*g[4]*g[5]+102060*g[1]^6*g[2]*g[3]*g[4]^3+10080*g[1]^6*g[3]^4*g[5]+41580*g[1]^6*g[3]^3*g[4]^2+327240*g[1]^5*g[2]^4*g[3]*g[7]+241920*g[1]^5*g[2]^4*g[5]^2+355320*g[1]^5*g[2]^3*g[3]^2*g[6]+533988*g[1]^5*g[2]^3*g[3]*g[4]*g[5]+240576*g[1]^5*g[2]^2*g[3]^3*g[5]+257040*g[1]^5*g[2]^2*g[3]^2*g[4]^2+89040*g[1]^5*g[2]*g[3]^4*g[4]+103950*g[1]^4*g[2]^5*g[3]*g[6]+90720*g[1]^4*g[2]^5*g[4]*g[5]+317520*g[1]^4*g[2]^4*g[3]^2*g[5]+107100*g[1]^4*g[2]^4*g[3]*g[4]^2+449400*g[1]^4*g[2]^3*g[3]^3*g[4]+67200*g[1]^4*g[2]^2*g[3]^5+62685*g[1]^3*g[2]^6*g[3]*g[5]+100800*g[1]^3*g[2]^5*g[3]^2*g[4]+44100*g[1]^3*g[2]^4*g[3]^4+14175*g[1]^2*g[2]^7*g[3]*g[4]+14175*g[1]^2*g[2]^6*g[3]^3+38880*g[1]^7*g[3]*g[6]*g[7]+115776*g[1]^7*g[4]*g[5]*g[7]+12960*g[1]^7*g[5]^2*g[6]+172080*g[1]^6*g[2]^2*g[6]*g[7]+544320*g[1]^6*g[2]*g[3]*g[5]*g[7]+174960*g[1]^6*g[2]*g[4]^2*g[7]+108864*g[1]^6*g[2]*g[4]*g[5]*g[6]+60480*g[1]^6*g[3]^2*g[4]*g[7]+30240*g[1]^6*g[3]^2*g[5]*g[6]+49140*g[1]^6*g[3]*g[4]^2*g[6]+36288*g[1]^6*g[3]*g[4]*g[5]^2+510192*g[1]^5*g[2]^3*g[5]*g[7]+440640*g[1]^5*g[2]^2*g[3]*g[4]*g[7]+560448*g[1]^5*g[2]^2*g[3]*g[5]*g[6]+145152*g[1]^5*g[2]^2*g[4]*g[5]^2+116640*g[1]^5*g[2]*g[3]^3*g[7]+267120*g[1]^5*g[2]*g[3]^2*g[4]*g[6]+139104*g[1]^5*g[2]*g[3]^2*g[5]^2+330372*g[1]^5*g[2]*g[3]*g[4]^2*g[5]+138432*g[1]^5*g[3]^3*g[4]*g[5]+37800*g[1]^5*g[3]^2*g[4]^3+124200*g[1]^4*g[2]^4*g[4]*g[7]+238140*g[1]^4*g[2]^4*g[5]*g[6]+669600*g[1]^4*g[2]^3*g[3]^2*g[7]+315000*g[1]^4*g[2]^3*g[3]*g[4]*g[6]+317520*g[1]^4*g[2]^3*g[3]*g[5]^2+75600*g[1]^4*g[2]^3*g[4]^2*g[5]+201600*g[1]^4*g[2]^2*g[3]^3*g[6]+756000*g[1]^4*g[2]^2*g[3]^2*g[4]*g[5]+56700*g[1]^4*g[2]^2*g[3]*g[4]^3+110880*g[1]^4*g[2]*g[3]^4*g[5]+130200*g[1]^4*g[2]*g[3]^3*g[4]^2+33600*g[1]^4*g[3]^5*g[4]+93600*g[1]^3*g[2]^5*g[3]*g[7]+75600*g[1]^3*g[2]^5*g[5]^2+132300*g[1]^3*g[2]^4*g[3]^2*g[6]+300510*g[1]^3*g[2]^4*g[3]*g[4]*g[5]+168000*g[1]^3*g[2]^3*g[3]^3*g[5]+264600*g[1]^3*g[2]^3*g[3]^2*g[4]^2+372400*g[1]^3*g[2]^2*g[3]^4*g[4]+42525*g[1]^2*g[2]^6*g[3]*g[6]+34020*g[1]^2*g[2]^6*g[4]*g[5]+54180*g[1]^2*g[2]^5*g[3]^2*g[5]+56700*g[1]^2*g[2]^5*g[3]*g[4]^2+129150*g[1]^2*g[2]^4*g[3]^3*g[4]+2835*g[1]*g[2]^7*g[3]*g[5]+15750*g[1]*g[2]^6*g[3]^2*g[4]+6300*g[1]*g[2]^5*g[3]^4+51840*g[1]^6*g[4]*g[6]*g[7]+60480*g[1]^6*g[5]^2*g[7]+349920*g[1]^5*g[2]*g[3]*g[6]*g[7]+533952*g[1]^5*g[2]*g[4]*g[5]*g[7]+30240*g[1]^5*g[2]*g[5]^2*g[6]+196992*g[1]^5*g[3]^2*g[5]*g[7]+64800*g[1]^5*g[3]*g[4]^2*g[7]+92736*g[1]^5*g[3]*g[4]*g[5]*g[6]+324000*g[1]^4*g[2]^3*g[6]*g[7]+1062720*g[1]^4*g[2]^2*g[3]*g[5]*g[7]+97200*g[1]^4*g[2]^2*g[4]^2*g[7]+272160*g[1]^4*g[2]^2*g[4]*g[5]*g[6]+216000*g[1]^4*g[2]*g[3]^2*g[4]*g[7]+332640*g[1]^4*g[2]*g[3]^2*g[5]*g[6]+214200*g[1]^4*g[2]*g[3]*g[4]^2*g[6]+266112*g[1]^4*g[2]*g[3]*g[4]*g[5]^2+57600*g[1]^4*g[3]^4*g[7]+100800*g[1]^4*g[3]^3*g[4]*g[6]+12096*g[1]^4*g[3]^3*g[5]^2+241920*g[1]^4*g[3]^2*g[4]^2*g[5]+152280*g[1]^3*g[2]^4*g[5]*g[7]+432000*g[1]^3*g[2]^3*g[3]*g[4]*g[7]+342720*g[1]^3*g[2]^3*g[3]*g[5]*g[6]+169344*g[1]^3*g[2]^3*g[4]*g[5]^2+535200*g[1]^3*g[2]^2*g[3]^3*g[7]+579600*g[1]^3*g[2]^2*g[3]^2*g[4]*g[6]+66528*g[1]^3*g[2]^2*g[3]^2*g[5]^2+283500*g[1]^3*g[2]^2*g[3]*g[4]^2*g[5]+483840*g[1]^3*g[2]*g[3]^3*g[4]*g[5]+75600*g[1]^3*g[3]^4*g[4]^2+48600*g[1]^2*g[2]^5*g[4]*g[7]+102060*g[1]^2*g[2]^5*g[5]*g[6]+156600*g[1]^2*g[2]^4*g[3]^2*g[7]+198450*g[1]^2*g[2]^4*g[3]*g[4]*g[6]+16632*g[1]^2*g[2]^4*g[3]*g[5]^2+68040*g[1]^2*g[2]^4*g[4]^2*g[5]+252000*g[1]^2*g[2]^3*g[3]^2*g[4]*g[5]+56700*g[1]^2*g[2]^3*g[3]*g[4]^3+23520*g[1]^2*g[2]^2*g[3]^4*g[5]+321300*g[1]^2*g[2]^2*g[3]^3*g[4]^2+67200*g[1]^2*g[2]*g[3]^5*g[4]+16200*g[1]*g[2]^6*g[3]*g[7]+18900*g[1]*g[2]^5*g[3]^2*g[6]+51030*g[1]*g[2]^5*g[3]*g[4]*g[5]+30240*g[1]*g[2]^4*g[3]^3*g[5]+88200*g[1]*g[2]^4*g[3]^2*g[4]^2+42000*g[1]*g[2]^3*g[3]^4*g[4]+1260*g[2]^6*g[3]^2*g[5]+4200*g[2]^5*g[3]^3*g[4]+38016*g[1]^5*g[5]*g[6]*g[7]+345600*g[1]^4*g[2]*g[4]*g[6]*g[7]+233280*g[1]^4*g[2]*g[5]^2*g[7]+172800*g[1]^4*g[3]^2*g[6]*g[7]+406080*g[1]^4*g[3]*g[4]*g[5]*g[7]+36288*g[1]^4*g[3]*g[5]^2*g[6]+15120*g[1]^4*g[4]^2*g[5]*g[6]+684000*g[1]^3*g[2]^2*g[3]*g[6]*g[7]+466560*g[1]^3*g[2]^2*g[4]*g[5]*g[7]+6048*g[1]^3*g[2]^2*g[5]^2*g[6]+622080*g[1]^3*g[2]*g[3]^2*g[5]*g[7]+483840*g[1]^3*g[2]*g[3]*g[4]*g[5]*g[6]+36288*g[1]^3*g[2]*g[4]^2*g[5]^2+129600*g[1]^3*g[3]^3*g[4]*g[7]+226800*g[1]^3*g[3]^2*g[4]^2*g[6]+133056*g[1]^3*g[3]^2*g[4]*g[5]^2+68040*g[1]^3*g[3]*g[4]^3*g[5]+145800*g[1]^2*g[2]^4*g[6]*g[7]+146880*g[1]^2*g[2]^3*g[3]*g[5]*g[7]+97200*g[1]^2*g[2]^3*g[4]^2*g[7]+272160*g[1]^2*g[2]^3*g[4]*g[5]*g[6]+518400*g[1]^2*g[2]^2*g[3]^2*g[4]*g[7]+70560*g[1]^2*g[2]^2*g[3]^2*g[5]*g[6]+283500*g[1]^2*g[2]^2*g[3]*g[4]^2*g[6]+72576*g[1]^2*g[2]^2*g[3]*g[4]*g[5]^2+115200*g[1]^2*g[2]*g[3]^4*g[7]+201600*g[1]^2*g[2]*g[3]^3*g[4]*g[6]+8064*g[1]^2*g[2]*g[3]^3*g[5]^2+287280*g[1]^2*g[2]*g[3]^2*g[4]^2*g[5]+47040*g[1]^2*g[3]^4*g[4]*g[5]+37800*g[1]^2*g[3]^3*g[4]^3+9720*g[1]*g[2]^5*g[5]*g[7]+151200*g[1]*g[2]^4*g[3]*g[4]*g[7]+90720*g[1]*g[2]^4*g[3]*g[5]*g[6]+18144*g[1]*g[2]^4*g[4]*g[5]^2+64800*g[1]*g[2]^3*g[3]^3*g[7]+126000*g[1]*g[2]^3*g[3]^2*g[4]*g[6]+18144*g[1]*g[2]^3*g[3]^2*g[5]^2+94500*g[1]*g[2]^3*g[3]*g[4]^2*g[5]+60480*g[1]*g[2]^2*g[3]^3*g[4]*g[5]+113400*g[1]*g[2]^2*g[3]^2*g[4]^3+58800*g[1]*g[2]*g[3]^4*g[4]^2+7200*g[2]^5*g[3]^2*g[7]+1512*g[2]^5*g[3]*g[5]^2+15120*g[2]^4*g[3]^2*g[4]*g[5]+3360*g[2]^3*g[3]^4*g[5]+25200*g[2]^3*g[3]^3*g[4]^2+11200*g[2]^2*g[3]^5*g[4]+207360*g[1]^3*g[2]*g[5]*g[6]*g[7]+388800*g[1]^3*g[3]*g[4]*g[6]*g[7]+221184*g[1]^3*g[3]*g[5]^2*g[7]+116640*g[1]^3*g[4]^2*g[5]*g[7]+12096*g[1]^3*g[4]*g[5]^2*g[6]+388800*g[1]^2*g[2]^2*g[4]*g[6]*g[7]+46656*g[1]^2*g[2]^2*g[5]^2*g[7]+345600*g[1]^2*g[2]*g[3]^2*g[6]*g[7]+414720*g[1]^2*g[2]*g[3]*g[4]*g[5]*g[7]+24192*g[1]^2*g[2]*g[3]*g[5]^2*g[6]+136080*g[1]^2*g[2]*g[4]^2*g[5]*g[6]+80640*g[1]^2*g[3]^3*g[5]*g[7]+64800*g[1]^2*g[3]^2*g[4]^2*g[7]+141120*g[1]^2*g[3]^2*g[4]*g[5]*g[6]+113400*g[1]^2*g[3]*g[4]^3*g[6]+54432*g[1]^2*g[3]*g[4]^2*g[5]^2+194400*g[1]*g[2]^3*g[3]*g[6]*g[7]+103680*g[1]*g[2]^3*g[4]*g[5]*g[7]+54432*g[1]*g[2]^3*g[5]^2*g[6]+51840*g[1]*g[2]^2*g[3]^2*g[5]*g[7]+194400*g[1]*g[2]^2*g[3]*g[4]^2*g[7]+181440*g[1]*g[2]^2*g[3]*g[4]*g[5]*g[6]+100800*g[1]*g[2]*g[3]^3*g[4]*g[7]+176400*g[1]*g[2]*g[3]^2*g[4]^2*g[6]+12096*g[1]*g[2]*g[3]^2*g[4]*g[5]^2+68040*g[1]*g[2]*g[3]*g[4]^3*g[5]+40320*g[1]*g[3]^3*g[4]^2*g[5]+12960*g[2]^4*g[3]*g[5]*g[7]+43200*g[2]^3*g[3]^2*g[4]*g[7]+10080*g[2]^3*g[3]^2*g[5]*g[6]+12096*g[2]^3*g[3]*g[4]*g[5]^2+19200*g[2]^2*g[3]^4*g[7]+33600*g[2]^2*g[3]^3*g[4]*g[6]+4032*g[2]^2*g[3]^3*g[5]^2+45360*g[2]^2*g[3]^2*g[4]^2*g[5]+20160*g[2]*g[3]^4*g[4]*g[5]+241920*g[1]^2*g[3]*g[5]*g[6]*g[7]+194400*g[1]^2*g[4]^2*g[6]*g[7]+93312*g[1]^2*g[4]*g[5]^2*g[7]+155520*g[1]*g[2]^2*g[5]*g[6]*g[7]+302400*g[1]*g[2]*g[3]*g[4]*g[6]*g[7]+116640*g[1]*g[2]*g[4]^2*g[5]*g[7]+36288*g[1]*g[2]*g[4]*g[5]^2*g[6]+69120*g[1]*g[3]^2*g[4]*g[5]*g[7]+120960*g[1]*g[3]*g[4]^2*g[5]*g[6]+5184*g[2]^3*g[5]^2*g[7]+57600*g[2]^2*g[3]^2*g[6]*g[7]+77760*g[2]^2*g[3]*g[4]*g[5]*g[7]+12096*g[2]^2*g[3]*g[5]^2*g[6]+34560*g[2]*g[3]^3*g[5]*g[7]+60480*g[2]*g[3]^2*g[4]*g[5]*g[6]+18144*g[2]*g[3]*g[4]^2*g[5]^2+8064*g[3]^3*g[4]*g[5]^2+207360*g[1]*g[4]*g[5]*g[6]*g[7]+103680*g[2]*g[3]*g[5]*g[6]*g[7]+31104*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]^2*p[1]^7-54*g[1]^7*g[2]^2*g[3]^4*p[1]^7+1494*g[1]^6*g[2]^4*g[3]^3*p[1]^7-18*g[1]^16*g[3]*g[4]*p[7]-192*g[1]^15*g[2]^2*g[4]*p[7]-324*g[1]^15*g[2]*g[3]^2*p[7]+162*g[1]^14*g[3]^3*p[1]*p[6]+486*g[1]^14*g[3]^3*p[2]*p[5]+243*g[1]^14*g[3]^3*p[3]*p[4]+1620*g[1]^11*g[3]^4*p[1]*p[2]^3+1080*g[1]^7*g[2]^3*g[5]^2*p[1]^7+54*g[1]^7*g[3]^4*g[4]*p[1]^7+336*g[1]^6*g[2]^5*g[7]*p[1]^7+2538*g[1]^5*g[2]^3*g[3]^4*p[1]^7+6*g[1]^10*g[2]^5*g[3]*p[1]^7)/(6*g[1]^16*g[2]^2*g[3]+3*g[1]^16*g[3]*g[4]+32*g[1]^15*g[2]^2*g[4]+54*g[1]^15*g[2]*g[3]^2+90*g[1]^14*g[2]^3*g[3]+45*g[1]^15*g[3]*g[5]+120*g[1]^14*g[2]^2*g[5]+447*g[1]^14*g[2]*g[3]*g[4]+81*g[1]^14*g[3]^3+384*g[1]^13*g[2]^3*g[4]+768*g[1]^13*g[2]^2*g[3]^2+612*g[1]^12*g[2]^4*g[3]+243*g[1]^14*g[3]*g[6]+60*g[1]^14*g[4]*g[5]+288*g[1]^13*g[2]^2*g[6]+1575*g[1]^13*g[2]*g[3]*g[5]+768*g[1]^13*g[2]*g[4]^2+546*g[1]^13*g[3]^2*g[4]+1200*g[1]^12*g[2]^3*g[5]+5141*g[1]^12*g[2]^2*g[3]*g[4]+1674*g[1]^12*g[2]*g[3]^3+2304*g[1]^11*g[2]^4*g[4]+4374*g[1]^11*g[2]^3*g[3]^2+2412*g[1]^10*g[2]^5*g[3]+504*g[1]^13*g[3]*g[7]+576*g[1]^13*g[4]*g[6]+336*g[1]^12*g[2]^2*g[7]+5022*g[1]^12*g[2]*g[3]*g[6]+4320*g[1]^12*g[2]*g[4]*g[5]+1080*g[1]^12*g[3]^2*g[5]+972*g[1]^12*g[3]*g[4]^2+2592*g[1]^11*g[2]^3*g[6]+12543*g[1]^11*g[2]^2*g[3]*g[5]+8640*g[1]^11*g[2]^2*g[4]^2+11136*g[1]^11*g[2]*g[3]^2*g[4]+1620*g[1]^11*g[3]^4+6480*g[1]^10*g[2]^4*g[5]+24141*g[1]^10*g[2]^3*g[3]*g[4]+8217*g[1]^10*g[2]^2*g[3]^3+7680*g[1]^9*g[2]^5*g[4]+17280*g[1]^9*g[2]^4*g[3]^2+4590*g[1]^8*g[2]^6*g[3]+1512*g[1]^12*g[4]*g[7]+540*g[1]^12*g[5]*g[6]+10080*g[1]^11*g[2]*g[3]*g[7]+13248*g[1]^11*g[2]*g[4]*g[6]+3600*g[1]^11*g[2]*g[5]^2+4860*g[1]^11*g[3]^2*g[6]+4134*g[1]^11*g[3]*g[4]*g[5]+3024*g[1]^10*g[2]^3*g[7]+23931*g[1]^10*g[2]^2*g[3]*g[6]+40716*g[1]^10*g[2]^2*g[4]*g[5]+10692*g[1]^10*g[2]*g[3]^2*g[5]+21084*g[1]^10*g[2]*g[3]*g[4]^2+12654*g[1]^10*g[3]^3*g[4]+12960*g[1]^9*g[2]^4*g[6]+59865*g[1]^9*g[2]^3*g[3]*g[5]+28800*g[1]^9*g[2]^3*g[4]^2+59450*g[1]^9*g[2]^2*g[3]^2*g[4]+7020*g[1]^9*g[2]*g[3]^4+18000*g[1]^8*g[2]^5*g[5]+66465*g[1]^8*g[2]^4*g[3]*g[4]+29700*g[1]^8*g[2]^3*g[3]^3+10080*g[1]^7*g[2]^6*g[4]+42570*g[1]^7*g[2]^5*g[3]^2+1890*g[1]^6*g[2]^7*g[3]+2520*g[1]^11*g[5]*g[7]+30744*g[1]^10*g[2]*g[4]*g[7]+15660*g[1]^10*g[2]*g[5]*g[6]+10584*g[1]^10*g[3]^2*g[7]+20322*g[1]^10*g[3]*g[4]*g[6]+1080*g[1]^10*g[3]*g[5]^2+1800*g[1]^10*g[4]^2*g[5]+53880*g[1]^9*g[2]^2*g[3]*g[7]+61440*g[1]^9*g[2]^2*g[4]*g[6]+46080*g[1]^9*g[2]^2*g[5]^2+21060*g[1]^9*g[2]*g[3]^2*g[6]+59166*g[1]^9*g[2]*g[3]*g[4]*g[5]+6048*g[1]^9*g[3]^3*g[5]+33480*g[1]^9*g[3]^2*g[4]^2+15120*g[1]^8*g[2]^4*g[7]+73980*g[1]^8*g[2]^3*g[3]*g[6]+142272*g[1]^8*g[2]^3*g[4]*g[5]+73404*g[1]^8*g[2]^2*g[3]^2*g[5]+108000*g[1]^8*g[2]^2*g[3]*g[4]^2+70560*g[1]^8*g[2]*g[3]^3*g[4]+30240*g[1]^7*g[2]^5*g[6]+179631*g[1]^7*g[2]^4*g[3]*g[5]+20160*g[1]^7*g[2]^4*g[4]^2+158400*g[1]^7*g[2]^3*g[3]^2*g[4]+20280*g[1]^7*g[2]^2*g[3]^4+12600*g[1]^6*g[2]^6*g[5]+108045*g[1]^6*g[2]^5*g[3]*g[4]+97335*g[1]^6*g[2]^4*g[3]^3+30240*g[1]^5*g[2]^6*g[3]^2+1512*g[1]^10*g[6]*g[7]+52920*g[1]^9*g[2]*g[5]*g[7]+47520*g[1]^9*g[3]*g[4]*g[7]+18144*g[1]^9*g[3]*g[5]*g[6]+17280*g[1]^9*g[4]^2*g[6]+1440*g[1]^9*g[4]*g[5]^2+149040*g[1]^8*g[2]^2*g[4]*g[7]+107064*g[1]^8*g[2]^2*g[5]*g[6]+69120*g[1]^8*g[2]*g[3]^2*g[7]+108360*g[1]^8*g[2]*g[3]*g[4]*g[6]+37800*g[1]^8*g[2]*g[3]*g[5]^2+7344*g[1]^8*g[2]*g[4]^2*g[5]+52848*g[1]^8*g[3]^2*g[4]*g[5]+26460*g[1]^8*g[3]*g[4]^3+155520*g[1]^7*g[2]^3*g[3]*g[7]+80640*g[1]^7*g[2]^3*g[4]*g[6]+194400*g[1]^7*g[2]^3*g[5]^2+60840*g[1]^7*g[2]^2*g[3]^2*g[6]+340308*g[1]^7*g[2]^2*g[3]*g[4]*g[5]+50112*g[1]^7*g[2]*g[3]^3*g[5]+178920*g[1]^7*g[2]*g[3]^2*g[4]^2+11760*g[1]^7*g[3]^4*g[4]+35280*g[1]^6*g[2]^5*g[7]+216405*g[1]^6*g[2]^4*g[3]*g[6]+164052*g[1]^6*g[2]^4*g[4]*g[5]+293832*g[1]^6*g[2]^3*g[3]^2*g[5]+151200*g[1]^6*g[2]^3*g[3]*g[4]^2+183820*g[1]^6*g[2]^2*g[3]^3*g[4]+203301*g[1]^5*g[2]^5*g[3]*g[5]+290430*g[1]^5*g[2]^4*g[3]^2*g[4]+118440*g[1]^5*g[2]^3*g[3]^4+39375*g[1]^4*g[2]^6*g[3]*g[4]+59850*g[1]^4*g[2]^5*g[3]^3+9450*g[1]^3*g[2]^7*g[3]^2+30240*g[1]^8*g[2]*g[6]*g[7]+71712*g[1]^8*g[3]*g[5]*g[7]+45360*g[1]^8*g[4]^2*g[7]+30528*g[1]^8*g[4]*g[5]*g[6]+289008*g[1]^7*g[2]^2*g[5]*g[7]+276480*g[1]^7*g[2]*g[3]*g[4]*g[7]+150336*g[1]^7*g[2]*g[3]*g[5]*g[6]+40320*g[1]^7*g[2]*g[4]^2*g[6]+17280*g[1]^7*g[2]*g[4]*g[5]^2+12960*g[1]^7*g[3]^3*g[7]+35280*g[1]^7*g[3]^2*g[4]*g[6]+4320*g[1]^7*g[3]^2*g[5]^2+68796*g[1]^7*g[3]*g[4]^2*g[5]+231120*g[1]^6*g[2]^3*g[4]*g[7]+286776*g[1]^6*g[2]^3*g[5]*g[6]+225360*g[1]^6*g[2]^2*g[3]^2*g[7]+240660*g[1]^6*g[2]^2*g[3]*g[4]*g[6]+299376*g[1]^6*g[2]^2*g[3]*g[5]^2+45360*g[1]^6*g[2]^2*g[4]^2*g[5]+399168*g[1]^6*g[2]*g[3]^2*g[4]*g[5]+102060*g[1]^6*g[2]*g[3]*g[4]^3+10080*g[1]^6*g[3]^4*g[5]+41580*g[1]^6*g[3]^3*g[4]^2+327240*g[1]^5*g[2]^4*g[3]*g[7]+241920*g[1]^5*g[2]^4*g[5]^2+355320*g[1]^5*g[2]^3*g[3]^2*g[6]+533988*g[1]^5*g[2]^3*g[3]*g[4]*g[5]+240576*g[1]^5*g[2]^2*g[3]^3*g[5]+257040*g[1]^5*g[2]^2*g[3]^2*g[4]^2+89040*g[1]^5*g[2]*g[3]^4*g[4]+103950*g[1]^4*g[2]^5*g[3]*g[6]+90720*g[1]^4*g[2]^5*g[4]*g[5]+317520*g[1]^4*g[2]^4*g[3]^2*g[5]+107100*g[1]^4*g[2]^4*g[3]*g[4]^2+449400*g[1]^4*g[2]^3*g[3]^3*g[4]+67200*g[1]^4*g[2]^2*g[3]^5+62685*g[1]^3*g[2]^6*g[3]*g[5]+100800*g[1]^3*g[2]^5*g[3]^2*g[4]+44100*g[1]^3*g[2]^4*g[3]^4+14175*g[1]^2*g[2]^7*g[3]*g[4]+14175*g[1]^2*g[2]^6*g[3]^3+38880*g[1]^7*g[3]*g[6]*g[7]+115776*g[1]^7*g[4]*g[5]*g[7]+12960*g[1]^7*g[5]^2*g[6]+172080*g[1]^6*g[2]^2*g[6]*g[7]+544320*g[1]^6*g[2]*g[3]*g[5]*g[7]+174960*g[1]^6*g[2]*g[4]^2*g[7]+108864*g[1]^6*g[2]*g[4]*g[5]*g[6]+60480*g[1]^6*g[3]^2*g[4]*g[7]+30240*g[1]^6*g[3]^2*g[5]*g[6]+49140*g[1]^6*g[3]*g[4]^2*g[6]+36288*g[1]^6*g[3]*g[4]*g[5]^2+510192*g[1]^5*g[2]^3*g[5]*g[7]+440640*g[1]^5*g[2]^2*g[3]*g[4]*g[7]+560448*g[1]^5*g[2]^2*g[3]*g[5]*g[6]+145152*g[1]^5*g[2]^2*g[4]*g[5]^2+116640*g[1]^5*g[2]*g[3]^3*g[7]+267120*g[1]^5*g[2]*g[3]^2*g[4]*g[6]+139104*g[1]^5*g[2]*g[3]^2*g[5]^2+330372*g[1]^5*g[2]*g[3]*g[4]^2*g[5]+138432*g[1]^5*g[3]^3*g[4]*g[5]+37800*g[1]^5*g[3]^2*g[4]^3+124200*g[1]^4*g[2]^4*g[4]*g[7]+238140*g[1]^4*g[2]^4*g[5]*g[6]+669600*g[1]^4*g[2]^3*g[3]^2*g[7]+315000*g[1]^4*g[2]^3*g[3]*g[4]*g[6]+317520*g[1]^4*g[2]^3*g[3]*g[5]^2+75600*g[1]^4*g[2]^3*g[4]^2*g[5]+201600*g[1]^4*g[2]^2*g[3]^3*g[6]+756000*g[1]^4*g[2]^2*g[3]^2*g[4]*g[5]+56700*g[1]^4*g[2]^2*g[3]*g[4]^3+110880*g[1]^4*g[2]*g[3]^4*g[5]+130200*g[1]^4*g[2]*g[3]^3*g[4]^2+33600*g[1]^4*g[3]^5*g[4]+93600*g[1]^3*g[2]^5*g[3]*g[7]+75600*g[1]^3*g[2]^5*g[5]^2+132300*g[1]^3*g[2]^4*g[3]^2*g[6]+300510*g[1]^3*g[2]^4*g[3]*g[4]*g[5]+168000*g[1]^3*g[2]^3*g[3]^3*g[5]+264600*g[1]^3*g[2]^3*g[3]^2*g[4]^2+372400*g[1]^3*g[2]^2*g[3]^4*g[4]+42525*g[1]^2*g[2]^6*g[3]*g[6]+34020*g[1]^2*g[2]^6*g[4]*g[5]+54180*g[1]^2*g[2]^5*g[3]^2*g[5]+56700*g[1]^2*g[2]^5*g[3]*g[4]^2+129150*g[1]^2*g[2]^4*g[3]^3*g[4]+2835*g[1]*g[2]^7*g[3]*g[5]+15750*g[1]*g[2]^6*g[3]^2*g[4]+6300*g[1]*g[2]^5*g[3]^4+51840*g[1]^6*g[4]*g[6]*g[7]+60480*g[1]^6*g[5]^2*g[7]+349920*g[1]^5*g[2]*g[3]*g[6]*g[7]+533952*g[1]^5*g[2]*g[4]*g[5]*g[7]+30240*g[1]^5*g[2]*g[5]^2*g[6]+196992*g[1]^5*g[3]^2*g[5]*g[7]+64800*g[1]^5*g[3]*g[4]^2*g[7]+92736*g[1]^5*g[3]*g[4]*g[5]*g[6]+324000*g[1]^4*g[2]^3*g[6]*g[7]+1062720*g[1]^4*g[2]^2*g[3]*g[5]*g[7]+97200*g[1]^4*g[2]^2*g[4]^2*g[7]+272160*g[1]^4*g[2]^2*g[4]*g[5]*g[6]+216000*g[1]^4*g[2]*g[3]^2*g[4]*g[7]+332640*g[1]^4*g[2]*g[3]^2*g[5]*g[6]+214200*g[1]^4*g[2]*g[3]*g[4]^2*g[6]+266112*g[1]^4*g[2]*g[3]*g[4]*g[5]^2+57600*g[1]^4*g[3]^4*g[7]+100800*g[1]^4*g[3]^3*g[4]*g[6]+12096*g[1]^4*g[3]^3*g[5]^2+241920*g[1]^4*g[3]^2*g[4]^2*g[5]+152280*g[1]^3*g[2]^4*g[5]*g[7]+432000*g[1]^3*g[2]^3*g[3]*g[4]*g[7]+342720*g[1]^3*g[2]^3*g[3]*g[5]*g[6]+169344*g[1]^3*g[2]^3*g[4]*g[5]^2+535200*g[1]^3*g[2]^2*g[3]^3*g[7]+579600*g[1]^3*g[2]^2*g[3]^2*g[4]*g[6]+66528*g[1]^3*g[2]^2*g[3]^2*g[5]^2+283500*g[1]^3*g[2]^2*g[3]*g[4]^2*g[5]+483840*g[1]^3*g[2]*g[3]^3*g[4]*g[5]+75600*g[1]^3*g[3]^4*g[4]^2+48600*g[1]^2*g[2]^5*g[4]*g[7]+102060*g[1]^2*g[2]^5*g[5]*g[6]+156600*g[1]^2*g[2]^4*g[3]^2*g[7]+198450*g[1]^2*g[2]^4*g[3]*g[4]*g[6]+16632*g[1]^2*g[2]^4*g[3]*g[5]^2+68040*g[1]^2*g[2]^4*g[4]^2*g[5]+252000*g[1]^2*g[2]^3*g[3]^2*g[4]*g[5]+56700*g[1]^2*g[2]^3*g[3]*g[4]^3+23520*g[1]^2*g[2]^2*g[3]^4*g[5]+321300*g[1]^2*g[2]^2*g[3]^3*g[4]^2+67200*g[1]^2*g[2]*g[3]^5*g[4]+16200*g[1]*g[2]^6*g[3]*g[7]+18900*g[1]*g[2]^5*g[3]^2*g[6]+51030*g[1]*g[2]^5*g[3]*g[4]*g[5]+30240*g[1]*g[2]^4*g[3]^3*g[5]+88200*g[1]*g[2]^4*g[3]^2*g[4]^2+42000*g[1]*g[2]^3*g[3]^4*g[4]+1260*g[2]^6*g[3]^2*g[5]+4200*g[2]^5*g[3]^3*g[4]+38016*g[1]^5*g[5]*g[6]*g[7]+345600*g[1]^4*g[2]*g[4]*g[6]*g[7]+233280*g[1]^4*g[2]*g[5]^2*g[7]+172800*g[1]^4*g[3]^2*g[6]*g[7]+406080*g[1]^4*g[3]*g[4]*g[5]*g[7]+36288*g[1]^4*g[3]*g[5]^2*g[6]+15120*g[1]^4*g[4]^2*g[5]*g[6]+684000*g[1]^3*g[2]^2*g[3]*g[6]*g[7]+466560*g[1]^3*g[2]^2*g[4]*g[5]*g[7]+6048*g[1]^3*g[2]^2*g[5]^2*g[6]+622080*g[1]^3*g[2]*g[3]^2*g[5]*g[7]+483840*g[1]^3*g[2]*g[3]*g[4]*g[5]*g[6]+36288*g[1]^3*g[2]*g[4]^2*g[5]^2+129600*g[1]^3*g[3]^3*g[4]*g[7]+226800*g[1]^3*g[3]^2*g[4]^2*g[6]+133056*g[1]^3*g[3]^2*g[4]*g[5]^2+68040*g[1]^3*g[3]*g[4]^3*g[5]+145800*g[1]^2*g[2]^4*g[6]*g[7]+146880*g[1]^2*g[2]^3*g[3]*g[5]*g[7]+97200*g[1]^2*g[2]^3*g[4]^2*g[7]+272160*g[1]^2*g[2]^3*g[4]*g[5]*g[6]+518400*g[1]^2*g[2]^2*g[3]^2*g[4]*g[7]+70560*g[1]^2*g[2]^2*g[3]^2*g[5]*g[6]+283500*g[1]^2*g[2]^2*g[3]*g[4]^2*g[6]+72576*g[1]^2*g[2]^2*g[3]*g[4]*g[5]^2+115200*g[1]^2*g[2]*g[3]^4*g[7]+201600*g[1]^2*g[2]*g[3]^3*g[4]*g[6]+8064*g[1]^2*g[2]*g[3]^3*g[5]^2+287280*g[1]^2*g[2]*g[3]^2*g[4]^2*g[5]+47040*g[1]^2*g[3]^4*g[4]*g[5]+37800*g[1]^2*g[3]^3*g[4]^3+9720*g[1]*g[2]^5*g[5]*g[7]+151200*g[1]*g[2]^4*g[3]*g[4]*g[7]+90720*g[1]*g[2]^4*g[3]*g[5]*g[6]+18144*g[1]*g[2]^4*g[4]*g[5]^2+64800*g[1]*g[2]^3*g[3]^3*g[7]+126000*g[1]*g[2]^3*g[3]^2*g[4]*g[6]+18144*g[1]*g[2]^3*g[3]^2*g[5]^2+94500*g[1]*g[2]^3*g[3]*g[4]^2*g[5]+60480*g[1]*g[2]^2*g[3]^3*g[4]*g[5]+113400*g[1]*g[2]^2*g[3]^2*g[4]^3+58800*g[1]*g[2]*g[3]^4*g[4]^2+7200*g[2]^5*g[3]^2*g[7]+1512*g[2]^5*g[3]*g[5]^2+15120*g[2]^4*g[3]^2*g[4]*g[5]+3360*g[2]^3*g[3]^4*g[5]+25200*g[2]^3*g[3]^3*g[4]^2+11200*g[2]^2*g[3]^5*g[4]+207360*g[1]^3*g[2]*g[5]*g[6]*g[7]+388800*g[1]^3*g[3]*g[4]*g[6]*g[7]+221184*g[1]^3*g[3]*g[5]^2*g[7]+116640*g[1]^3*g[4]^2*g[5]*g[7]+12096*g[1]^3*g[4]*g[5]^2*g[6]+388800*g[1]^2*g[2]^2*g[4]*g[6]*g[7]+46656*g[1]^2*g[2]^2*g[5]^2*g[7]+345600*g[1]^2*g[2]*g[3]^2*g[6]*g[7]+414720*g[1]^2*g[2]*g[3]*g[4]*g[5]*g[7]+24192*g[1]^2*g[2]*g[3]*g[5]^2*g[6]+136080*g[1]^2*g[2]*g[4]^2*g[5]*g[6]+80640*g[1]^2*g[3]^3*g[5]*g[7]+64800*g[1]^2*g[3]^2*g[4]^2*g[7]+141120*g[1]^2*g[3]^2*g[4]*g[5]*g[6]+113400*g[1]^2*g[3]*g[4]^3*g[6]+54432*g[1]^2*g[3]*g[4]^2*g[5]^2+194400*g[1]*g[2]^3*g[3]*g[6]*g[7]+103680*g[1]*g[2]^3*g[4]*g[5]*g[7]+54432*g[1]*g[2]^3*g[5]^2*g[6]+51840*g[1]*g[2]^2*g[3]^2*g[5]*g[7]+194400*g[1]*g[2]^2*g[3]*g[4]^2*g[7]+181440*g[1]*g[2]^2*g[3]*g[4]*g[5]*g[6]+100800*g[1]*g[2]*g[3]^3*g[4]*g[7]+176400*g[1]*g[2]*g[3]^2*g[4]^2*g[6]+12096*g[1]*g[2]*g[3]^2*g[4]*g[5]^2+68040*g[1]*g[2]*g[3]*g[4]^3*g[5]+40320*g[1]*g[3]^3*g[4]^2*g[5]+12960*g[2]^4*g[3]*g[5]*g[7]+43200*g[2]^3*g[3]^2*g[4]*g[7]+10080*g[2]^3*g[3]^2*g[5]*g[6]+12096*g[2]^3*g[3]*g[4]*g[5]^2+19200*g[2]^2*g[3]^4*g[7]+33600*g[2]^2*g[3]^3*g[4]*g[6]+4032*g[2]^2*g[3]^3*g[5]^2+45360*g[2]^2*g[3]^2*g[4]^2*g[5]+20160*g[2]*g[3]^4*g[4]*g[5]+241920*g[1]^2*g[3]*g[5]*g[6]*g[7]+194400*g[1]^2*g[4]^2*g[6]*g[7]+93312*g[1]^2*g[4]*g[5]^2*g[7]+155520*g[1]*g[2]^2*g[5]*g[6]*g[7]+302400*g[1]*g[2]*g[3]*g[4]*g[6]*g[7]+116640*g[1]*g[2]*g[4]^2*g[5]*g[7]+36288*g[1]*g[2]*g[4]*g[5]^2*g[6]+69120*g[1]*g[3]^2*g[4]*g[5]*g[7]+120960*g[1]*g[3]*g[4]^2*g[5]*g[6]+5184*g[2]^3*g[5]^2*g[7]+57600*g[2]^2*g[3]^2*g[6]*g[7]+77760*g[2]^2*g[3]*g[4]*g[5]*g[7]+12096*g[2]^2*g[3]*g[5]^2*g[6]+34560*g[2]*g[3]^3*g[5]*g[7]+60480*g[2]*g[3]^2*g[4]*g[5]*g[6]+18144*g[2]*g[3]*g[4]^2*g[5]^2+8064*g[3]^3*g[4]*g[5]^2+207360*g[1]*g[4]*g[5]*g[6]*g[7]+103680*g[2]*g[3]*g[5]*g[6]*g[7]+31104*g[2]*g[4]*g[5]^2*g[7]+13824*g[3]^2*g[5]^2*g[7]+24192*g[3]*g[4]*g[5]^2*g[6]+41472*g[5]^2*g[6]*g[7]): KerduKost([1, 1, 2, 3],[1, 1, 1, 1, 1, 1, 1]):=-6*(48*g[1]^17*g[2]^5*g[3]+48*g[1]^17*g[2]^3*g[3]*g[4]+256*g[1]^16*g[2]^5*g[4]+432*g[1]^16*g[2]^4*g[3]^2+48*g[1]^15*g[2]^6*g[3]-24*g[1]^17*g[2]^2*g[3]*g[6]+12*g[1]^17*g[2]*g[3]*g[4]^2+420*g[1]^16*g[2]^3*g[3]*g[5]+128*g[1]^16*g[2]^3*g[4]^2+252*g[1]^16*g[2]^2*g[3]^2*g[4]+560*g[1]^15*g[2]^5*g[5]+2496*g[1]^15*g[2]^4*g[3]*g[4]+756*g[1]^15*g[2]^3*g[3]^3+128*g[1]^14*g[2]^6*g[4]+840*g[1]^14*g[2]^5*g[3]^2-96*g[1]^13*g[2]^7*g[3]-12*g[1]^17*g[3]*g[4]*g[6]-128*g[1]^16*g[2]^2*g[4]*g[6]-72*g[1]^16*g[2]*g[3]^2*g[6]+270*g[1]^16*g[2]*g[3]*g[4]*g[5]-18*g[1]^16*g[3]^2*g[4]^2+312*g[1]^15*g[2]^3*g[3]*g[6]+1680*g[1]^15*g[2]^3*g[4]*g[5]+990*g[1]^15*g[2]^2*g[3]^2*g[5]+804*g[1]^15*g[2]^2*g[3]*g[4]^2-54*g[1]^15*g[2]*g[3]^3*g[4]+384*g[1]^14*g[2]^5*g[6]+6480*g[1]^14*g[2]^4*g[3]*g[5]+192*g[1]^14*g[2]^4*g[4]^2+6732*g[1]^14*g[2]^3*g[3]^2*g[4]-324*g[1]^14*g[2]^2*g[3]^4-240*g[1]^13*g[2]^6*g[5]+5088*g[1]^13*g[2]^5*g[3]*g[4]-792*g[1]^13*g[2]^4*g[3]^3-720*g[1]^12*g[2]^6*g[3]^2-60*g[1]^16*g[3]*g[5]*g[6]-200*g[1]^15*g[2]^2*g[5]*g[6]-378*g[1]^15*g[2]*g[3]^2*g[7]-372*g[1]^15*g[2]*g[3]*g[4]*g[6]+450*g[1]^15*g[2]*g[3]*g[5]^2+300*g[1]^15*g[2]*g[4]^2*g[5]+108*g[1]^15*g[3]^3*g[6]-315*g[1]^15*g[3]^2*g[4]*g[5]-504*g[1]^14*g[2]^3*g[3]*g[7]+832*g[1]^14*g[2]^3*g[4]*g[6]+1800*g[1]^14*g[2]^3*g[5]^2+756*g[1]^14*g[2]^2*g[3]^2*g[6]+8160*g[1]^14*g[2]^2*g[3]*g[4]*g[5]-810*g[1]^14*g[2]*g[3]^3*g[5]-12*g[1]^14*g[2]*g[3]^2*g[4]^2-648*g[1]^14*g[3]^4*g[4]-672*g[1]^13*g[2]^5*g[7]+6792*g[1]^13*g[2]^4*g[3]*g[6]+5200*g[1]^13*g[2]^4*g[4]*g[5]+16110*g[1]^13*g[2]^3*g[3]^2*g[5]+4376*g[1]^13*g[2]^3*g[3]*g[4]^2+540*g[1]^13*g[2]^2*g[3]^3*g[4]+2344*g[1]^12*g[2]^5*g[3]*g[5]+3840*g[1]^12*g[2]^5*g[4]^2+10008*g[1]^12*g[2]^4*g[3]^2*g[4]-12960*g[1]^12*g[2]^3*g[3]^4+3040*g[1]^11*g[2]^6*g[3]*g[4]-5760*g[1]^11*g[2]^5*g[3]^3-1800*g[1]^10*g[2]^7*g[3]^2-315*g[1]^15*g[3]*g[5]*g[7]-60*g[1]^15*g[4]*g[5]*g[6]-420*g[1]^14*g[2]^2*g[5]*g[7]-1008*g[1]^14*g[2]*g[3]*g[4]*g[7]-1260*g[1]^14*g[2]*g[3]*g[5]*g[6]+384*g[1]^14*g[2]*g[4]^2*g[6]+300*g[1]^14*g[2]*g[4]*g[5]^2-1134*g[1]^14*g[3]^3*g[7]-594*g[1]^14*g[3]^2*g[4]*g[6]-450*g[1]^14*g[3]*g[4]^2*g[5]+600*g[1]^13*g[2]^3*g[5]*g[6]-4536*g[1]^13*g[2]^2*g[3]^2*g[7]+3896*g[1]^13*g[2]^2*g[3]*g[4]*g[6]+12600*g[1]^13*g[2]^2*g[3]*g[5]^2+5940*g[1]^13*g[2]^2*g[4]^2*g[5]+3492*g[1]^13*g[2]*g[3]^3*g[6]-2925*g[1]^13*g[2]*g[3]^2*g[4]*g[5]-2214*g[1]^13*g[3]^3*g[4]^2-10080*g[1]^12*g[2]^4*g[3]*g[7]+11520*g[1]^12*g[2]^4*g[4]*g[6]+3000*g[1]^12*g[2]^4*g[5]^2+20052*g[1]^12*g[2]^3*g[3]^2*g[6]+27414*g[1]^12*g[2]^3*g[3]*g[4]*g[5]-4320*g[1]^12*g[2]^2*g[3]^3*g[5]+3426*g[1]^12*g[2]^2*g[3]^2*g[4]^2-6858*g[1]^12*g[2]*g[3]^4*g[4]+7320*g[1]^11*g[2]^5*g[3]*g[6]+1488*g[1]^11*g[2]^5*g[4]*g[5]+13896*g[1]^11*g[2]^4*g[3]^2*g[5]+17448*g[1]^11*g[2]^4*g[3]*g[4]^2-43938*g[1]^11*g[2]^3*g[3]^3*g[4]-11340*g[1]^11*g[2]^2*g[3]^5-2736*g[1]^10*g[2]^6*g[3]*g[5]+6720*g[1]^10*g[2]^6*g[4]^2+3368*g[1]^10*g[2]^5*g[3]^2*g[4]-22500*g[1]^10*g[2]^4*g[3]^4-5040*g[1]^9*g[2]^7*g[3]*g[4]-9720*g[1]^9*g[2]^6*g[3]^3-630*g[1]^14*g[3]*g[6]*g[7]-630*g[1]^14*g[4]*g[5]*g[7]-672*g[1]^13*g[2]^2*g[6]*g[7]-5985*g[1]^13*g[2]*g[3]*g[5]*g[7]+504*g[1]^13*g[2]*g[4]^2*g[7]-820*g[1]^13*g[2]*g[4]*g[5]*g[6]-3780*g[1]^13*g[3]^2*g[4]*g[7]-1260*g[1]^13*g[3]^2*g[5]*g[6]-840*g[1]^13*g[3]*g[4]^2*g[6]-4536*g[1]^12*g[2]^2*g[3]*g[4]*g[7]+8348*g[1]^12*g[2]^2*g[3]*g[5]*g[6]+7680*g[1]^12*g[2]^2*g[4]^2*g[6]+11100*g[1]^12*g[2]^2*g[4]*g[5]^2-11718*g[1]^12*g[2]*g[3]^3*g[7]+5994*g[1]^12*g[2]*g[3]^2*g[4]*g[6]+8100*g[1]^12*g[2]*g[3]^2*g[5]^2-2964*g[1]^12*g[2]*g[3]*g[4]^2*g[5]+3780*g[1]^12*g[3]^4*g[6]-7830*g[1]^12*g[3]^3*g[4]*g[5]-10080*g[1]^11*g[2]^4*g[4]*g[7]+6840*g[1]^11*g[2]^4*g[5]*g[6]-38682*g[1]^11*g[2]^3*g[3]^2*g[7]+43304*g[1]^11*g[2]^3*g[3]*g[4]*g[6]+24930*g[1]^11*g[2]^3*g[3]*g[5]^2+18984*g[1]^11*g[2]^3*g[4]^2*g[5]+19836*g[1]^11*g[2]^2*g[3]^3*g[6]-22659*g[1]^11*g[2]^2*g[3]^2*g[4]*g[5]-11340*g[1]^11*g[2]*g[3]^4*g[5]-9540*g[1]^11*g[2]*g[3]^3*g[4]^2-5670*g[1]^11*g[3]^5*g[4]-8448*g[1]^10*g[2]^5*g[3]*g[7]+20160*g[1]^10*g[2]^5*g[4]*g[6]-1560*g[1]^10*g[2]^5*g[5]^2+34740*g[1]^10*g[2]^4*g[3]^2*g[6]+32528*g[1]^10*g[2]^4*g[3]*g[4]*g[5]-20682*g[1]^10*g[2]^3*g[3]^3*g[5]-27232*g[1]^10*g[2]^3*g[3]^2*g[4]^2-68742*g[1]^10*g[2]^2*g[3]^4*g[4]-8496*g[1]^9*g[2]^6*g[4]*g[5]-6720*g[1]^9*g[2]^5*g[3]^2*g[5]+30060*g[1]^9*g[2]^5*g[3]*g[4]^2-80280*g[1]^9*g[2]^4*g[3]^3*g[4]-18900*g[1]^9*g[2]^3*g[3]^5-2988*g[1]^8*g[2]^7*g[3]*g[5]-22740*g[1]^8*g[2]^6*g[3]^2*g[4]-15060*g[1]^8*g[2]^5*g[3]^4-3780*g[1]^7*g[2]^7*g[3]^3-1512*g[1]^13*g[4]*g[6]*g[7]-7434*g[1]^12*g[2]*g[3]*g[6]*g[7]-5460*g[1]^12*g[2]*g[4]*g[5]*g[7]-300*g[1]^12*g[2]*g[5]^2*g[6]-9450*g[1]^12*g[3]^2*g[5]*g[7]+252*g[1]^12*g[3]*g[4]^2*g[7]-486*g[1]^12*g[3]*g[4]*g[5]*g[6]-9975*g[1]^11*g[2]^2*g[3]*g[5]*g[7]+22056*g[1]^11*g[2]^2*g[4]*g[5]*g[6]-21168*g[1]^11*g[2]*g[3]^2*g[4]*g[7]+12024*g[1]^11*g[2]*g[3]^2*g[5]*g[6]+4296*g[1]^11*g[2]*g[3]*g[4]^2*g[6]+12480*g[1]^11*g[2]*g[3]*g[4]*g[5]^2-5670*g[1]^11*g[3]^4*g[7]+1602*g[1]^11*g[3]^3*g[4]*g[6]-5994*g[1]^11*g[3]^2*g[4]^2*g[5]-3360*g[1]^10*g[2]^4*g[5]*g[7]-44064*g[1]^10*g[2]^3*g[3]*g[4]*g[7]+48636*g[1]^10*g[2]^3*g[3]*g[5]*g[6]+13440*g[1]^10*g[2]^3*g[4]^2*g[6]+32520*g[1]^10*g[2]^3*g[4]*g[5]^2-58968*g[1]^10*g[2]^2*g[3]^3*g[7]+55284*g[1]^10*g[2]^2*g[3]^2*g[4]*g[6]+7560*g[1]^10*g[2]^2*g[3]^2*g[5]^2-29178*g[1]^10*g[2]^2*g[3]*g[4]^2*g[5]+6300*g[1]^10*g[2]*g[3]^4*g[6]-44442*g[1]^10*g[2]*g[3]^3*g[4]*g[5]-11880*g[1]^10*g[3]^4*g[4]^2-17280*g[1]^9*g[2]^5*g[4]*g[7]+12312*g[1]^9*g[2]^5*g[5]*g[6]-41760*g[1]^9*g[2]^4*g[3]^2*g[7]+95220*g[1]^9*g[2]^4*g[3]*g[4]*g[6]+7920*g[1]^9*g[2]^4*g[3]*g[5]^2+31896*g[1]^9*g[2]^4*g[4]^2*g[5]+31860*g[1]^9*g[2]^3*g[3]^3*g[6]-57069*g[1]^9*g[2]^3*g[3]^2*g[4]*g[5]-28512*g[1]^9*g[2]^2*g[3]^4*g[5]-74070*g[1]^9*g[2]^2*g[3]^3*g[4]^2-20790*g[1]^9*g[2]*g[3]^5*g[4]-720*g[1]^8*g[2]^6*g[3]*g[7]-7560*g[1]^8*g[2]^6*g[5]^2+17100*g[1]^8*g[2]^5*g[3]^2*g[6]-4806*g[1]^8*g[2]^5*g[3]*g[4]*g[5]-32436*g[1]^8*g[2]^4*g[3]^3*g[5]-71550*g[1]^8*g[2]^4*g[3]^2*g[4]^2-124860*g[1]^8*g[2]^3*g[3]^4*g[4]-25830*g[1]^7*g[2]^6*g[3]^2*g[5]+13860*g[1]^7*g[2]^6*g[3]*g[4]^2-42490*g[1]^7*g[2]^5*g[3]^3*g[4]-6300*g[1]^7*g[2]^4*g[3]^5-8820*g[1]^6*g[2]^7*g[3]^2*g[4]-8400*g[1]^6*g[2]^6*g[3]^4-630*g[1]^12*g[5]*g[6]*g[7]-10080*g[1]^11*g[2]*g[4]*g[6]*g[7]-10458*g[1]^11*g[3]^2*g[6]*g[7]+1260*g[1]^11*g[3]*g[5]^2*g[6]+600*g[1]^11*g[4]^2*g[5]*g[6]+3636*g[1]^10*g[2]^2*g[3]*g[6]*g[7]-19530*g[1]^10*g[2]^2*g[4]*g[5]*g[7]+8400*g[1]^10*g[2]^2*g[5]^2*g[6]-23814*g[1]^10*g[2]*g[3]^2*g[5]*g[7]-2196*g[1]^10*g[2]*g[3]*g[4]^2*g[7]+38494*g[1]^10*g[2]*g[3]*g[4]*g[5]*g[6]+5400*g[1]^10*g[2]*g[4]^2*g[5]^2-8316*g[1]^10*g[3]^3*g[4]*g[7]+3024*g[1]^10*g[3]^3*g[5]*g[6]-6660*g[1]^10*g[3]^2*g[4]^2*g[6]+5940*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g[1]^15*g[2]^6*g[3]+12*g[1]^17*g[2]^2*g[3]*g[6]+18*g[1]^17*g[2]*g[3]*g[4]^2+360*g[1]^16*g[2]^3*g[3]*g[5]+192*g[1]^16*g[2]^3*g[4]^2+432*g[1]^16*g[2]^2*g[3]^2*g[4]+480*g[1]^15*g[2]^5*g[5]+1824*g[1]^15*g[2]^4*g[3]*g[4]+1296*g[1]^15*g[2]^3*g[3]^3+384*g[1]^14*g[2]^6*g[4]+2964*g[1]^14*g[2]^5*g[3]^2+72*g[1]^13*g[2]^7*g[3]+6*g[1]^17*g[3]*g[4]*g[6]+126*g[1]^16*g[2]^2*g[3]*g[7]+64*g[1]^16*g[2]^2*g[4]*g[6]+108*g[1]^16*g[2]*g[3]^2*g[6]+360*g[1]^16*g[2]*g[3]*g[4]*g[5]+27*g[1]^16*g[3]^2*g[4]^2+504*g[1]^15*g[2]^3*g[3]*g[6]+1920*g[1]^15*g[2]^3*g[4]*g[5]+2430*g[1]^15*g[2]^2*g[3]^2*g[5]+1620*g[1]^15*g[2]^2*g[3]*g[4]^2+972*g[1]^15*g[2]*g[3]^3*g[4]+1152*g[1]^14*g[2]^5*g[6]+7920*g[1]^14*g[2]^4*g[3]*g[5]+192*g[1]^14*g[2]^4*g[4]^2+9816*g[1]^14*g[2]^3*g[3]^2*g[4]+1458*g[1]^14*g[2]^2*g[3]^4+480*g[1]^13*g[2]^6*g[5]+11456*g[1]^13*g[2]^5*g[3]*g[4]+17064*g[1]^13*g[2]^4*g[3]^3+4212*g[1]^12*g[2]^6*g[3]^2+63*g[1]^16*g[3]*g[4]*g[7]+90*g[1]^16*g[3]*g[5]*g[6]+672*g[1]^15*g[2]^2*g[4]*g[7]+240*g[1]^15*g[2]^2*g[5]*g[6]+1134*g[1]^15*g[2]*g[3]^2*g[7]+732*g[1]^15*g[2]*g[3]*g[4]*g[6]+1350*g[1]^15*g[2]*g[3]*g[5]^2+360*g[1]^15*g[2]*g[4]^2*g[5]+162*g[1]^15*g[3]^3*g[6]+405*g[1]^15*g[3]^2*g[4]*g[5]+882*g[1]^14*g[2]^3*g[3]*g[7]+1344*g[1]^14*g[2]^3*g[4]*g[6]+3600*g[1]^14*g[2]^3*g[5]^2+3318*g[1]^14*g[2]^2*g[3]^2*g[6]+16920*g[1]^14*g[2]^2*g[3]*g[4]*g[5]+2430*g[1]^14*g[2]*g[3]^3*g[5]+3519*g[1]^14*g[2]*g[3]^2*g[4]^2+729*g[1]^14*g[3]^4*g[4]+1344*g[1]^13*g[2]^5*g[7]+20448*g[1]^13*g[2]^4*g[3]*g[6]+5760*g[1]^13*g[2]^4*g[4]*g[5]+42750*g[1]^13*g[2]^3*g[3]^2*g[5]+8562*g[1]^13*g[2]^3*g[3]*g[4]^2+20736*g[1]^13*g[2]^2*g[3]^3*g[4]+17232*g[1]^12*g[2]^5*g[3]*g[5]+8640*g[1]^12*g[2]^5*g[4]^2+77232*g[1]^12*g[2]^4*g[3]^2*g[4]+36612*g[1]^12*g[2]^3*g[3]^4+16320*g[1]^11*g[2]^6*g[3]*g[4]+34488*g[1]^11*g[2]^5*g[3]^3+1620*g[1]^10*g[2]^7*g[3]^2+945*g[1]^15*g[3]*g[5]*g[7]+120*g[1]^15*g[4]*g[5]*g[6]+2520*g[1]^14*g[2]^2*g[5]*g[7]+4851*g[1]^14*g[2]*g[3]*g[4]*g[7]+5580*g[1]^14*g[2]*g[3]*g[5]*g[6]+384*g[1]^14*g[2]*g[4]^2*g[6]+1800*g[1]^14*g[2]*g[4]*g[5]^2+1701*g[1]^14*g[3]^3*g[7]+1011*g[1]^14*g[3]^2*g[4]*g[6]+540*g[1]^14*g[3]*g[4]^2*g[5]+6000*g[1]^13*g[2]^3*g[5]*g[6]+13104*g[1]^13*g[2]^2*g[3]^2*g[7]+17734*g[1]^13*g[2]^2*g[3]*g[4]*g[6]+35100*g[1]^13*g[2]^2*g[3]*g[5]^2+10440*g[1]^13*g[2]^2*g[4]^2*g[5]+3348*g[1]^13*g[2]*g[3]^3*g[6]+25695*g[1]^13*g[2]*g[3]^2*g[4]*g[5]+108*g[1]^13*g[2]*g[3]*g[4]^3+2268*g[1]^13*g[3]^3*g[4]^2+25956*g[1]^12*g[2]^4*g[3]*g[7]+25920*g[1]^12*g[2]^4*g[4]*g[6]+3600*g[1]^12*g[2]^4*g[5]^2+89424*g[1]^12*g[2]^3*g[3]^2*g[6]+86184*g[1]^12*g[2]^3*g[3]*g[4]*g[5]+69660*g[1]^12*g[2]^2*g[3]^3*g[5]+36477*g[1]^12*g[2]^2*g[3]^2*g[4]^2+24786*g[1]^12*g[2]*g[3]^4*g[4]+24120*g[1]^11*g[2]^5*g[3]*g[6]+22464*g[1]^11*g[2]^5*g[4]*g[5]+130572*g[1]^11*g[2]^4*g[3]^2*g[5]+79944*g[1]^11*g[2]^4*g[3]*g[4]^2+198252*g[1]^11*g[2]^3*g[3]^3*g[4]+29160*g[1]^11*g[2]^2*g[3]^5+14352*g[1]^10*g[2]^6*g[3]*g[5]+20160*g[1]^10*g[2]^6*g[4]^2+160832*g[1]^10*g[2]^5*g[3]^2*g[4]+84780*g[1]^10*g[2]^4*g[3]^4+4320*g[1]^9*g[2]^7*g[3]*g[4]+24840*g[1]^9*g[2]^6*g[3]^3+1575*g[1]^14*g[3]*g[6]*g[7]+1260*g[1]^14*g[4]*g[5]*g[7]+2688*g[1]^13*g[2]^2*g[6]*g[7]+25515*g[1]^13*g[2]*g[3]*g[5]*g[7]+1008*g[1]^13*g[2]*g[4]^2*g[7]+8280*g[1]^13*g[2]*g[4]*g[5]*g[6]+5418*g[1]^13*g[3]^2*g[4]*g[7]+2160*g[1]^13*g[3]^2*g[5]*g[6]+1080*g[1]^13*g[3]*g[4]^2*g[6]+5040*g[1]^12*g[2]^3*g[5]*g[7]+26817*g[1]^12*g[2]^2*g[3]*g[4]*g[7]+90426*g[1]^12*g[2]^2*g[3]*g[5]*g[6]+17280*g[1]^12*g[2]^2*g[4]^2*g[6]+41400*g[1]^12*g[2]^2*g[4]*g[5]^2+35154*g[1]^12*g[2]*g[3]^3*g[7]+38310*g[1]^12*g[2]*g[3]^2*g[4]*g[6]+32400*g[1]^12*g[2]*g[3]^2*g[5]^2+22104*g[1]^12*g[2]*g[3]*g[4]^2