using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Diagnostics; class TEST{ static void Main(){ Sol mySol =new Sol(); mySol.Solve(); } } class Sol{ public void Solve(){ if(N > 52){ Console.WriteLine("Impossible"); return; } HashSet one = new HashSet(); HashSet two = new HashSet(); for(int i=0;i(); found = false; route = new int[N]; dfs(0); if(!found){ Console.WriteLine("Impossible"); return; } Array.Sort(ord,ans); for(int i=0;i h; void dfs(int now){ if(found) return; if(sw.ElapsedMilliseconds >= 1800) return; if(now == N){ found = true; ans = new int[N]; for(int i=0;iint.Parse(e));} static long[] rla(char sep=' '){return Array.ConvertAll(Console.ReadLine().Split(sep),e=>long.Parse(e));} static double[] rda(char sep=' '){return Array.ConvertAll(Console.ReadLine().Split(sep),e=>double.Parse(e));} }