In this task, you are given two sentences, please combine them into one complex sentence.
John went to school. Mary stayed at home.
While John went to school, Mary stayed at home.
Complete the following task based on the instruction and optional input provided.### Instruction:
In this task, you are given two sentences, please combine them into one complex sentence.

### Input:
John went to school. Mary stayed at home.

### Output:
While John went to school, Mary stayed at home.