Jill bought 5 packs * 18 red balls = <<5*18=90>>90 red balls.
Jill bought 4 packs * 18 yellow balls = <<4*18=72>>72 red balls.
Jill had 90 red – 72 yellow = <<90-72=18>>18 more red balls.
#### 18