Lovely cut her birthday cake into 12 equal pieces.
If one-fourth of the cake was eaten, then 1/4 x 12 = 3 slices were eaten.
The rest of the cake is 12 - 3 = 9 slices.
So, 9 slices of cake were kept.
#### 9
The answer is: 9
Below is a math problem. Provide a detailed, step-by-step solution.

### Problem:
Lovely cuts her birthday cake into 12 equal pieces. Only one-fourth of the cake was eaten by her visitors and the rest were kept. How many slices of cake were kept?

### Answer:
