Half life of a radioactive substance A is two times the half life of another radioactive substance B. Initially the number of nuclei of A and B are NA and NB respectively. After three half lives of 'A', number of nuclei of both become equal. The ratio of NANB will be