A poor little penguin has been thrown by a killer whale for a distance of one hundred and eight thousand li. The poor little penguin found itself on a mysterious island then. On the ground there are many graphs. The poor little penguin found that all the vertices are of degree three. ``The Dao produced One; One produced Two; Two produced Three; Three produced All things'', the poor little penguin recalled this mystical sentence. Suddenly, a quill-pen came into view. A sound said, ``Every time you dip the quill-pen in the sea, you can one-touch-draw three edges. That is, you can start at a vertex, pass three different edges to a vertex.'' It is a parrot with three golden feathers on top of its head, ``If all edges of a graph could be drawn once and only once by this way, then we call it a Three-throwable graph. You should find all the Three-throwable graphs, and show me how to throw three! As soon as you're done, I will bestow you the Produced-All-Things Power and send you back to avenge yourself on the killer whale!''
Too many graphs! So the poor little penguin asks you three for help. Please help it, for Light and Justice.
In short, given a graph of

vertices and

edges, where

is even and all the vertices are of degree 3. So it can be seen that

and that

is multiple of 3. You should try to split the graph into

chains of length 3. Determine if the graph is Three-throwable graph(such chain spliting scheme exists) and output the splited chains if solution exists.
输入描述:
The first line contains two integers
, denoting the number of vertices and edges.
Following
lines each contains two integers
, denoting an edge connecting vertex
and
.
It is guaranteed that
is even,
and that all the vertices are of degree 3.
输出描述:
If it is not a Three-throwable graph, output ``IMPOSSIBLE''(without quotes) in one line.
Otherwise, output
lines each contains four integers
, denoting one chain containing three edges
. The multiset of given edges and the multiset of all the chain edges should be the same. If multiple solutions, output any one of them.
示例2
输入
复制
4 6
1 1
1 2
2 3
2 3
3 4
4 4
示例3
输入
复制
4 6
1 1
2 2
3 3
1 4
2 4
3 4