class Debug {

    public static String toMemorableString(long num) {
        StringBuilder memorable = new StringBuilder();
        long hashNum = Math.abs(num);
        for (; ; ) {
            int chunk = (int) (hashNum & 0xf);
            memorable.append(CONSONANTS[chunk]);
            hashNum >>= 4;
            if (hashNum == 0) {
                break;
            }

            chunk = (int) (hashNum & 7);
            memorable.append(VOWELS[chunk]);
            hashNum >>= 3;
            if (hashNum == 0) {
                break;
            }
        }
        return memorable.toString();
    }

}