There are 2 shepherds. Shepherd 1 asks Shepherd 2 to give him one of his sheep so shepherd 1 would have twice as many sheep as shepherd 2. Shepherd 2 denies his request and gives another offer. Shepherd 2 asks Shepherd 1 to give him one of his sheep so both shepherds would have the same same amount of sheep. How many sheep did shepherd 1, and 2 have?