split item pack

how to take 20 ammo from 100 for example ?