378 trees planted in row in the shape of an isosceles triangle, with the number in successive rows decreasing by one from the base on to the top. How many trees are there in the rope which forms the base of the triangle?

A ) 26

B ) 27 ✅

C ) 28

D ) 24