public static void printHandValue(int v) {
        int masked = 0;
        int v0 = (0xF00000 & v) >> 20;
        int v1 = (0xF0000 & v) >> 16;
        int kicker = 0;

        masked = 0xF000000 & v;
        if(masked == vmHC) {
            v0 = 30-Integer.numberOfLeadingZeros(v&0xFFFF);
            System.out.println(v0+" high");
        } else if(masked == vm1P) {
            System.out.println("Pair of "+v0);
        } else if(masked == vm2P) {
            System.out.println("Two Pairs "+v0+" and "+v1);
        } else if(masked == vm3K) {
            System.out.println("Three of a kind "+v0);
        } else if(masked == vmS) {
            System.out.println("Straight "+v0+" high");
        }  else if(masked == vmF) {
            v0 = 30-Integer.numberOfLeadingZeros(v&0xFFFF);
            System.out.println("Flush "+v0+" high");
        }  else if(masked == vmFH) {
            System.out.println("Full House with "+v0+" full of "+v1);
        }  else if(masked == vm4K) {
            System.out.println("4 of a kind "+v0+" with "+v1);
        }  else if(masked == vmSF) {
            System.out.println("SF! "+v0);
        }

    }