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

### Instruction:
What is the fewest amendments sponsored associated with 150 bills originally cosponsored and over 247 bills cosponsored?

### Inputs:
table_name: table, columns: ['Years covered', 'All bills sponsored', 'All amendments sponsored', 'All bills cosponsored', 'All amendments cosponsored', 'Bills originally cosponsored', 'Amendments originally cosponsored']

### Response:
SELECT MIN All amendments sponsored FROM table WHERE Bills originally cosponsored = 150 AND All bills cosponsored > 247