Ordinary graph coloring is a well-known problem. Hyeongjin got bored of it and invented a new coloring rule called super coloring.
A super coloring of a graph assigns a color to each vertex and must satisfy the following conditions for every two distinct vertices .
Hyeongjin also decided to define a new graph operation. Given a graph, its complement graph is obtained by removing every edge that originally existed and adding every edge that originally did not exist. Self-loops are not considered.
Hyeongjin wants to know whether the complement graph of the given graph can be super-colored using only colors.
Determine whether it is possible, and if it is possible, output one valid coloring.
The input is given in the following format.
If the complement graph can be super-colored, print yes on the first line. Otherwise, print no.
If it is possible, print integers on the second line. is the color of vertex , and must be one of , , and .
In the complement graph, adjacent vertices have different colors, and non-adjacent vertices have the same color.
There is no coloring satisfying the conditions.
The original graph has no edges, so its complement is the complete graph on vertices. It requires distinct colors, so colors are not enough.
The given graph is a simple undirected graph with vertices and edges. The vertices are numbered from to .
If there are multiple valid colorings, you may print any of them.