Charge-state dependence of the exit energy of F ions traversing carbon foils