After her talks in New Delhi , Ms. Rice heads to Pakistan and Afghanistan before traveling to Japan , South Korea and China .