Matrix 2#9983

Matrix 2

1 second
64 megabytes
Very easy

Given a natural number , produce a square matrix of dimensions n \times n filled with the integers and , following the pattern shown in the example.

Input

A natural number , where 1 \leq n \leq 10.

Output

Display a matrix of size n \times n that matches the pattern in the example.

Examples

Example 1

Loading
Loading