From the given data, create a sentence that is grammatically correct
Amy | profession | teacher
Amy | hobby | gardening
Amy is a teacher by profession and her hobby is gardening.
Complete the following task based on the instruction and optional input provided.### Instruction:
From the given data, create a sentence that is grammatically correct

### Input:
Amy | profession | teacher
Amy | hobby | gardening

### Output:
Amy is a teacher by profession and her hobby is gardening.