public static String parse( int[] f, int n )
    {
        String s = "";
        String s2 = "";
        int a = 32;
        if( n < 5 )
        {
            a = (int)Math.pow( 2, n );
        }
        for( int i = 0; i < f.length; i++ )
        {
            s2 = Integer.toBinaryString( f[i] );
            while( s2.length() < a )
            {
                s2 = "0" + s2;
            }
            s += s2;
        }
        String s3 = "";
        for( int i = 0; i < s.length(); i++ )
        {
            s3 += s.charAt( s.length() - 1 - i );
        }
        BigInteger b = new BigInteger( s3, 2 );
        return ANFParser.parse( b, n );
    }