What is the perimeter of a triangle if the length of its sides are 8 cm, 7 cm and 4 cm?