Ronnie and Shane had 700 stamps altogether, Ronnie gave 3/7 of his stamps to Shane, Shane then gave 3/8 of his new total number of stamps to Ronnie. They had an equal number of stamps in the end. How many stamps did each of them have at first?
Source: Seng Kang Primary