@@ -0,0 +1,456 @@
+import java.io.*;%0Aimport java.util.*;%0A%0Aclass TILES01%0A%7B%0A%09public static void main(String args%5B%5D) throws IOException%0A%09%7B%0A%09%09BufferedReader br = new BufferedReader(new InputStreamReader(System.in));%0A%09%09int N = Integer.parseInt(br.readLine());%0A%0A%09%09int p2 = 1, p1 = 2;%0A%0A%09%09for(int i = 3; i %3C= N; i++)%0A%09%09%7B%0A%09%09%09int p3 = p2 + p1;%0A%09%09%09p2 = p1 %25 15746;%0A%09%09%09p1 = p3 %25 15746;%0A%09%09%7D%0A%09%09%0A%09%09if(N == 1)%0A%09%09%7B%0A%09%09%09System.out.println(1);%0A%09%09%7D%0A%09%09else%0A%09%09%7B%0A%09%09%09System.out.println(p1);%0A%09%09%7D%0A%09%7D%0A%7D%0A

Create TILES01.java