In the land of the Cahoots, Lomikel is the god of pipes. He rules water pipes, drains, sewers, and perhaps subway tunnels as well. The Cahoots worship him at many sacred springs, and those springs are joined by a huge network of ceremonial pipes. One pipe joins two springs directly.
On every holiday the Supreme Plumber, the highest of Lomikel's priests, performs long rituals that move water through the pipes.
Lomikel's anger sometimes breaks a pipe, and then the Plumber has to send the water around the break through other pipes. For some pipes no other route exists. Such a pipe is called critical, and the Plumber watches it closely. The figure in the note draws the critical pipes in bold.
Read the description of the network and find every critical pipe. The network can be very large and the memory limit is tight, so store the network compactly.
The first line contains the number of springs N and the number of pipes M, separated by a space (1≤N≤100000, 1≤M≤6000000).
Each of the next M lines describes one pipe with two integers u and v separated by a space (1≤u,v≤N), the two springs that the pipe joins.
Several pipes can join the same pair of springs, but the two ends of one pipe are always different springs.
Print one line for every critical pipe. The line holds the two springs of that pipe, the smaller number first, separated by a space.
Sort the lines by the first number, and by the second number when the first numbers are equal.
If no pipe is critical, print nothing.

The pipes drawn in bold in the figure are the critical ones.