Adiabatic pumping in a superconductor-normal-superconductor weak link