Rearrange the following sentence so that it is grammatically correct and conveys the original meaning
prizes for three and the was giving kids
The three kids were giving prizes.
Complete the following task based on the instruction and optional input provided.### Instruction:
Rearrange the following sentence so that it is grammatically correct and conveys the original meaning

### Input:
prizes for three and the was giving kids

### Output:
The three kids were giving prizes.