Two masses m1 and m2 are attached to a string which passes over a frictionless smooth pulley. When m1=10kg, m2=6kg, the acceleration of masses is?