If Zack decided to give his three friends 20 marbles each, he gave them 3*20=<<3*20=60>>60 marbles.
If he kept five, Zack initially had 60+5=<<60+5=65>>65 marbles.
#### 65