public String spamCheck(String judgeLog, int good, int bad) {
        int score = 0;
        for (char c : judgeLog.toCharArray()) {
            if (c == 'o') {
                score += good;
            } else {
                score -= bad;
                if (score < 0) {
                    return "SPAM";
                }
            }
        }
        return "NOT SPAM";

    }