If the ratio of nth terms of two A.P.'s is (2n+8):(5n−3), then the ratio of the sums of their n terms is