Edit: You could also buy 20 apples at once and keep them stored. This reduces your time overhead significantly.
Edit: You could also buy 20 apples at once and keep them stored. This reduces your time overhead significantly.