The ratio of mean distances of three planets from the sun are 0.5,1, 1.5, then the square of time periods are in the ratio of: