By adding together Monday and Tuesday, Saah has 20+18= <<20+18=38>>38 pencils
On Wednesday, she buys 3 * 18= <<3*18=54>>54 pencils
All together, Sarah has 38+54= <<38+54=92>>92 pencils
#### 92