public static void main(String[] args) {
        int a = 0;
        int b = 0;


        int n1 = 0;
        int n2 = 0;
        int n3 = 0;
        int n4 = 0;

        Collection<Collection<Integer>> allints;

        Collection<Integer> int1;
        Collection<Integer> int2;
        Collection<Integer> int3;
        Collection<Integer> int4;
        Collection<Integer> int5;
        Collection<Integer> int6;
        Collection<Integer> int7;
        Collection<Integer> int8;


        int[] removenums = new int[4];

        ResolvSmash rs = new ResolvSmash();
        SmashOper so = new SmashOper();
        boolean correct;

        rs.result = so.findnumber(rs.firstround, so.castinttohashset(rs.GuessSmash));
        correct = rs.correct(rs.result);
        a = rs.result[4];

        allints=rs.AgrCollection(rs.int1,rs.int2,rs.int3,rs.int4,rs.int5,rs.int6,rs.int7,rs.int8);
        removenums =rs.ResetGuesnum(rs.firstround,rs.result);
        n1 = removenums[0];
        n2 = removenums[1];
        n3 = removenums[2];
        n4 = removenums[3];

        allints = rs.ResizeGuessLib1(allints,removenums);

        

        System.out.println(correct);

        if (!correct) {
            rs.result = so.findnumber(rs.secondround, so.castinttohashset(rs.GuessSmash));
            correct = rs.correct(rs.result);
            b = rs.result[4];
            System.out.println(correct);
        } else {
            System.out.println("CORRECT!Number is " + rs.firstround);
        }

        int nextround = rs.secondround;
        int trytimes = 10;
        while (!correct) {

            trytimes--;
            if (trytimes == 0) {
                break;
            }
        }

        if (correct) {
            System.out.println("CORRECT!Number is " + nextround);
        } else {
            System.out.println("GAME OVER!");
        }


    }