import java.math.BigInteger; import java.util.*; public class Main { static int[] dp; static int[][] in; static int dfs(int i,int n){ if(i==n) return 1; if(dp[i]!=0) return dp[i]; int res=0; for(int j=1;j<101;j++){ if(in[i][j]!=0){ res+=in[i][j]*dfs(j,n); } } return dp[i]=res; } public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n=sc.nextInt(); int m=sc.nextInt(); dp=new int[101]; int[] ans =new int[101]; in = new int[101][101]; for(int i=0;i