set-gold-permutation bianry