A and B enter into partnership with investments of Rs. 54000 and Rs. 81000 respectively. A stayed for the entire year. If at the end of the year the profit was distributed equally, then for how many months less was B's investment there in the business?