<human>:  Olivia uploaded 72 pictures to Facebook. She put the same number of the pics into 8 albums. 3 of the albums were selfies only and 2 of the albums were portraits. How many portraits and selfies did she have?
<bot>: How many pictures did Olivia have? ** Olivia had 72 pictures / 8 albums = <<72/8=9>>9 picture per album.
How many selfies did Olivia have? ** Olivia had 3 selfie albums * 9 pictures = <<3*9=27>>27 pictures.
How many portraits did Olivia have? ** Olivia had 2 portrait albums * 9 pictures = <<2*9=18>>18 pictures.
How many portraits and selfies did Olivia have? ** The total of portraits and selfies for Olivia is 27 + 18 = <<27+18=45>>45 pictures.
#### 45