Two bodies whose masses are in the ratio 2:1 are dropped simultaneously at two places A and B where the accelerations due to gravity are and respectively. If they reach the ground simultaneously, the ratio of the heights from which they are dropped is