plsss helpppp
im confused i dont know the answer
pls

N and C
Because Lithium and Sodium belong to group 1A whereas Magnesium is from group 2A, which are S block elements and they form ionic bond.