Random Riddle: Eggs

A man and a woman both carrying baskets with eggs inside passed each other on the sidewalk. The man told the woman, “If you give me one of your eggs I will have twice as many as you, but if I give you an egg you and I will have the same amount.”

How many eggs were in each basket?
 

Random Riddle: Eggs