MianKing has a Graph Constructer : The input of it is a sequence a1...n(0≤ai
MianKing has a Graph Constructer : The input of it is a sequence a1...n (0≤ai<260)a_{1...n}~(0leq a_i<2^{60})a1...n (0≤ai<260) and the output of it is an undirected graph with nnn nodes, edge (x,y)(x,y)(x,y) is in this graph if and only if (ax or ay)=260−1(a_x~or~a_y)=2^{60}-1(ax or ay)=260−1 For example, if the input is a1...3={260−1,260−2,1}a_{1...3}={2^{60}-1,2^{60}-2,1}a1...3={260−1,260−2,1}, the output is the graph {(1,1),(1,2),(1,3),(2,3)}{(1,1),(1,2),(1,3),(2,3)}{(1,1),(1,2),(1,3),(2,3)} Now GreenKing has a tree with nnn nodes, MianKing wants to find a sequence as input to get this tree. You need to help him find a sequence satisfy the condition.