Rearrange the sentence to make it a valid sentence: "his cost many a bag of grain
A bag of grain cost him many.
Complete the following task based on the instruction and optional input provided.### Instruction:
Rearrange the sentence to make it a valid sentence: "his cost many a bag of grain

### Output:
A bag of grain cost him many.