India and Pakistan in the Afghan Problem