import sys def MI(): return map(int, sys.stdin.buffer.readline().split()) def main(): n,m=MI() ee=[] for e in range(m): u,v=MI() if u>v:u,v=v,u ee.append((u,v)) vs=0 for u,v in sorted(ee,reverse=True): if vs>>u&1 or vs>>v&1:continue vs|=1<