Rope B
This is because in addition to supporting the weight of the boy, it also has to counteract the horizontal component of the force due to the boy's weight pulling the rope towards the wall.