def main(args):
    '''
    >>> (main([0,0]) - 0)<0.001
    True


    #_# dimmensions: 6
	#_# upper: 4
	#_# lower: -1
	#_# minimum: 0
	#_# opti: 0

	
	#_# cm_angle: array([[4.38674589e+00],       [1.19556006e+00],       [4.47966360e+00],       [1.19983352e+00],       [5.60286032e+00],       [1.07792176e+01],       [2.25826784e-03],       [2.51639450e-02],       [0.00000000e+00],       [2.62000000e-01]])
	#_# cm_conv: array([[0.33635988],       [0.16095749],       [0.76392901],       [0.23607099],       [0.        ],       [0.57      ]])
	#_# cm_grad: array([[0.74319842],       [0.11137735],       [0.        ],       [0.095     ]])
	#_# ela_conv: array([[ 9.80000000e-01],       [ 0.00000000e+00],       [-2.06944119e+18],       [ 2.06944119e+18],       [ 1.00000000e+03],       [ 1.12000000e-01]])
	#_# ela_curv: array([[4.79755856e+00],       [1.34573105e+03],       [5.12834662e+19],       [3.70342074e+07],       [3.86444487e+12],       [8.88644003e+21],       [5.30415946e+20],       [0.00000000e+00],       [3.81373465e+00],       [4.90886432e+02],       [5.97651830e+14],       [1.97651206e+05],       [9.10648718e+08],       [7.52108388e+16],       [5.45247010e+15],       [1.94000000e-01],       [4.54265125e+00],       [3.29125394e+03],       [9.25189949e+46],       [2.18081469e+07],       [9.89777937e+09],       [2.74236176e+49],       [1.35682556e+48],       [5.00000000e-02],       [1.07656000e+05],       [1.04290000e+01]])
	#_# ela_distr: array([[1.33769544e+01],       [1.94701124e+02],       [1.80000000e+01],       [0.00000000e+00],       [2.90000000e-02]])
	#_# ela_local: array([[2.70000000e+02],       [9.00000000e-01],       [2.35864648e-04],       [4.89568303e-02],       [8.33333333e-02],       [3.40768278e-03],       [3.33333333e-03],       [1.17000000e+02],       [2.08000000e+02],       [2.95273333e+02],       [2.73000000e+02],       [3.77000000e+02],       [7.28000000e+02],       [1.02839577e+02],       [8.88520000e+04],       [7.16600000e+00]])
	#_# ela_meta: array([[ 2.12758964e-02],       [-6.21915065e+18],       [ 1.35144338e+16],       [ 2.24256868e+18],       [ 1.65938782e+02],       [ 6.15453221e-02],       [ 5.94927163e-02],       [ 6.24028558e+00],       [ 2.43822411e-01],       [ 0.00000000e+00],       [ 1.50000000e-02]])
	#_# basic: array([[ 6.00000000e+00],       [ 5.00000000e+02],       [-1.00000000e+00],       [-1.00000000e+00],       [ 4.00000000e+00],       [ 4.00000000e+00],       [ 2.88961528e+00],       [ 4.10691709e+20],       [ 3.00000000e+00],       [ 3.00000000e+00],       [ 7.29000000e+02],       [ 3.96000000e+02],       [ 1.00000000e+00],       [ 0.00000000e+00],       [ 0.00000000e+00]])
	#_# disp: array([[ 0.54940333],       [ 0.63595834],       [ 0.77089952],       [ 0.89491857],       [ 0.53989005],       [ 0.63417083],       [ 0.7646051 ],       [ 0.88560301],       [-2.18734742],       [-1.76718039],       [-1.1121306 ],       [-0.5101005 ],       [-2.24631371],       [-1.78602329],       [-1.14922704],       [-0.55850027],       [ 0.        ],       [ 0.01      ]])
	#_# limo: array([[  nan],       [  nan],       [  nan],       [  nan],       [  nan],       [  nan],       [  nan],       [  nan],       [  nan],       [  nan],       [  nan],       [  nan],       [0.   ],       [0.033]])
	#_# nbc: array([[ 0.47974042],       [ 0.96061989],       [ 0.34786143],       [ 0.0693798 ],       [-0.0889751 ],       [ 0.        ],       [ 0.04      ]])
	#_# pca: array([[1.        ],       [1.        ],       [0.14285714],       [1.        ],       [0.18943524],       [0.18942493],       [1.        ],       [0.17000728],       [0.        ],       [0.003     ]])
	#_# gcm: array([[1.00000000e+00],       [1.37174211e-03],       [5.41838134e-01],       [0.00000000e+00],       [5.43209877e-01],       [5.43209877e-01],       [5.43209877e-01],       [5.43209877e-01],       [           nan],       [5.43209877e-01],       [5.43209877e-01],       [5.43209877e-01],       [5.43209877e-01],       [           nan],       [5.43209877e-01],       [5.43209877e-01],       [5.43209877e-01],       [5.43209877e-01],       [5.43209877e-01],       [           nan],       [5.43209877e-01],       [5.43209877e-01],       [1.37174211e-03],       [0.00000000e+00],       [7.93900000e+00],       [1.00000000e+00],       [1.37174211e-03],       [5.41838134e-01],       [0.00000000e+00],       [5.43209877e-01],       [5.43209877e-01],       [5.43209877e-01],       [5.43209877e-01],       [           nan],       [5.43209877e-01],       [5.43209877e-01],       [5.43209877e-01],       [5.43209877e-01],       [           nan],       [5.43209877e-01],       [5.43209877e-01],       [5.43209877e-01],       [5.43209877e-01],       [5.43209877e-01],       [           nan],       [5.43209877e-01],       [5.43209877e-01],       [1.37174211e-03],       [0.00000000e+00],       [7.53700000e+00],       [2.00000000e+00],       [2.74348422e-03],       [9.97256516e-01],       [1.00000000e+00],       [5.00000000e-01],       [5.00000000e-01],       [5.00000000e-01],       [5.00000000e-01],       [0.00000000e+00],       [0.00000000e+00],       [0.00000000e+00],       [0.00000000e+00],       [0.00000000e+00],       [0.00000000e+00],       [0.00000000e+00],       [4.88340192e-01],       [5.00000000e-01],       [5.00000000e-01],       [5.11659808e-01],       [1.64894585e-02],       [1.00000000e+00],       [1.00000000e+00],       [2.74348422e-03],       [0.00000000e+00],       [1.21150000e+01]])
	#_# ic: array([[ 0.57808329],       [        nan],       [68.69928016],       [10.73573574],       [ 0.53413655],       [ 0.        ],       [ 0.281     ]])

	#_# Represented: 1

	'''
    result = 0
    for i,x in enumerate(args[0:-1]):
        result += (x**2)**(args[i+1]**2+1) + (args[i+1]**2)**(x**2 + 1)

    return result

if __name__ == "__main__":
    import doctest
    doctest.testmod()
