inverse.choose function

inverse.choose