You are given $N$ sequences numbered $1$ to $N$.
Sequence $i$ has a length of $L_i$ and its $j$\-th element $(1 \leq j \leq L_i)$ is $a_{i,j}$.
Sequence $i$ and Sequence $j$ are considered the same when $L_i = L_j$ and $a_{i,k} = a_{j,k}$ for every $k$ $(1 \leq k \leq L_i)$.
How many different sequences are there among Sequence $1$ through Sequence $N$?
## Constraints
* $1 \leq N \leq 2 \times 10^5$
* $1 \leq L_i \leq 2 \times 10^5$ $(1 \leq i \leq N)$
* $0 \leq a_{i,j} \leq 10^{9}$ $(1 \leq i \leq N, 1 \leq j \leq L_i)$
* The total number of elements in the sequences, $\sum_{i=1}^N L_i$, does not exceed $2 \times 10^5$.
* All values in input are integers.
## Input
Input is given from Standard Input in the following format:
$N$
$L_1$ $a_{1,1}$ $a_{1,2}$ $\dots$ $a_{1,L_1}$
$L_2$ $a_{2,1}$ $a_{2,2}$ $\dots$ $a_{2,L_2}$
$\vdots$
$L_N$ $a_{N,1}$ $a_{N,2}$ $\dots$ $a_{N,L_N}$
[samples]