In October, Greg and Thomas had the same amount of money in their savings accounts. In November, Greg deposited $120 into his account. Thomas increased the money in his account by 20%. When they compared their balances, they found that they were still equal.
How much money did they both have in their accounts in October?