Two tapes -red and green- with lengths of 416 ft and 780 ft respectively are cut into two pieces of equal lengths without remainder. What is the greatest length possible for the pieces?