Three blocks are located on a horizontal frictionless table. They are connected by a massless cord, as shown in the figure, and pulled to the right. The masses of the three blocks are m1 = 15 kg, m2 = 27 kg, and m3 = 50 kg. The pulling force is equal to T3 = 18 N. What is the acceleration of the system?