Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
What was the average Chorley for the Labour party that had a Rossendale greater than 0 and a Pendle less than 1?

### Inputs:
table_name: table, columns: ['Party', 'Burnley', 'Chorley', 'Fylde', 'Hyndburn', 'Lancaster', 'Pendle', 'Preston', 'Ribble Valley', 'Rossendale', 'South Ribble', 'West Lancashire', 'Wyre', 'Total']

### Response:
SELECT AVG Chorley FROM table WHERE Rossendale > 0 AND Party = labour AND Pendle < 1