Multiplication/Division investigation

Frances and Rishi were given a bag of lollies.

They shared them out evenly and had one left over.

Just as they had finished sharing them, their friends, Kishan, Hayley and Paul, came along. They wanted some lollies too so the children shared them out again between all of them. This time they had two lollies left over.

How many lollies could there have been in the bag?