📅  最后修改于: 2022-03-11 14:47:03.207000             🧑  作者: Mango
# Enter your code here. Read input from STDIN. Print output to STDOUT
a,b,c,d = (int(input()) for _ in range(4))
print (pow(a,b)+pow(c,d))