For this Question: Given two integers a and b. Find out which datatype is more suitable - "integer" or "double" - for storing the result of division of a and b i.e. b/a. 

Integer datatype is preferred if the result can be stored without any error.Only line contains two integers a and b.

<b>Constraints</b>
1 &le; a, b &le; 10<sup>18</sup>Print a single string either "integer" or "double" denoting which data type is suitable.Input:
2 18

Output:
integer

Input:
3 8

Output:
double

Explanation:
18/2 = 9  which can be stored in integer data type .
8/3 = 2.6666 can not be store in integer datatype , we must use double datatype., I have written this Solution Code: import java.io.*;
import java.util.*;



public class Main {
     
   
    public static void main(String[] args) {
        
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        InputReader in = new InputReader(inputStream);
        OutputWriter out = new OutputWriter(outputStream);
        
        Long a=Long.parseLong(in.next());
        Long b=Long.parseLong(in.next());
        
        if(b%a == 0){
            out.print("integer");
        }
        else {
            out.print("double");
        }
        out.close();
        
    }

    
    static class InputReader {
        BufferedReader reader;
        StringTokenizer tokenizer;
        public InputReader(InputStream stream) {
            reader = new BufferedReader(new InputStreamReader(stream), 32768);
            tokenizer = null;
        }

        public String next() {
            while (tokenizer == null || !tokenizer.hasMoreTokens()) {
                try {
                    tokenizer = new StringTokenizer(reader.readLine());
                } catch (IOException e) {
                    throw new RuntimeException(e);
                }
            }
            return tokenizer.nextToken();
        }

        public int nextInt() {
            return Integer.parseInt(next());
        }

    }

    static class OutputWriter {
        private final PrintWriter writer;

        public OutputWriter(OutputStream outputStream) {
            writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));
        }

        public OutputWriter(Writer writer) {
            this.writer = new PrintWriter(writer);
        }

        public void print(Object... objects) {
            for (int i = 0; i < objects.length; i++) {
                if (i != 0) {
                    writer.print(' ');
                }
                writer.print(objects[i]);
            }
        }

        public void println(Object... objects) {
            print(objects);
            writer.println();
        }

        public void close() {
            writer.close();
        }

        public void println(int i) {
            writer.println(i);
        }

    }
}
, In this Programming Language: Java, Now tell me if this Code is compilable or not?