Three sleds are being pulled horizontally on frictionless horizontal ice using horizontal ropes.

Three sleds are being pulled horizontally on frictionless horizontal ice using horizontal ropes. The first sled is 30kg, connected with rope B to the second sled of mass 20 kg, connected with rope A to the first sled of mass 10 kg, which is being pulled by a rope of 137 N. What is the tension in ropes A and B.