Process the following restaurant review and classify it in terms of quality and output the value in a number from 1 to 5.
This restaurant had great food but terrible service.
Quality Rating: 3
Complete the following task based on the instruction and optional input provided.### Instruction:
Process the following restaurant review and classify it in terms of quality and output the value in a number from 1 to 5.

### Input:
This restaurant had great food but terrible service.

### Output:
Quality Rating: 3