if i am asked the number of functions between {1,2,3}-> {1,2,3} then as the cardinality is the same all injective functions will be bijective and so also surjective and there are 6 of these, however i am given a formula that states the number of functions between two sets is X -> Y is |X|^|Y| which gives me 27 what have i done wrong here?