private static boolean trailingZeroesCheck(int a, int b) {
        //cast both to string and convert to char array
        char[] charsA = ("" + a).toCharArray();
        char[] charsB = ("" + b).toCharArray();

        if (charsA[1] == 0 && charsB[1] == 0) return false;
        else return true;
    }