Fill the array n \times n with a "snake" (see example).
One integer n (n \le 500).
Print the array n \times n filled with a "snake".
Пример 1