in that case ,i like the second one but
c11=RANDBETWEEN(27,29)
d11 =SMALL(INDEX(({27;28;29}<>C11)*({27;28;29}),0,0),RANDBETWEEN(2,3))
=84-SUM(C11:D11)
would be shorter