Darryl has $7700 in his investment acoount after a year. He earned 10% of it as interest. How much did he have in his account at first?