Rearrange the sentences so that their order is logical.
A. I got the book I wanted
B. I just completed my shopping
C. I was so happy
A. I got the book I wanted
C. I was so happy
B. I just completed my shopping
Complete the following task based on the instruction and optional input provided.### Instruction:
Rearrange the sentences so that their order is logical.

### Input:
A. I got the book I wanted
B. I just completed my shopping
C. I was so happy

### Output:
A. I got the book I wanted
C. I was so happy
B. I just completed my shopping