Two masses having masses M and m are moving in a circular path having radii R and r respectively. If their periods are same, then what is the ratio of their angular velocities?