import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.List; import java.util.NoSuchElementException; import java.util.Set; import java.util.TreeSet; public class Main { public static void main(String args[]) { FastScanner scanner = new FastScanner(); n=scanner.nextInt(); m=scanner.nextInt(); k=scanner.nextInt(); d=new int[k]; graph=new ArrayList[n][n]; ansSet=new TreeSet<>(); for(int i=0;i(); } } for(int i=0;i[][] graph; static Set ansSet; private static void dfs(int i, int j) { if(j==k) { ansSet.add(i+1); return; } for(int x=0;x Integer.MAX_VALUE) throw new NumberFormatException(); return (int) nl; } public double nextDouble() { return Double.parseDouble(next());} }