Number of hanging vertices 2#5088

Number of hanging vertices 2

1 second
128 megabytes
Very easy

Given a simple undirected unweighted graph. Count the number of hanging vertices in it. The vertex is hanging, if its degree is .

Input

The first line contains two numbers and (1 \leq n, m \leq 1000) - the number of vertices and the number of edges. Next lines contain a list of edges.

Output

Print the number of hanging vertices in a graph.

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading