def score(input)
    var0 = Math.exp(-0.06389634699048878 * ((5.1 - input[0]) ** 2.0 + (2.5 - input[1]) ** 2.0 + (3.0 - input[2]) ** 2.0 + (1.1 - input[3]) ** 2.0))
    var1 = Math.exp(-0.06389634699048878 * ((4.9 - input[0]) ** 2.0 + (2.4 - input[1]) ** 2.0 + (3.3 - input[2]) ** 2.0 + (1.0 - input[3]) ** 2.0))
    var2 = Math.exp(-0.06389634699048878 * ((6.3 - input[0]) ** 2.0 + (2.5 - input[1]) ** 2.0 + (4.9 - input[2]) ** 2.0 + (1.5 - input[3]) ** 2.0))
    var3 = Math.exp(-0.06389634699048878 * ((5.4 - input[0]) ** 2.0 + (3.0 - input[1]) ** 2.0 + (4.5 - input[2]) ** 2.0 + (1.5 - input[3]) ** 2.0))
    var4 = Math.exp(-0.06389634699048878 * ((6.2 - input[0]) ** 2.0 + (2.2 - input[1]) ** 2.0 + (4.5 - input[2]) ** 2.0 + (1.5 - input[3]) ** 2.0))
    var5 = Math.exp(-0.06389634699048878 * ((5.6 - input[0]) ** 2.0 + (2.9 - input[1]) ** 2.0 + (3.6 - input[2]) ** 2.0 + (1.3 - input[3]) ** 2.0))
    var6 = Math.exp(-0.06389634699048878 * ((6.7 - input[0]) ** 2.0 + (3.0 - input[1]) ** 2.0 + (5.0 - input[2]) ** 2.0 + (1.7 - input[3]) ** 2.0))
    var7 = Math.exp(-0.06389634699048878 * ((5.0 - input[0]) ** 2.0 + (2.3 - input[1]) ** 2.0 + (3.3 - input[2]) ** 2.0 + (1.0 - input[3]) ** 2.0))
    var8 = Math.exp(-0.06389634699048878 * ((6.0 - input[0]) ** 2.0 + (2.7 - input[1]) ** 2.0 + (5.1 - input[2]) ** 2.0 + (1.6 - input[3]) ** 2.0))
    var9 = Math.exp(-0.06389634699048878 * ((5.9 - input[0]) ** 2.0 + (3.2 - input[1]) ** 2.0 + (4.8 - input[2]) ** 2.0 + (1.8 - input[3]) ** 2.0))
    var10 = Math.exp(-0.06389634699048878 * ((5.7 - input[0]) ** 2.0 + (2.6 - input[1]) ** 2.0 + (3.5 - input[2]) ** 2.0 + (1.0 - input[3]) ** 2.0))
    var11 = Math.exp(-0.06389634699048878 * ((5.0 - input[0]) ** 2.0 + (3.0 - input[1]) ** 2.0 + (1.6 - input[2]) ** 2.0 + (0.2 - input[3]) ** 2.0))
    var12 = Math.exp(-0.06389634699048878 * ((5.4 - input[0]) ** 2.0 + (3.4 - input[1]) ** 2.0 + (1.7 - input[2]) ** 2.0 + (0.2 - input[3]) ** 2.0))
    var13 = Math.exp(-0.06389634699048878 * ((5.7 - input[0]) ** 2.0 + (3.8 - input[1]) ** 2.0 + (1.7 - input[2]) ** 2.0 + (0.3 - input[3]) ** 2.0))
    var14 = Math.exp(-0.06389634699048878 * ((4.8 - input[0]) ** 2.0 + (3.4 - input[1]) ** 2.0 + (1.9 - input[2]) ** 2.0 + (0.2 - input[3]) ** 2.0))
    var15 = Math.exp(-0.06389634699048878 * ((4.5 - input[0]) ** 2.0 + (2.3 - input[1]) ** 2.0 + (1.3 - input[2]) ** 2.0 + (0.3 - input[3]) ** 2.0))
    var16 = Math.exp(-0.06389634699048878 * ((5.7 - input[0]) ** 2.0 + (4.4 - input[1]) ** 2.0 + (1.5 - input[2]) ** 2.0 + (0.4 - input[3]) ** 2.0))
    var17 = Math.exp(-0.06389634699048878 * ((5.1 - input[0]) ** 2.0 + (3.8 - input[1]) ** 2.0 + (1.9 - input[2]) ** 2.0 + (0.4 - input[3]) ** 2.0))
    var18 = Math.exp(-0.06389634699048878 * ((5.1 - input[0]) ** 2.0 + (3.3 - input[1]) ** 2.0 + (1.7 - input[2]) ** 2.0 + (0.5 - input[3]) ** 2.0))
    var19 = Math.exp(-0.06389634699048878 * ((6.2 - input[0]) ** 2.0 + (2.8 - input[1]) ** 2.0 + (4.8 - input[2]) ** 2.0 + (1.8 - input[3]) ** 2.0))
    var20 = Math.exp(-0.06389634699048878 * ((7.2 - input[0]) ** 2.0 + (3.0 - input[1]) ** 2.0 + (5.8 - input[2]) ** 2.0 + (1.6 - input[3]) ** 2.0))
    var21 = Math.exp(-0.06389634699048878 * ((6.1 - input[0]) ** 2.0 + (3.0 - input[1]) ** 2.0 + (4.9 - input[2]) ** 2.0 + (1.8 - input[3]) ** 2.0))
    var22 = Math.exp(-0.06389634699048878 * ((6.0 - input[0]) ** 2.0 + (3.0 - input[1]) ** 2.0 + (4.8 - input[2]) ** 2.0 + (1.8 - input[3]) ** 2.0))
    var23 = Math.exp(-0.06389634699048878 * ((4.9 - input[0]) ** 2.0 + (2.5 - input[1]) ** 2.0 + (4.5 - input[2]) ** 2.0 + (1.7 - input[3]) ** 2.0))
    var24 = Math.exp(-0.06389634699048878 * ((7.9 - input[0]) ** 2.0 + (3.8 - input[1]) ** 2.0 + (6.4 - input[2]) ** 2.0 + (2.0 - input[3]) ** 2.0))
    var25 = Math.exp(-0.06389634699048878 * ((5.6 - input[0]) ** 2.0 + (2.8 - input[1]) ** 2.0 + (4.9 - input[2]) ** 2.0 + (2.0 - input[3]) ** 2.0))
    var26 = Math.exp(-0.06389634699048878 * ((6.0 - input[0]) ** 2.0 + (2.2 - input[1]) ** 2.0 + (5.0 - input[2]) ** 2.0 + (1.5 - input[3]) ** 2.0))
    var27 = Math.exp(-0.06389634699048878 * ((6.3 - input[0]) ** 2.0 + (2.8 - input[1]) ** 2.0 + (5.1 - input[2]) ** 2.0 + (1.5 - input[3]) ** 2.0))
    [0.11172510039290856 + var0 * -0.8898986041811555 + var1 * -0.8898986041811555 + var2 * -0.0 + var3 * -0.0 + var4 * -0.0 + var5 * -0.756413813553974 + var6 * -0.0 + var7 * -0.8898986041811555 + var8 * -0.0 + var9 * -0.0 + var10 * -0.8898986041811555 + var11 * 0.04218875216876044 + var12 * 0.7142250613852136 + var13 * 0.0 + var14 * 0.8898986041811555 + var15 * 0.8898986041811555 + var16 * 0.0 + var17 * 0.8898986041811555 + var18 * 0.8898986041811555, -0.04261957451303831 + var19 * -0.37953658977037247 + var20 * -0.0 + var21 * -0.0 + var22 * -0.37953658977037247 + var23 * -0.37953658977037247 + var24 * -0.26472396872040066 + var25 * -0.3745962010653211 + var26 * -0.10077618026650095 + var27 * -0.0 + var11 * 0.0 + var12 * 0.0 + var13 * 0.37953658977037247 + var14 * 0.37953658977037247 + var15 * 0.3044555865539922 + var16 * 0.05610417372785803 + var17 * 0.37953658977037247 + var18 * 0.37953658977037247, 1.8136162062461285 + var19 * -110.34516826676301 + var20 * -13.999391039896215 + var21 * -108.44329471899991 + var22 * -110.34516826676301 + var23 * -22.21095753342801 + var24 * -0.0 + var25 * -0.0 + var26 * -65.00217641452454 + var27 * -110.34516826676301 + var0 * 0.0 + var1 * 0.0 + var2 * 110.34516826676301 + var3 * 62.115561183470184 + var4 * 37.19509025661546 + var5 * 0.0 + var6 * 110.34516826676301 + var7 * 0.0 + var8 * 110.34516826676301 + var9 * 110.34516826676301 + var10 * 0.0]
end
