5956: 对称矩阵

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:3 Solved:2

Description

给定一个m行m列的二维数组,编写一个程序,判断这个矩阵是否为对称矩阵。是对称矩阵输出:“yes”。否则输出“no”。

Input


1  2  3
2  4  5
3  5  6

Output

yes

Sample Input Copy

3 
1  2  3
2  4  5
3  5  6

Sample Output Copy

yes