A vertex in a graph is considered isolated if it does not have any edges.
Given an undirected graph with v vertices and e edges, you are asked to determine for each vertex if itβs isolated.
Vertex 5, for instance, in the image is an isolated vertex, while all the other vertices are not as they have neighbors.
Input
The first line of the input contains two integers v (1 β€ v β€ 100 000) and e (1 β€ e β€ 100 000).
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 and vice versa.
Output
The program should v lines each one being Yes if the corresponding vertex is isolated and No otherwise. The vertices are numbered from 1 to v.