Obama condemns N. Korea, plots response