import java.util.*;import java.io.*;import java.math.*;
public class Main
{
    public static void process()throws IOException
    {
        int n=ni();
        BigInteger prod=BigInteger.ONE;
        long[]A=nal(n);
        Arrays.sort(A);
        for(int i=0;i<n;i++)
        {
            String s=Long.toString(A[i]);
            prod=prod.multiply(new BigInteger(s));
            if(prod.compareTo(new BigInteger(Long.toString((long)1e18)))>0)
            {
                pn("-1");
                return;
            }
        }
        pn(prod);
    }

    static AnotherReader sc;
    static PrintWriter out;
    public static void main(String[]args)throws IOException
    {
        boolean oj =true;
        if(oj){sc=new AnotherReader();out=new PrintWriter(System.out);}
        else{sc=new AnotherReader(100);out=new PrintWriter("output.txt");}
        int t=1;
        // t=ni();
        while(t-->0) {process();}
        out.flush();out.close();  
    }

    static void pn(Object o){out.println(o);}
    static void p(Object o){out.print(o);}
    static void pni(Object o){out.println(o);out.flush();}
    static int ni()throws IOException{return sc.nextInt();}
    static long nl()throws IOException{return sc.nextLong();}
    static double nd()throws IOException{return sc.nextDouble();}
    static String nln()throws IOException{return sc.nextLine();}
    static int[] nai(int N)throws IOException{int[]A=new int[N];for(int i=0;i!=N;i++){A[i]=ni();}return A;}
    static long[] nal(int N)throws IOException{long[]A=new long[N];for(int i=0;i!=N;i++){A[i]=nl();}return A;}
    static long gcd(long a, long b)throws IOException{return (b==0)?a:gcd(b,a%b);}
    static int gcd(int a, int b)throws IOException{return (b==0)?a:gcd(b,a%b);}
    static int bit(long n)throws IOException{return (n==0)?0:(1+bit(n&(n-1)));}

/////////////////////////////////////////////////////////////////////////////////////////////////////////

    static class AnotherReader{BufferedReader br; StringTokenizer st;
    AnotherReader()throws FileNotFoundException{
    br=new BufferedReader(new InputStreamReader(System.in));}
    AnotherReader(int a)throws FileNotFoundException{
    br = new BufferedReader(new FileReader("input.txt"));}
    String next()throws IOException{
    while (st == null || !st.hasMoreElements()) {try{
    st = new StringTokenizer(br.readLine());}
    catch (IOException  e){ e.printStackTrace(); }}
    return st.nextToken(); } int nextInt() throws IOException{
    return Integer.parseInt(next());}
    long nextLong() throws IOException
    {return Long.parseLong(next());}
    double nextDouble()throws IOException { return Double.parseDouble(next()); }
    String nextLine() throws IOException{ String str = ""; try{
    str = br.readLine();} catch (IOException e){
    e.printStackTrace();} return str;}}
   
/////////////////////////////////////////////////////////////////////////////////////////////////////////////
} import java.util.*; util.* java import java.io.*; io.* java import java.math.*; math.* java public class Main
{
    public static void process()throws IOException
    {
        int n=ni();
        BigInteger prod=BigInteger.ONE;
        long[]A=nal(n);
        Arrays.sort(A);
        for(int i=0;i<n;i++)
        {
            String s=Long.toString(A[i]);
            prod=prod.multiply(new BigInteger(s));
            if(prod.compareTo(new BigInteger(Long.toString((long)1e18)))>0)
            {
                pn("-1");
                return;
            }
        }
        pn(prod);
    }

    static AnotherReader sc;
    static PrintWriter out;
    public static void main(String[]args)throws IOException
    {
        boolean oj =true;
        if(oj){sc=new AnotherReader();out=new PrintWriter(System.out);}
        else{sc=new AnotherReader(100);out=new PrintWriter("output.txt");}
        int t=1;
        // t=ni();
        while(t-->0) {process();}
        out.flush();out.close();  
    }

    static void pn(Object o){out.println(o);}
    static void p(Object o){out.print(o);}
    static void pni(Object o){out.println(o);out.flush();}
    static int ni()throws IOException{return sc.nextInt();}
    static long nl()throws IOException{return sc.nextLong();}
    static double nd()throws IOException{return sc.nextDouble();}
    static String nln()throws IOException{return sc.nextLine();}
    static int[] nai(int N)throws IOException{int[]A=new int[N];for(int i=0;i!=N;i++){A[i]=ni();}return A;}
    static long[] nal(int N)throws IOException{long[]A=new long[N];for(int i=0;i!=N;i++){A[i]=nl();}return A;}
    static long gcd(long a, long b)throws IOException{return (b==0)?a:gcd(b,a%b);}
    static int gcd(int a, int b)throws IOException{return (b==0)?a:gcd(b,a%b);}
    static int bit(long n)throws IOException{return (n==0)?0:(1+bit(n&(n-1)));}

/////////////////////////////////////////////////////////////////////////////////////////////////////////

    static class AnotherReader{BufferedReader br; StringTokenizer st;
    AnotherReader()throws FileNotFoundException{
    br=new BufferedReader(new InputStreamReader(System.in));}
    AnotherReader(int a)throws FileNotFoundException{
    br = new BufferedReader(new FileReader("input.txt"));}
    String next()throws IOException{
    while (st == null || !st.hasMoreElements()) {try{
    st = new StringTokenizer(br.readLine());}
    catch (IOException  e){ e.printStackTrace(); }}
    return st.nextToken(); } int nextInt() throws IOException{
    return Integer.parseInt(next());}
    long nextLong() throws IOException
    {return Long.parseLong(next());}
    double nextDouble()throws IOException { return Double.parseDouble(next()); }
    String nextLine() throws IOException{ String str = ""; try{
    str = br.readLine();} catch (IOException e){
    e.printStackTrace();} return str;}}
   
/////////////////////////////////////////////////////////////////////////////////////////////////////////////
} Main static AnotherReader sc; sc static PrintWriter out; out public static void process()throws IOException
    {
        int n=ni();
        BigInteger prod=BigInteger.ONE;
        long[]A=nal(n);
        Arrays.sort(A);
        for(int i=0;i<n;i++)
        {
            String s=Long.toString(A[i]);
            prod=prod.multiply(new BigInteger(s));
            if(prod.compareTo(new BigInteger(Long.toString((long)1e18)))>0)
            {
                pn("-1");
                return;
            }
        }
        pn(prod);
    } process {
        int n=ni();
        BigInteger prod=BigInteger.ONE;
        long[]A=nal(n);
        Arrays.sort(A);
        for(int i=0;i<n;i++)
        {
            String s=Long.toString(A[i]);
            prod=prod.multiply(new BigInteger(s));
            if(prod.compareTo(new BigInteger(Long.toString((long)1e18)))>0)
            {
                pn("-1");
                return;
            }
        }
        pn(prod);
    } int n=ni(); n ni() ni BigInteger prod=BigInteger.ONE; prod BigInteger.ONE BigInteger BigInteger.ONE long[]A=nal(n); A nal(n) nal n Arrays.sort(A) Arrays.sort Arrays A for(int i=0;i<n;i++)
        {
            String s=Long.toString(A[i]);
            prod=prod.multiply(new BigInteger(s));
            if(prod.compareTo(new BigInteger(Long.toString((long)1e18)))>0)
            {
                pn("-1");
                return;
            }
        } int i=0; int i=0; i 0 i<n i n i++ i++ i {
            String s=Long.toString(A[i]);
            prod=prod.multiply(new BigInteger(s));
            if(prod.compareTo(new BigInteger(Long.toString((long)1e18)))>0)
            {
                pn("-1");
                return;
            }
        } {
            String s=Long.toString(A[i]);
            prod=prod.multiply(new BigInteger(s));
            if(prod.compareTo(new BigInteger(Long.toString((long)1e18)))>0)
            {
                pn("-1");
                return;
            }
        } String s=Long.toString(A[i]); s Long.toString(A[i]) Long.toString Long A[i] A i prod=prod.multiply(new BigInteger(s)) prod prod.multiply(new BigInteger(s)) prod.multiply prod new BigInteger(s) if(prod.compareTo(new BigInteger(Long.toString((long)1e18)))>0)
            {
                pn("-1");
                return;
            } prod.compareTo(new BigInteger(Long.toString((long)1e18)))>0 prod.compareTo(new BigInteger(Long.toString((long)1e18))) prod.compareTo prod new BigInteger(Long.toString((long)1e18)) 0 {
                pn("-1");
                return;
            } pn("-1") pn "-1" return; pn(prod) pn prod public static void main(String[]args)throws IOException
    {
        boolean oj =true;
        if(oj){sc=new AnotherReader();out=new PrintWriter(System.out);}
        else{sc=new AnotherReader(100);out=new PrintWriter("output.txt");}
        int t=1;
        // t=ni();
        while(t-->0) {process();}
        out.flush();out.close();  
    } main {
        boolean oj =true;
        if(oj){sc=new AnotherReader();out=new PrintWriter(System.out);}
        else{sc=new AnotherReader(100);out=new PrintWriter("output.txt");}
        int t=1;
        // t=ni();
        while(t-->0) {process();}
        out.flush();out.close();  
    } boolean oj =true; oj true if(oj){sc=new AnotherReader();out=new PrintWriter(System.out);}
        else{sc=new AnotherReader(100);out=new PrintWriter("output.txt");} oj {sc=new AnotherReader();out=new PrintWriter(System.out);} sc=new AnotherReader() sc new AnotherReader() out=new PrintWriter(System.out) out new PrintWriter(System.out) {sc=new AnotherReader(100);out=new PrintWriter("output.txt");} sc=new AnotherReader(100) sc new AnotherReader(100) out=new PrintWriter("output.txt") out new PrintWriter("output.txt") int t=1; t 1 while(t-->0) {process();} t-->0 t-- t 0 {process();} process() process out.flush() out.flush out out.close() out.close out String[]args args static void pn(Object o){out.println(o);} pn {out.println(o);} out.println(o) out.println out o Object o o static void p(Object o){out.print(o);} p {out.print(o);} out.print(o) out.print out o Object o o static void pni(Object o){out.println(o);out.flush();} pni {out.println(o);out.flush();} out.println(o) out.println out o out.flush() out.flush out Object o o static int ni()throws IOException{return sc.nextInt();} ni {return sc.nextInt();} return sc.nextInt(); sc.nextInt() sc.nextInt sc static long nl()throws IOException{return sc.nextLong();} nl {return sc.nextLong();} return sc.nextLong(); sc.nextLong() sc.nextLong sc static double nd()throws IOException{return sc.nextDouble();} nd {return sc.nextDouble();} return sc.nextDouble(); sc.nextDouble() sc.nextDouble sc static String nln()throws IOException{return sc.nextLine();} nln {return sc.nextLine();} return sc.nextLine(); sc.nextLine() sc.nextLine sc static int[] nai(int N)throws IOException{int[]A=new int[N];for(int i=0;i!=N;i++){A[i]=ni();}return A;} nai {int[]A=new int[N];for(int i=0;i!=N;i++){A[i]=ni();}return A;} int[]A=new int[N]; A new int[N] N for(int i=0;i!=N;i++){A[i]=ni();} int i=0; int i=0; i 0 i!=N i N i++ i++ i {A[i]=ni();} {A[i]=ni();} A[i]=ni() A[i] A i ni() ni return A; A int N N static long[] nal(int N)throws IOException{long[]A=new long[N];for(int i=0;i!=N;i++){A[i]=nl();}return A;} nal {long[]A=new long[N];for(int i=0;i!=N;i++){A[i]=nl();}return A;} long[]A=new long[N]; A new long[N] N for(int i=0;i!=N;i++){A[i]=nl();} int i=0; int i=0; i 0 i!=N i N i++ i++ i {A[i]=nl();} {A[i]=nl();} A[i]=nl() A[i] A i nl() nl return A; A int N N static long gcd(long a, long b)throws IOException{return (b==0)?a:gcd(b,a%b);} gcd {return (b==0)?a:gcd(b,a%b);} return (b==0)?a:gcd(b,a%b); (b==0)?a:gcd(b,a%b) (b==0) b 0 a gcd(b,a%b) gcd b a%b a b long a a long b b static int gcd(int a, int b)throws IOException{return (b==0)?a:gcd(b,a%b);} gcd {return (b==0)?a:gcd(b,a%b);} return (b==0)?a:gcd(b,a%b); (b==0)?a:gcd(b,a%b) (b==0) b 0 a gcd(b,a%b) gcd b a%b a b int a a int b b static int bit(long n)throws IOException{return (n==0)?0:(1+bit(n&(n-1)));} bit {return (n==0)?0:(1+bit(n&(n-1)));} return (n==0)?0:(1+bit(n&(n-1))); (n==0)?0:(1+bit(n&(n-1))) (n==0) n 0 0 (1+bit(n&(n-1))) 1 bit(n&(n-1)) bit n&(n-1) n (n-1) n 1 long n n static class AnotherReader{BufferedReader br; StringTokenizer st;
    AnotherReader()throws FileNotFoundException{
    br=new BufferedReader(new InputStreamReader(System.in));}
    AnotherReader(int a)throws FileNotFoundException{
    br = new BufferedReader(new FileReader("input.txt"));}
    String next()throws IOException{
    while (st == null || !st.hasMoreElements()) {try{
    st = new StringTokenizer(br.readLine());}
    catch (IOException  e){ e.printStackTrace(); }}
    return st.nextToken(); } int nextInt() throws IOException{
    return Integer.parseInt(next());}
    long nextLong() throws IOException
    {return Long.parseLong(next());}
    double nextDouble()throws IOException { return Double.parseDouble(next()); }
    String nextLine() throws IOException{ String str = ""; try{
    str = br.readLine();} catch (IOException e){
    e.printStackTrace();} return str;}} AnotherReader BufferedReader br; br StringTokenizer st; st AnotherReader()throws FileNotFoundException{
    br=new BufferedReader(new InputStreamReader(System.in));} AnotherReader {
    br=new BufferedReader(new InputStreamReader(System.in));} br=new BufferedReader(new InputStreamReader(System.in)) br new BufferedReader(new InputStreamReader(System.in)) AnotherReader(int a)throws FileNotFoundException{
    br = new BufferedReader(new FileReader("input.txt"));} AnotherReader {
    br = new BufferedReader(new FileReader("input.txt"));} br = new BufferedReader(new FileReader("input.txt")) br new BufferedReader(new FileReader("input.txt")) int a a String next()throws IOException{
    while (st == null || !st.hasMoreElements()) {try{
    st = new StringTokenizer(br.readLine());}
    catch (IOException  e){ e.printStackTrace(); }}
    return st.nextToken(); } next {
    while (st == null || !st.hasMoreElements()) {try{
    st = new StringTokenizer(br.readLine());}
    catch (IOException  e){ e.printStackTrace(); }}
    return st.nextToken(); } while (st == null || !st.hasMoreElements()) {try{
    st = new StringTokenizer(br.readLine());}
    catch (IOException  e){ e.printStackTrace(); }} st == null || !st.hasMoreElements() st == null st null !st.hasMoreElements() st.hasMoreElements() st.hasMoreElements st {try{
    st = new StringTokenizer(br.readLine());}
    catch (IOException  e){ e.printStackTrace(); }} try{
    st = new StringTokenizer(br.readLine());}
    catch (IOException  e){ e.printStackTrace(); } catch (IOException  e){ e.printStackTrace(); } IOException  e { e.printStackTrace(); } e.printStackTrace() e.printStackTrace e {
    st = new StringTokenizer(br.readLine());} st = new StringTokenizer(br.readLine()) st new StringTokenizer(br.readLine()) return st.nextToken(); st.nextToken() st.nextToken st int nextInt() throws IOException{
    return Integer.parseInt(next());} nextInt {
    return Integer.parseInt(next());} return Integer.parseInt(next()); Integer.parseInt(next()) Integer.parseInt Integer next() next long nextLong() throws IOException
    {return Long.parseLong(next());} nextLong {return Long.parseLong(next());} return Long.parseLong(next()); Long.parseLong(next()) Long.parseLong Long next() next double nextDouble()throws IOException { return Double.parseDouble(next()); } nextDouble { return Double.parseDouble(next()); } return Double.parseDouble(next()); Double.parseDouble(next()) Double.parseDouble Double next() next String nextLine() throws IOException{ String str = ""; try{
    str = br.readLine();} catch (IOException e){
    e.printStackTrace();} return str;} nextLine { String str = ""; try{
    str = br.readLine();} catch (IOException e){
    e.printStackTrace();} return str;} String str = ""; str "" try{
    str = br.readLine();} catch (IOException e){
    e.printStackTrace();} catch (IOException e){
    e.printStackTrace();} IOException e {
    e.printStackTrace();} e.printStackTrace() e.printStackTrace e {
    str = br.readLine();} str = br.readLine() str br.readLine() br.readLine br return str; str public class Main
{
    public static void process()throws IOException
    {
        int n=ni();
        BigInteger prod=BigInteger.ONE;
        long[]A=nal(n);
        Arrays.sort(A);
        for(int i=0;i<n;i++)
        {
            String s=Long.toString(A[i]);
            prod=prod.multiply(new BigInteger(s));
            if(prod.compareTo(new BigInteger(Long.toString((long)1e18)))>0)
            {
                pn("-1");
                return;
            }
        }
        pn(prod);
    }

    static AnotherReader sc;
    static PrintWriter out;
    public static void main(String[]args)throws IOException
    {
        boolean oj =true;
        if(oj){sc=new AnotherReader();out=new PrintWriter(System.out);}
        else{sc=new AnotherReader(100);out=new PrintWriter("output.txt");}
        int t=1;
        // t=ni();
        while(t-->0) {process();}
        out.flush();out.close();  
    }

    static void pn(Object o){out.println(o);}
    static void p(Object o){out.print(o);}
    static void pni(Object o){out.println(o);out.flush();}
    static int ni()throws IOException{return sc.nextInt();}
    static long nl()throws IOException{return sc.nextLong();}
    static double nd()throws IOException{return sc.nextDouble();}
    static String nln()throws IOException{return sc.nextLine();}
    static int[] nai(int N)throws IOException{int[]A=new int[N];for(int i=0;i!=N;i++){A[i]=ni();}return A;}
    static long[] nal(int N)throws IOException{long[]A=new long[N];for(int i=0;i!=N;i++){A[i]=nl();}return A;}
    static long gcd(long a, long b)throws IOException{return (b==0)?a:gcd(b,a%b);}
    static int gcd(int a, int b)throws IOException{return (b==0)?a:gcd(b,a%b);}
    static int bit(long n)throws IOException{return (n==0)?0:(1+bit(n&(n-1)));}

/////////////////////////////////////////////////////////////////////////////////////////////////////////

    static class AnotherReader{BufferedReader br; StringTokenizer st;
    AnotherReader()throws FileNotFoundException{
    br=new BufferedReader(new InputStreamReader(System.in));}
    AnotherReader(int a)throws FileNotFoundException{
    br = new BufferedReader(new FileReader("input.txt"));}
    String next()throws IOException{
    while (st == null || !st.hasMoreElements()) {try{
    st = new StringTokenizer(br.readLine());}
    catch (IOException  e){ e.printStackTrace(); }}
    return st.nextToken(); } int nextInt() throws IOException{
    return Integer.parseInt(next());}
    long nextLong() throws IOException
    {return Long.parseLong(next());}
    double nextDouble()throws IOException { return Double.parseDouble(next()); }
    String nextLine() throws IOException{ String str = ""; try{
    str = br.readLine();} catch (IOException e){
    e.printStackTrace();} return str;}}
   
/////////////////////////////////////////////////////////////////////////////////////////////////////////////
} public class Main
{
    public static void process()throws IOException
    {
        int n=ni();
        BigInteger prod=BigInteger.ONE;
        long[]A=nal(n);
        Arrays.sort(A);
        for(int i=0;i<n;i++)
        {
            String s=Long.toString(A[i]);
            prod=prod.multiply(new BigInteger(s));
            if(prod.compareTo(new BigInteger(Long.toString((long)1e18)))>0)
            {
                pn("-1");
                return;
            }
        }
        pn(prod);
    }

    static AnotherReader sc;
    static PrintWriter out;
    public static void main(String[]args)throws IOException
    {
        boolean oj =true;
        if(oj){sc=new AnotherReader();out=new PrintWriter(System.out);}
        else{sc=new AnotherReader(100);out=new PrintWriter("output.txt");}
        int t=1;
        // t=ni();
        while(t-->0) {process();}
        out.flush();out.close();  
    }

    static void pn(Object o){out.println(o);}
    static void p(Object o){out.print(o);}
    static void pni(Object o){out.println(o);out.flush();}
    static int ni()throws IOException{return sc.nextInt();}
    static long nl()throws IOException{return sc.nextLong();}
    static double nd()throws IOException{return sc.nextDouble();}
    static String nln()throws IOException{return sc.nextLine();}
    static int[] nai(int N)throws IOException{int[]A=new int[N];for(int i=0;i!=N;i++){A[i]=ni();}return A;}
    static long[] nal(int N)throws IOException{long[]A=new long[N];for(int i=0;i!=N;i++){A[i]=nl();}return A;}
    static long gcd(long a, long b)throws IOException{return (b==0)?a:gcd(b,a%b);}
    static int gcd(int a, int b)throws IOException{return (b==0)?a:gcd(b,a%b);}
    static int bit(long n)throws IOException{return (n==0)?0:(1+bit(n&(n-1)));}

/////////////////////////////////////////////////////////////////////////////////////////////////////////

    static class AnotherReader{BufferedReader br; StringTokenizer st;
    AnotherReader()throws FileNotFoundException{
    br=new BufferedReader(new InputStreamReader(System.in));}
    AnotherReader(int a)throws FileNotFoundException{
    br = new BufferedReader(new FileReader("input.txt"));}
    String next()throws IOException{
    while (st == null || !st.hasMoreElements()) {try{
    st = new StringTokenizer(br.readLine());}
    catch (IOException  e){ e.printStackTrace(); }}
    return st.nextToken(); } int nextInt() throws IOException{
    return Integer.parseInt(next());}
    long nextLong() throws IOException
    {return Long.parseLong(next());}
    double nextDouble()throws IOException { return Double.parseDouble(next()); }
    String nextLine() throws IOException{ String str = ""; try{
    str = br.readLine();} catch (IOException e){
    e.printStackTrace();} return str;}}
   
/////////////////////////////////////////////////////////////////////////////////////////////////////////////
} Main
import java.util.*;import java.io.*;import java.math.*;
public class Main
{
    public static void process()throws IOException
    {
        int n=ni();
        BigInteger prod=BigInteger.ONE;
        long[]A=nal(n);
        Arrays.sort(A);
        for(int i=0;i<n;i++)
        {
            String s=Long.toString(A[i]);
            prod=prod.multiply(new BigInteger(s));
            if(prod.compareTo(new BigInteger(Long.toString((long)1e18)))>0)
            {
                pn("-1");
                return;
            }
        }
        pn(prod);
    }

    static AnotherReader sc;
    static PrintWriter out;
    public static void main(String[]args)throws IOException
    {
        boolean oj =true;
        if(oj){sc=new AnotherReader();out=new PrintWriter(System.out);}
        else{sc=new AnotherReader(100);out=new PrintWriter("output.txt");}
        int t=1;
        // t=ni();
        while(t-->0) {process();}
        out.flush();out.close();  
    }

    static void pn(Object o){out.println(o);}
    static void p(Object o){out.print(o);}
    static void pni(Object o){out.println(o);out.flush();}
    static int ni()throws IOException{return sc.nextInt();}
    static long nl()throws IOException{return sc.nextLong();}
    static double nd()throws IOException{return sc.nextDouble();}
    static String nln()throws IOException{return sc.nextLine();}
    static int[] nai(int N)throws IOException{int[]A=new int[N];for(int i=0;i!=N;i++){A[i]=ni();}return A;}
    static long[] nal(int N)throws IOException{long[]A=new long[N];for(int i=0;i!=N;i++){A[i]=nl();}return A;}
    static long gcd(long a, long b)throws IOException{return (b==0)?a:gcd(b,a%b);}
    static int gcd(int a, int b)throws IOException{return (b==0)?a:gcd(b,a%b);}
    static int bit(long n)throws IOException{return (n==0)?0:(1+bit(n&(n-1)));}

/////////////////////////////////////////////////////////////////////////////////////////////////////////

    static class AnotherReader{BufferedReader br; StringTokenizer st;
    AnotherReader()throws FileNotFoundException{
    br=new BufferedReader(new InputStreamReader(System.in));}
    AnotherReader(int a)throws FileNotFoundException{
    br = new BufferedReader(new FileReader("input.txt"));}
    String next()throws IOException{
    while (st == null || !st.hasMoreElements()) {try{
    st = new StringTokenizer(br.readLine());}
    catch (IOException  e){ e.printStackTrace(); }}
    return st.nextToken(); } int nextInt() throws IOException{
    return Integer.parseInt(next());}
    long nextLong() throws IOException
    {return Long.parseLong(next());}
    double nextDouble()throws IOException { return Double.parseDouble(next()); }
    String nextLine() throws IOException{ String str = ""; try{
    str = br.readLine();} catch (IOException e){
    e.printStackTrace();} return str;}}
   
/////////////////////////////////////////////////////////////////////////////////////////////////////////////
}
