Let A={1,3,4,7,11}, B={1,1,2,5,7,9} and f:A→B be given by f ={(1,1),(3,2),(4,1),(7,5),(11,9)}. Then f is