For this Question: Given four integers a, b, c, and d. Find the value of a<sup>(b<sup>(c<sup>d</sup>)</sup>)</sup> modulo 1000000007.

(Fact: 0<sup>0</sup> = 1)The first and the only line of input contains 4 integers a, b, c, and d.

Constraints
1 <= a, b, c, d <= 12Output a single integer, the answer modulo 1000000007.Sample Input
2 2 2 2

Sample Output
65536

Explanation
2^(2^(2^2)) = 2^(2^4) = 2^16 = 65536.

Sample Input
0 7 11 1 

Sample Output
0, I have written this Solution Code: nan, In this Programming Language: Python, Now tell me if this Code is compilable or not?