The directed graph is given with the adjacency list. The vertex of directed graph is called a source if no edge comes into it. Count the number of sources in the graph.
First line contains the number of vertices n (1 ≤ n ≤ 100). The next i-th line contains the number of edges adjacent to the i-th vertex, and the vertex numbers where these edges go in increasing order.
Print the number of sources in the graph.
Graph contains 1 source - the vertex number 4.