Mrs Toh made 245 more white chocolate cookies than dark chocolate cookies. After giving away 4/7 of the white chocolate cookies and 1/3 of the dark chocolate cookies, there were an equal number of white chocolate cookies and dark chocolate cookies. How many white chocolate cookies did she give away?