double getProfit(double predict, double result, double eps1, double eps2) {
        if (Math.abs(predict - total) >= eps1) {
            predict = -1;
        } else if (Math.abs(predict - total) <= eps2) {
            predict = 1;
        } else {
            return 0;
        }
        if (result == total) {
            return 0;
        }
        if (result > total && predict > 0) {
            return over - 1;
        } else if (predict < 0 && result < total) {
            return  under - 1 ;
        }
        return -1;

    }