A line in the plane is called sunny if it is not parallel to any of the xx-axis, the yy-axis, and the line x+y=0x + y = 0.

Let n3n \geqslant 3 be a given integer. Determine all nonnegative integers kk such that there exist nn distinct lines in the plane satisfying both of the following: