The lengths of the sides of a triangle are in the extended ratio 3 : 10 : 12. The perimeter is 400 cm

The lengths of the sides of a triangle are in the extended ratio 3 : 10 : 12. The perimeter is 400 cm. What is the length of the longest side in centimeters?
A. 16 cm
B. 192 cm
C. 160 cm
D. 48 cm