This problem is interactive.
We have hidden from you an undirected graph G on n vertices. It is guaranteed to be connected and to not contain multiple edges or self-loops.
You can ask up to 60 queries of the following form:
Your goal is to determine whether there exists an Eulerian cycle in this graph. An Eulerian cycle is a path in the graph that goes through every edge exactly once, and it starts and ends in the same vertex.
Note that graph G is fixed before the start of interaction. In other words, the interactor is not adaptive.
The first line contains a single integer n (3≤n≤104), the number of vertices in G. It is guaranteed that G has no more than 105 edges, is connected, and does not contain multiple edges or self-loops.
The hidden graph in the example is the graph with 3 vertices and edges (2,1) and (2,3).