Venezuela to take third at Copa America with Peru win