Two persons divided hundred rupees between them and one got ten rupees more than the other. How much did each get?