import java.util.*; public class LightSwitchingPuzzle { public static void main(String[] args) { Scanner sc=new Scanner(System.in); TreeSetasi=new TreeSet<>(); int n=sc.nextInt(); for(int i=0;i