Dynamics of proton transfer from ArH+ to CO