Join the parts of the sentences with 'when' or 'while' and the correct form of the past tense.
1. We/just go out..//it/begin to snow. (when)
2. ...she/swim in the sea//she/lose one of her beach shoes. (while)
3. I/do my homework...//all the lights/go out. (when)
4. ...they/ have dinner//the cat.eat the goldfish. (while)
5. ...I/change some money//a robber/run into the bank.(while)