a function with domain B and range A given that original function has domain A and range B ​