There’s a total of 4 x 12 = <<4*12=48>>48 slices.
After the guests eat, there are 48 - 39 = <<48-39=9>>9 pieces.
#### 9