Archana has two pieces of ribbon. One of them is 180 cm long and the other is 255 cm long. Next, she cuts the two pieces of ribbon into small pieces such that all of these smaller pieces are of equal length and no ribbon is wasted. What is the longest piece of ribbon obtained after cutting?