import java.io.*; import java.util.*; class Main { public static void main(String args[])throws Exception { BufferedReader bu=new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb=new StringBuilder(); String s[]=bu.readLine().split(" "); int n=Integer.parseInt(s[0]),m=Integer.parseInt(s[1]); long t=Long.parseLong(s[2]); int i; long a[][]=new long[n][n]; for(i=0;i>=1; multiply(a,a); } return res; } }