Fig, \$14\log_{256}(96)\approx\$ 11\$13\log_{256}(96)\approx\$ 10.524701 bytes
}S*tFmC@pLxS*-x9x9tFmC@pL }S*tFmC@pLx-x9 F Filter mC All natural numbers @p For primes. t Lx Take len(input) items from that. * Vectorizing multiply by -x9 Subtracting each item in the input from 9. S Sum } And increment. -1 character thanks to Seggan