import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.Arrays; import java.util.StringTokenizer; public class EE { static int arr[] , fac[] , n , memo[][] , mod = 1000000007; static int solve(int idx , int cnt) { //System.out.println(idx + " --- " + cnt); if(idx == n || (cnt == 0 && idx= n || arr[idx+i]>=1) if ((y & 1) == 1) r = r * x % mod; return r; } static class Scanner{ StringTokenizer st;BufferedReader br; public Scanner(InputStream s){ br = new BufferedReader(new InputStreamReader(s));} public String next() throws IOException {while (st == null || !st.hasMoreTokens()) st = new StringTokenizer(br.readLine());return st.nextToken();} public int nextInt() throws IOException {return Integer.parseInt(next());} public long nextLong() throws IOException {return Long.parseLong(next());} public String nextLine() throws IOException {return br.readLine();} public double nextDouble() throws IOException {return Double.parseDouble(next());} public boolean ready() throws IOException {return br.ready();} } }