12/4 = <<12/4=3>>3 slices of cake were eaten by Lovely's visitors.
So, 12 - 3 = <<12-3=9>>9 slices of cake were kept.
#### 9