Pope John Paul II leaves hospital