Elliptic curves with good reduction outside S