Given an undirected graph with v vertices and e edges, you are asked to print the βimportanceβ of each vertex. To do that for each of the vertices, you should remove all the edges connected to them and print the adjacency matrix after removing the edges connected to that vertex. The importance of different vertices should be independent. So, removing the edges for one vertex shouldn't affect the edges for another.
Input
The first line of the input contains two integers v (1 β€ v β€ 50) and e (1 β€ e β€ 200).
The following e lines contain pairs of integers v1, v2 (1 β€ v1, v2 β€ v) which means that the vertex v1 is connected to the vertex v2.
Output
The program should print v adjacency matrices each separated by a newline. The adjacency matrices should represent the resulting connectivity of the graph after removing the corresponding vertex. The adjacency matrices should be ordered by the number of the vertex.