The total number of packages is 3 + 10 + 8 = <<3+10+8=21>>21.
Julia bought 21 × 19 = <<21*19=399>>399 balls.
#### 399