2 bodies A and B of equal masses are kept at heights of h and 3h respectively. the ratio of their potential energy is