Two of the ribbons require your deck to be composed entirely of primes. In this case, you can't use 77 but can use 79.