A function that acts on the sets and and that associates A with 1 , B with 2 , and C with 3 is an example of a non-elementary function . An example of a function with domain and codomain associates A with 1 , B with 2 , and C with 3 .