Write the next sentence.

Natalie stayed away from Samantha when she was upset, as
Samantha caused problems when she could.