North Korea expresses willingness to abandon its nuclear program but only if its safety could be guaranteed, South Korea says.