# The Lewis structure for NCO-

I was having trouble drawing the Lewis structure for $\ce{NCO^-}$. I found this image online:

But why is structure number one preferred over structure number two? Why does carbon prefer to have a triple bond with nitrogen, rather than have a double bond with nitrogen and a double bond with oxygen?