Daniel had 400 stamps in his stamps collection. 3/10 of them were foreign stamps. Edmund had 600 stamps and 13/20 of them were foreign stamps. After exchanging some stamps with each other, 1/4 of Danny's stamps and 3/4 of Edmund's stamps were foreign stamps. How many stamps did Danny get from Edmund?