2291 - 【POJ Challenge】超级笔记

Input

Output

Examples

Input

4 4
1 2
2 3
3 4
4 1

Output

1 2
3 4

Hint

请不要提交!

时间限制 1 秒
内存限制 128 MB
统计
上一题 下一题