On the first of January, Jed had £48 in his bank account and Esther had £180 in her bank account. From then on, at the end of each month Jed put £40 into his account and Esther put £34 into her account. After how many months did they have the same amount of money in their accounts?