Byteasar intends to throw a party. Naturally, he would like it to be a success. He is quite certain that it will be a success as long as every invited guest knows one another. Right now he is trying to put together a list of the friends he would like to invite.
Byteasar has n friends, and n is divisible by 3. Luckily, most of his friends know one another. He also recalls that he once attended a party with 32n of his friends where everyone knew everyone else. Unfortunately, he does not remember much else about that party; in particular, he has no idea which of his friends were there.
Byteasar does not feel obliged to throw a huge party, but he would like to invite at least 3n of his friends. He has no idea how to pick them, so he asks you for help: find 3n friends who all know one another.
The first line of the standard input contains two integers n and m, separated by a single space (3≤n≤3000, 232n(32n−1)≤m≤2n(n−1), and n is divisible by 3). They denote the number of Byteasar's friends and the number of pairs of his friends who know each other, respectively. The friends are numbered from 1 to n.
Each of the following m lines contains two integers separated by a single space. The numbers ai and bi (1≤ai<bi≤n) on line i+1 (for i=1,2,…,m) mean that persons ai and bi know each other. Every pair appears at most once in the input.
Many different groups may satisfy the requirement, so build the guest list with the following deterministic procedure to make the answer unique.
Start with an empty guest list. Consider the friends one by one, from friend 1 to friend n. When you consider friend v:
After all n friends have been considered, everyone remaining on the guest list knows everyone else, and at least 3n people remain. Print, on a single line in increasing order and separated by single spaces, the 3n lowest-numbered people on the final guest list.

In the example graph, friends 1,3,4,5 all know one another. Applying the procedure above from friend 1 onward leaves {3,4} on the final guest list, so the output is 3 4.