I am preparing for my test which is on Friday. There is this problem which is killing me and I don't have any idea how to solve it! It is in conditional probabilities chapter. The question is

X ~ Poi (a)

Y ~ Poi (b)

Z = X^Y

What is the Expected value of Z.

I will be so thankful if anyone could help me.