If a and b are two natural numbers such that (a)^b =36 , then find the value of (b)^a-2.

Let a=6 and b=2.

a^b=36 ------> 6^2=36

b^a-2 ---> 2^6-2 = 2^4=16