Competitions

# 2011 Зимняя Школа, Харьков, День 8, День Виталия Гольдштейна

# Articulation Points

The undirected graph is given. Find all its articulation points.

#### Input

The first line contains two positive integers **n** and **m** (**n** ≤ **2** * `10`

, ^{4}**m** ≤ **2** * `10`

) - the number of vertices and edges respectively.^{5}

Each of the next **m** lines contains the description of an edge. The edge number **i** is given with two positive integers `b`

, _{i}`e`

(_{i}**1** ≤ `b`

, _{i}`e`

≤ _{i}**n**) - the numbers of the vertices it connects.

#### Выходные данные

Print in the first line the number **b** of articulation points in a given graph. In the next **b** lines print the numbers of the vertices that are articulation points in increasing order.

Input example #1

9 12 1 2 2 3 4 5 2 6 2 7 8 9 1 3 1 4 1 5 6 7 3 8 3 9

Output example #1

3 1 2 3