Problem2411--这是一道简单的签到题

2411: 这是一道简单的签到题

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MiB

Description


Input

请输入一个正整数n。
接下来输出两个二维数组,里面只包含0或1。

Output

如果满足条件输出"Yes",否则输出"N0"

Sample Input Copy

3
0 1 1
1 0 0
0 1 0
1 1 0
0 0 1
1 1 1

Sample Output Copy

Yes

Source/Category

admin