contestada

A seamstress has three colours of ribbon; the red is 126cm, the blue is 196cm and the green
is 378cm long. She wants to cut them up so they are all the same length, with no ribbon
wasted. What is the greatest length, in cm, that she can make the ribbons?